/haiku/headers/os/drivers/ |
H A D | locked_pool.h | 16 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 D | RealtimeAlloc.h | 25 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 D | debug_heap.h | 20 void delete_debug_alloc_pool(debug_alloc_pool* pool);
|
/haiku/headers/private/kernel/fs/ |
H A D | select_sync_pool.h | 19 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 D | PoolBuffer.h | 51 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 D | BlockerPool.h | 35 BlockerPutter(BlockerPool& pool, Blocker blocker) argument 36 : fPool(pool),
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | GlobalBlockerPool.cpp | 14 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 D | RPCPendingCalls.c | 109 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 D | RPCPendingCalls.h | 18 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 D | RawBuffer.cpp | 117 rtm_pool* RawBuffer::pool() const { return m_pPool; } function in class:RawBuffer
|
/haiku/src/kits/debugger/debugger_interface/local/ |
H A D | LocalDebuggerInterface.cpp | 38 // 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 D | RealtimeAlloc.cpp | 46 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 D | iconv.c | 635 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 D | arm_physical_page_mapper_large_memory.h | 36 PhysicalPageSlotPool* pool; member in struct:ARMLargePhysicalPageMapper::PhysicalPageSlot
|
/haiku/src/system/kernel/arch/m68k/paging/040/ |
H A D | M68KPagingMethod040.cpp | 40 /* 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 D | m68k_physical_page_mapper_large_memory.h | 27 PhysicalPageSlotPool* pool; member in struct:M68KLargePhysicalPageMapper::PhysicalPageSlot
|
/haiku/src/system/kernel/arch/ppc/paging/460/ |
H A D | PPCPagingMethod460.cpp | 121 // 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 D | PPCPagingMethodClassic.cpp | 121 // 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 D | X86PagingMethod32Bit.cpp | 96 "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 D | X86PagingMethodPAE.cpp | 403 "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 D | x86_physical_page_mapper_large_memory.h | 36 PhysicalPageSlotPool* pool; member in struct:X86LargePhysicalPageMapper::PhysicalPageSlot
|
/haiku/src/system/kernel/debug/ |
H A D | debug_heap.cpp | 56 // 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 D | main.cpp | 18 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 D | vnidpool.c | 21 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 D | vnidpool.h | 17 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);
|