Searched refs:pool (Results 1 - 25 of 35) sorted by path

12

/haiku/headers/os/drivers/
H A Dlocked_pool.h16 Basically, a background thread manages a memory pool where blocks
17 are allocated from. If the pool is empty, allocation is delayed until
18 either a blocks is freed or the pool is enlarged by the background
22 added to memory pool (and cleaned-up when removed from pool). The
28 DMA access, a minimum pool size (in blocks), a maximum pool size
30 pool is allocated.
46 void *(*alloc)(locked_pool_cookie pool);
48 void (*free)(locked_pool_cookie pool, voi
[all...]
/haiku/headers/os/media/
H A DRealtimeAlloc.h25 status_t rtm_delete_pool(rtm_pool* pool);
27 void* rtm_alloc(rtm_pool* pool, size_t size);
32 size_t rtm_available(rtm_pool* pool);
/haiku/headers/private/kernel/
H A Ddebug_heap.h20 void delete_debug_alloc_pool(debug_alloc_pool* pool);
/haiku/headers/private/kernel/fs/
H A Dselect_sync_pool.h19 status_t add_select_sync_pool_entry(select_sync_pool **pool, selectsync *sync,
21 status_t remove_select_sync_pool_entry(select_sync_pool **pool,
23 void delete_select_sync_pool(select_sync_pool *pool);
24 void notify_select_event_pool(select_sync_pool *pool, uint8 event);
/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/add-ons/kernel/file_systems/netfs/headers/shared/
H A DBlockerPool.h35 BlockerPutter(BlockerPool& pool, Blocker blocker) argument
36 : fPool(pool),
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DGlobalBlockerPool.cpp14 BlockerPool* pool = new(std::nothrow) BlockerPool;
15 if (!pool)
18 status_t error = pool->InitCheck();
20 delete pool;
24 sPool = pool;
/haiku/src/add-ons/kernel/file_systems/nfs/
H A DRPCPendingCalls.c109 SemaphorePoolInit(struct SemaphorePool *pool) argument
111 pool->fPool=NULL;
112 pool->fPoolCount=0;
113 pool->fPoolSize=0;
115 pool->fPoolSem=create_sem(1,"semaphore_pool_sem");
116 set_sem_owner (pool->fPoolSem,B_SYSTEM_TEAM);
120 SemaphorePoolDestroy(struct SemaphorePool *pool) argument
124 for (i=0;i<pool->fPoolCount;i++)
125 delete_sem (pool->fPool[i]);
127 free (pool
133 SemaphorePoolGet(struct SemaphorePool *pool) argument
163 SemaphorePoolPut(struct SemaphorePool *pool, sem_id sem) argument
[all...]
H A DRPCPendingCalls.h18 void SemaphorePoolInit (struct SemaphorePool *pool);
19 void SemaphorePoolDestroy (struct SemaphorePool *pool);
20 sem_id SemaphorePoolGet(struct SemaphorePool *pool);
21 void SemaphorePoolPut (struct SemaphorePool *pool, sem_id sem);
/haiku/src/apps/cortex/addons/common/
H A DRawBuffer.cpp117 rtm_pool* RawBuffer::pool() const { return m_pPool; } function in class:RawBuffer
/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/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/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/arm/paging/
H A Darm_physical_page_mapper_large_memory.h36 PhysicalPageSlotPool* pool; member in struct:ARMLargePhysicalPageMapper::PhysicalPageSlot
/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/src/system/kernel/arch/m68k/paging/
H A Dm68k_physical_page_mapper_large_memory.h27 PhysicalPageSlotPool* pool; member in struct:M68KLargePhysicalPageMapper::PhysicalPageSlot
/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/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/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/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/x86/paging/
H A Dx86_physical_page_mapper_large_memory.h36 PhysicalPageSlotPool* pool; member in struct:X86LargePhysicalPageMapper::PhysicalPageSlot
/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();
/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);

Completed in 111 milliseconds

12