Searched refs:pool (Results 1 - 25 of 35) sorted by last modified time

12

/haiku/src/system/kernel/events/
H A Dwait_for_objects.cpp769 find_select_sync_pool_entry(select_sync_pool *pool, selectsync *sync) argument
771 for (SelectSyncPoolEntryList::Iterator it = pool->entries.GetIterator();
783 add_select_sync_pool_entry(select_sync_pool *pool, selectsync *sync, argument
787 select_sync_pool_entry *entry = find_select_sync_pool_entry(pool, sync);
796 pool->entries.Add(entry);
809 // create the pool, if necessary
810 select_sync_pool *pool = *_pool; local
811 if (!pool) {
812 pool = new (std::nothrow) select_sync_pool;
813 if (!pool)
836 select_sync_pool *pool = *_pool; local
871 delete_select_sync_pool(select_sync_pool *pool) argument
886 notify_select_event_pool(select_sync_pool *pool, uint8 event) argument
[all...]
/haiku/src/system/kernel/fs/
H A Dfifo.cpp699 select_sync_pool** pool; local
703 pool = &fReadSelectSyncPool;
706 pool = &fWriteSelectSyncPool;
710 if (add_select_sync_pool_entry(pool, sync, event) != B_OK)
733 select_sync_pool** pool; local
736 pool = &fReadSelectSyncPool;
738 pool = &fWriteSelectSyncPool;
742 remove_select_sync_pool_entry(pool, sync, event);
/haiku/src/system/kernel/arch/arm/paging/
H A Darm_physical_page_mapper_large_memory.cpp20 slots remain in the global pool and are given out by get_physical_page().
186 pool->Map(physicalAddress, address);
350 // put our slots back to the global pool
361 // get our slots from the global pool
530 // get a slot from the per-cpu user pool
547 // return the slot to the per-cpu user pool
711 PhysicalPageSlotPool* pool = fNonEmptyPools.Head(); local
712 if (pool == NULL) {
716 // allocate new pool
718 status_t error = fInitialPool->AllocatePool(pool);
743 PhysicalPageSlotPool* pool = slot->pool; local
[all...]
H A Darm_physical_page_mapper_large_memory.h36 PhysicalPageSlotPool* pool; member in struct:ARMLargePhysicalPageMapper::PhysicalPageSlot
/haiku/src/system/kernel/arch/arm/paging/32bit/
H A DARMPagingMethod32Bit.cpp96 "physical page pool space in virtual address space!");
113 // init the pool structure and add the initial pool
127 area_id area = create_area("physical page pool", &temp,
132 "create area for physical page pool.");
140 "physical page pool space", &temp, B_EXACT_ADDRESS,
144 "create area for physical page pool space.");
168 slot->pool = this;
196 // create the pool structure
197 PhysicalPageSlotPool* pool local
291 PhysicalPageSlotPool* pool = PhysicalPageSlotPool::sInitialPhysicalPagePool; local
[all...]
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dvnidpool.c21 status_t vnidpool_alloc(struct vnidpool **pool, size_t size) argument
26 if (!pool)
38 fprintf(stderr, "vnidpool_alloc: pool @ %p, bitmap @ %p, size %ld\n", p, p->bitmap, p->bmsize);
39 *pool = p;
43 status_t vnidpool_free(struct vnidpool *pool) { argument
45 fprintf(stderr, "vnidpool_free: pool @ %p\n", pool);
46 if (!pool)
48 if (LOCK(&pool->lock) < B_OK)
51 for (i = 0; i < (pool
61 vnidpool_get(struct vnidpool *pool, ino_t *vnid) argument
85 vnidpool_put(struct vnidpool *pool, ino_t vnid) argument
[all...]
H A Dvnidpool.h17 status_t vnidpool_alloc(struct vnidpool **pool, size_t size);
18 status_t vnidpool_free(struct vnidpool *pool);
19 status_t vnidpool_get(struct vnidpool *pool, ino_t *vnid);
20 status_t vnidpool_put(struct vnidpool *pool, ino_t vnid);
/haiku/src/add-ons/kernel/generic/locked_pool/
H A Dlocked_pool.c49 // info about pool
67 int enlarge_by; // number of blocks to enlarge pool by
96 #define NEXT_PTR(pool, a) ((void **)(((char *)a) + pool->next_ofs))
99 /*! Enlarge memory pool by <num_block> blocks */
101 enlarge_pool(locked_pool *pool, int numBlocks) argument
115 chunkSize = numBlocks * pool->block_size + pool->header_size;
118 status = area = create_area(pool->name,
120 pool
202 locked_pool *pool; local
245 free_chunks(locked_pool *pool) argument
325 pool_alloc(locked_pool *pool) argument
383 pool_free(locked_pool *pool, void *block) argument
424 locked_pool *pool; local
499 destroy_pool(locked_pool *pool) argument
[all...]
/haiku/src/system/kernel/arch/x86/paging/
H A Dx86_physical_page_mapper_large_memory.cpp19 slots remain in the global pool and are given out by get_physical_page().
184 pool->Map(physicalAddress, address);
348 // put our slots back to the global pool
359 // get our slots from the global pool
525 // get a slot from the per-cpu user pool
542 // return the slot to the per-cpu user pool
706 PhysicalPageSlotPool* pool = fNonEmptyPools.Head(); local
707 if (pool == NULL) {
711 // allocate new pool
713 status_t error = fInitialPool->AllocatePool(pool);
738 PhysicalPageSlotPool* pool = slot->pool; local
[all...]
H A Dx86_physical_page_mapper_large_memory.h36 PhysicalPageSlotPool* pool; member in struct:X86LargePhysicalPageMapper::PhysicalPageSlot
/haiku/src/system/kernel/arch/m68k/paging/
H A Dm68k_physical_page_mapper_large_memory.cpp21 slots remain in the global pool and are given out by get_physical_page().
191 pool->Map(physicalAddress, address);
355 // put our slots back to the global pool
366 // get our slots from the global pool
528 // get a slot from the per-cpu user pool
545 // return the slot to the per-cpu user pool
709 PhysicalPageSlotPool* pool = fNonEmptyPools.Head(); local
710 if (pool == NULL) {
714 // allocate new pool
716 status_t error = fInitialPool->AllocatePool(pool);
741 PhysicalPageSlotPool* pool = slot->pool; local
[all...]
/haiku/src/kits/package/solver/libsolv/
H A DLibsolvSolver.cpp62 SolvDataIterator(Pool* pool, Repo* repo, Id solvableId, Id keyname, argument
65 dataiterator_init(this, pool, repo, solvableId, keyname, match, flags);
246 // add repositories to pool
319 // add repositories to pool
348 // add repositories to pool
380 // add repositories to pool
411 // add repositories to pool
452 // add repositories to pool
478 // add repositories to pool
676 // clean up our data structures that depend on/refer to libsolv pool dat
[all...]
H A DLibsolvSolver.h15 #include <solv/pool.h>
/haiku/src/apps/cortex/addons/common/
H A DRawBuffer.h60 // w/ the provided pool; otherwise uses standard
93 rtm_pool* pool() const;
/haiku/src/libs/iconv/
H A Diconv.c635 const char* pool; local
677 pool = stringpool;
680 pool = stringpool2;
714 return all_canonical[index] + pool;
/haiku/src/system/kernel/arch/x86/paging/pae/
H A DX86PagingMethodPAE.cpp403 "physical page pool space in virtual address space!");
429 // init the pool structure and add the initial pool
444 area_id area = create_area("physical page pool", &temp,
449 "create area for physical page pool.");
457 "physical page pool space", &temp, B_EXACT_ADDRESS,
461 "create area for physical page pool space.");
486 slot->pool = this;
512 // create the pool structure
513 PhysicalPageSlotPool* pool local
603 PhysicalPageSlotPool* pool = PhysicalPageSlotPool::sInitialPhysicalPagePool; local
[all...]
/haiku/src/system/kernel/arch/ppc/paging/classic/
H A DPPCPagingMethodClassic.cpp121 // create the initial pool for the physical page mapper
122 PhysicalPageSlotPool* pool
125 status_t error = pool->InitInitial(args);
127 panic("PPCPagingMethodClassic::Init(): Failed to create initial pool "
133 large_memory_physical_page_ops_init(args, pool, fPhysicalPageMapper,
/haiku/src/system/kernel/arch/ppc/paging/460/
H A DPPCPagingMethod460.cpp121 // create the initial pool for the physical page mapper
122 PhysicalPageSlotPool* pool
125 status_t error = pool->InitInitial(args);
127 panic("PPCPagingMethod460::Init(): Failed to create initial pool "
133 large_memory_physical_page_ops_init(args, pool, fPhysicalPageMapper,
/haiku/src/kits/debugger/debugger_interface/local/
H A DLocalDebuggerInterface.cpp38 // number of debug contexts the pool does initially create
41 // maximum number of debug contexts in the pool
83 fLock("debug context pool"),
110 fBlockSem = create_sem(0, "debug context pool block");
214 DebugContextGetter(DebugContextPool* pool) argument
216 fPool(pool),
217 fContext(pool->GetContext())
297 // create debug context pool
/haiku/src/system/kernel/arch/x86/paging/32bit/
H A DX86PagingMethod32Bit.cpp96 "physical page pool space in virtual address space!");
113 // init the pool structure and add the initial pool
127 area_id area = create_area("physical page pool", &temp,
132 "create area for physical page pool.");
140 "physical page pool space", &temp, B_EXACT_ADDRESS,
144 "create area for physical page pool space.");
168 slot->pool = this;
194 // create the pool structure
195 PhysicalPageSlotPool* pool local
303 PhysicalPageSlotPool* pool = PhysicalPageSlotPool::sInitialPhysicalPagePool; local
[all...]
/haiku/src/kits/media/
H A DRealtimeAlloc.cpp46 void Remove(rtm_pool* pool,
48 void Enqueue(rtm_pool* pool);
156 FreeChunk::Remove(rtm_pool* pool, FreeChunk* previous) argument
160 FreeChunk* chunk = pool->free_anchor.fNext;
177 FreeChunk::Enqueue(rtm_pool* pool) argument
179 FreeChunk* chunk = pool->free_anchor.fNext;
180 FreeChunk* last = &pool->free_anchor;
264 while (rtm_pool* pool = iterator.Next()) {
265 if (pool->Contains(buffer))
266 return pool;
279 rtm_pool* pool = (rtm_pool*)malloc(sizeof(rtm_pool)); local
320 rtm_delete_pool(rtm_pool* pool) argument
341 rtm_alloc(rtm_pool* pool, size_t size) argument
405 rtm_pool* pool = pool_for(allocated); local
428 rtm_pool* pool = pool_for(oldBuffer); local
502 rtm_available(rtm_pool* pool) argument
[all...]
/haiku/src/system/kernel/arch/m68k/paging/040/
H A DM68KPagingMethod040.cpp40 /* Slots per pool for the physical page mapper.
168 "physical page pool space in virtual address space!");
181 // init the pool structure and add the initial pool
196 area_id area = create_area("physical page pool", &temp,
201 "create area for physical page pool.");
209 "physical page pool space", &temp, B_EXACT_ADDRESS,
213 "create area for physical page pool space.");
237 slot->pool = this;
263 // create the pool structur
264 PhysicalPageSlotPool* pool = new(std::nothrow) PhysicalPageSlotPool; local
378 PhysicalPageSlotPool* pool local
[all...]
/haiku/headers/private/package/hpkg/
H A DPoolBuffer.h51 PoolBufferPutter(BBufferPool* pool, PoolBuffer** owner) argument
53 fPool(pool),
59 PoolBufferPutter(BBufferPool* pool, PoolBuffer* buffer) argument
61 fPool(pool),
/haiku/src/system/kernel/debug/
H A Ddebug_heap.cpp56 // do we already have a child pool?
60 // create the pool object
61 DebugAllocPool* pool
63 if (pool == NULL)
68 Free(pool);
75 pool->Init(header + 1, header->size * 8);
76 pool->fParent = this;
78 return fChild = pool;
239 DebugAllocPool* pool = sCurrentPool->CreateChildPool(); local
240 if (pool
249 delete_debug_alloc_pool(debug_alloc_pool* pool) argument
[all...]
/haiku/src/tests/add-ons/kernel/file_systems/bfs/bufferPool/
H A Dmain.cpp18 BufferPool &pool = *(BufferPool *)_pool; local
27 if ((status = pool.GetBuffer(&buffer)) != B_OK) {
33 pool.PutBuffer(buffer);
43 BufferPool pool; local
46 if (pool.RequestBuffers(BLOCK_SIZE) == B_OK) {
48 thread[i] = spawn_thread(allocator, "", B_NORMAL_PRIORITY, (void *)&pool);
59 pool.ReleaseBuffers();

Completed in 117 milliseconds

12