Searched refs:depot (Results 1 - 15 of 15) sorted by relevance

/haiku/src/system/kernel/slab/
H A DObjectDepot.cpp103 alloc_magazine(object_depot* depot, uint32 flags) argument
106 sizeof(DepotMagazine) + depot->magazine_capacity * sizeof(void*),
111 magazine->round_count = depot->magazine_capacity;
126 empty_magazine(object_depot* depot, DepotMagazine* magazine, uint32 flags) argument
129 depot->return_object(depot, depot->cookie, magazine->rounds[i], flags);
135 exchange_with_full(object_depot* depot, DepotMagazine*& magazine) argument
139 SpinLocker _(depot->inner_lock);
141 if (depot
154 exchange_with_empty(object_depot* depot, DepotMagazine*& magazine, DepotMagazine*& freeMagazine) argument
181 push_empty_magazine(object_depot* depot, DepotMagazine* magazine) argument
191 object_depot_cpu(object_depot* depot) argument
201 object_depot_init(object_depot* depot, size_t capacity, size_t maxCount, uint32 flags, void* cookie, void (*return_object)(object_depot* depot, void* cookie, void* object, uint32 flags)) argument
235 object_depot_destroy(object_depot* depot, uint32 flags) argument
246 object_depot_obtain(object_depot* depot) argument
278 object_depot_store(object_depot* depot, void* object, uint32 flags) argument
333 object_depot_make_empty(object_depot* depot, uint32 flags) argument
382 object_depot_contains_object(object_depot* depot, void* object) argument
417 dump_object_depot(object_depot* depot) argument
[all...]
H A Dslab_debug.h72 void dump_object_depot(object_depot* depot);
H A DObjectCache.cpp25 object_cache_return_object_wrapper(object_depot* depot, void* cookie, argument
89 // no gain in using the depot in single cpu setups
102 status_t status = object_depot_init(&depot, magazineCapacity,
H A DObjectCache.h83 object_depot depot; member in struct:ObjectCache
H A DSlab.cpp328 kprintf("depot:\n");
329 dump_object_depot(&cache->depot);
857 object_depot_destroy(&cache->depot, 0);
1004 object_depot_make_empty(&cache->depot, 0);
1222 void* object = object_depot_obtain(&cache->depot);
1295 if (object_depot_contains_object(&cache->depot, object)) {
1312 object_depot_store(&cache->depot, object, flags);
1362 "dump contents of an object depot");
1364 "dump contents of a depot magazine");
/haiku/headers/private/kernel/slab/
H A DObjectDepot.h28 void (*return_object)(struct object_depot* depot, void* cookie,
37 status_t object_depot_init(object_depot* depot, size_t capacity,
39 void (*returnObject)(object_depot* depot, void* cookie, void* object,
41 void object_depot_destroy(object_depot* depot, uint32 flags);
43 void* object_depot_obtain(object_depot* depot);
44 void object_depot_store(object_depot* depot, void* object, uint32 flags);
46 void object_depot_make_empty(object_depot* depot, uint32 flags);
49 bool object_depot_contains_object(object_depot* depot, void* object);
/haiku/src/apps/haikudepot/model/
H A DPackageAction.cpp48 const DepotInfo& depot = depots.ItemAtFast(i); local
49 const PackageList& packages = depot.Packages();
H A DModel.h46 virtual DepotInfo MapDepot(const DepotInfo& depot,
81 bool AddDepot(const DepotInfo& depot);
86 bool SyncDepot(const DepotInfo& depot);
101 void SetDepot(const BString& depot);
H A DModel.cpp65 DepotFilter(const DepotInfo& depot) argument
67 fDepot(depot)
371 // If configured, restrict depot, filter by search terms, status, name ...
375 const DepotInfo& depot = fDepots.ItemAtFast(i); local
377 if (fDepotFilter.Length() > 0 && fDepotFilter != depot.Name())
380 const PackageList& packages = depot.Packages();
407 Model::AddDepot(const DepotInfo& depot) argument
409 return fDepots.Add(depot);
432 Model::SyncDepot(const DepotInfo& depot) argument
436 if (existingDepot.Name() == depot
518 SetDepot(const BString& depot) argument
632 const DepotInfo* depot = DepotForName(package->DepotName()); local
1069 const DepotInfo& depot = fDepots.ItemAt(i); local
[all...]
/haiku/src/apps/haikudepot/server/
H A DServerIconExportUpdateProcess.h36 status_t PopulateForDepot(const DepotInfo& depot);
H A DServerRepositoryDataUpdateProcess.cpp33 includes finding the matching depot record and coupling the data
34 from the server with the data about the depot.
44 virtual DepotInfo MapDepot(const DepotInfo& depot, void *context);
87 DepotMatchingRepositoryListener::MapDepot(const DepotInfo& depot, void *context) argument
96 DepotInfo modifiedDepotInfo(depot);
102 printf("[DepotMatchingRepositoryListener] associated depot [%s] (%s) "
109 printf("[DepotMatchingRepositoryListener] associated depot [%s] with "
H A DServerIconExportUpdateProcess.cpp144 ServerIconExportUpdateProcess::PopulateForDepot(const DepotInfo& depot) argument
146 printf("[%s] will populate icons for depot [%s]\n",
147 Name(), depot.Name().String());
149 PackageList packages = depot.Packages();
H A DServerPkgDataUpdateProcess.cpp218 printf("[PackageFillingPkgListener] unable to find the depot [%s]\n",
348 const DepotInfo* depot = fModel->DepotForName(fDepotName); local
350 if (depot == NULL) {
354 return depot->WebAppRepositorySourceCode();
363 printf("[%s] am not updating data for depot [%s] as there is no"
/haiku/src/apps/haikudepot/ui/
H A DRatePackageWindow.cpp562 const DepotInfo* depot = fModel.DepotForName(package->DepotName()); local
565 if (depot != NULL)
566 repositoryCode = depot->WebAppRepositoryCode();
569 printf("unable to obtain the repository code for depot; %s\n",
651 const DepotInfo* depot = fModel.DepotForName(fPackage->DepotName()); local
653 if (depot != NULL)
654 repositoryCode = depot->WebAppRepositoryCode();
662 "depot %s\n",
H A DMainWindow.cpp1249 const DepotInfo& depot = depots.ItemAtFast(i); local
1251 if (depot.Name().Length() != 0) {
1253 message->AddString("name", depot.Name());
1254 BMenuItem* item = new BMenuItem(depot.Name(), message);
1257 if (depot.Name() == fModel.Depot()) {
1277 printf("the package [%s] has no depot name\n",
1281 const DepotInfo* depot = fModel.DepotForName(depotName); local
1283 if (depot == NULL) {
1284 printf("the depot [%s] was not able to be found\n",
1287 BString repositoryCode = depot
[all...]

Completed in 139 milliseconds