/haiku/src/servers/app/ |
H A D | BitmapManager.cpp | 86 BitmapManager::CreateBitmap(ClientMemoryAllocator* allocator, argument 130 allocator, sizeof(overlay_client_data), newArea); 145 } else if (allocator != NULL) { 148 buffer = (uint8*)bitmap->fClientMemory.Allocate(allocator,
|
H A D | ClientMemoryAllocator.cpp | 18 // allocated by this allocator is accessed. 69 // A detached allocator no longer allows any further allocations 336 ClientMemory::Allocate(ClientMemoryAllocator* allocator, size_t size, argument 339 fAllocator.SetTo(allocator, false);
|
H A D | ClientMemoryAllocator.h | 78 void* Allocate(ClientMemoryAllocator* allocator,
|
H A D | BitmapManager.h | 29 ServerBitmap* CreateBitmap(ClientMemoryAllocator* allocator,
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Inode.cpp | 1764 // from the block allocator 2716 InodeAllocator allocator(transaction); 2719 status = allocator.New(&parentRun, mode, publishFlags, run, vnodeOps, 2757 status = allocator.CreateTree(); 2825 allocator.Keep(vnodeOps, publishFlags);
|
H A D | kernel_interface.cpp | 793 BlockAllocator& allocator = volume->Allocator(); local 794 allocator.Fragment(); 804 BlockAllocator& allocator = volume->Allocator(); local 808 while (allocator.AllocateBlocks(transaction, 8, 0, 64, 1, run)
|
H A D | BlockAllocator.cpp | 511 recursive_lock_init(&fLock, "bfs allocator"); 542 "bfs block allocator", B_LOW_PRIORITY, this); 619 BlockAllocator::_Initialize(BlockAllocator* allocator) 622 RecursiveLocker locker(allocator->fLock, true); 624 Volume* volume = allocator->fVolume; 625 uint32 blocks = allocator->fBlocksPerGroup; 633 AllocationGroup* groups = allocator->fGroups; 636 int32 numGroups = allocator->fNumGroups; 685 if (allocator->CheckBlocks(0, reservedBlocks) != B_OK) { 1474 BlockAllocator& allocator [all...] |
H A D | CheckVisitor.cpp | 52 // Lock the volume's journal and block allocator 608 BlockAllocator& allocator = GetVolume()->Allocator(); local 611 if (!allocator.IsValidBlockRun(run, type)) { 626 status = allocator.CheckBlocks(block, end - block, true, &firstMissing); 633 status = allocator.CheckBlocks(firstMissing, end - firstMissing, false,
|
/haiku/src/system/kernel/debug/ |
H A D | core_dump.cpp | 462 static AreaInfo* Create(Allocator& allocator, VMArea* area, size_t ramSize, argument 465 AreaInfo* areaInfo = allocator.New<AreaInfo>(); 466 const char* name = allocator.DuplicateString(area->name);
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | BlockAllocator.cpp | 593 mutex_init(&fLock, "ext2 block allocator"); 630 (thread_func)BlockAllocator::_Initialize, "ext2 block allocator", 866 BlockAllocator::_Initialize(BlockAllocator* allocator) argument 870 Volume* volume = allocator->fVolume; 872 AllocationBlockGroup* groups = allocator->fGroups; 873 uint32 numGroups = allocator->fNumGroups - 1; 881 allocator->fBlocksPerGroup); 883 mutex_unlock(&allocator->fLock); 894 allocator->fNumBlocks - allocator [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/ |
H A D | Volume.cpp | 897 RequestAllocator allocator(port->GetPort()); 899 status_t error = AllocateRequest(allocator, &request); 908 error = _SendRequest(port, &allocator, &handler, (Request**)&reply); 958 RequestAllocator allocator(port->GetPort()); 960 status_t error = AllocateRequest(allocator, &request); 971 error = _SendRequest(port, &allocator, &handler, (Request**)&reply); 1023 RequestAllocator allocator(port->GetPort()); 1025 status_t error = AllocateRequest(allocator, &request); 1036 error = _SendRequest(port, &allocator, &handler, (Request**)&reply); 1070 RequestAllocator allocator(por 4391 _SendRequest(RequestPort* port, RequestAllocator* allocator, RequestHandler* handler, Request** reply) argument [all...] |
H A D | FileSystem.cpp | 406 RequestAllocator allocator(port->GetPort()); 408 status_t error = AllocateRequest(allocator, &request); 411 error = allocator.AllocateString(request->device, deviceName); 413 error = allocator.AllocateData(request->parameters, parameters, len, 1); 419 error = port->SendRequest(&allocator, &handler, (Request**)&reply); 726 RequestAllocator allocator(port->GetPort()); 728 status_t error = AllocateRequest(allocator, &request); 732 error = allocator.AllocateData(request->event, event->Buffer(), 746 port->SendRequest(&allocator, &handler);
|
H A D | KernelRequestHandler.cpp | 236 RequestAllocator allocator(fPort->GetPort()); 238 status_t error = AllocateRequest(allocator, &reply); 245 return fPort->SendRequest(&allocator); 270 RequestAllocator allocator(fPort->GetPort()); 272 status_t error = AllocateRequest(allocator, &reply); 279 return fPort->SendRequest(&allocator); 333 RequestAllocator allocator(fPort->GetPort()); 335 status_t error = AllocateRequest(allocator, &reply); 342 return fPort->SendRequest(&allocator); 360 RequestAllocator allocator(fPor [all...] |
H A D | Volume.h | 268 RequestAllocator* allocator,
|
/haiku/headers/private/kernel/util/ |
H A D | OpenHashTable.h | 78 * called by the memory allocator). 116 BOpenHashTable(const Definition& definition, const Allocator& allocator) argument 119 fAllocator(allocator),
|
/haiku/src/kits/interface/ |
H A D | Bitmap.cpp | 1160 BPrivate::ServerMemoryAllocator* allocator local 1164 error = allocator->AddArea(fServerArea, fArea, 1167 error = allocator->AreaAndBaseFor(fServerArea, fArea,
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/ |
H A D | UserlandRequestHandler.cpp | 275 RequestAllocator allocator(fPort->GetPort()); 277 status_t error = AllocateRequest(allocator, &reply); 287 return _SendReply(allocator, false); 303 RequestAllocator allocator(fPort->GetPort()); 305 status_t error = AllocateRequest(allocator, &reply); 311 return _SendReply(allocator, false); 328 RequestAllocator allocator(fPort->GetPort()); 330 status_t error = AllocateRequest(allocator, &reply); 336 return _SendReply(allocator, false); 354 RequestAllocator allocator(fPor 2476 _SendReply(RequestAllocator& allocator, bool expectsReceipt) argument [all...] |
H A D | kernel_emu.cpp | 142 RequestAllocator allocator(port->GetPort()); 144 error = AllocateRequest(allocator, &request); 154 error = allocator.AllocateString(request->oldName, oldName); 157 error = allocator.AllocateString(request->name, name); 164 error = port->SendRequest(&allocator, &handler, (Request**)&reply); 188 RequestAllocator allocator(port->GetPort()); 190 error = AllocateRequest(allocator, &request); 201 error = port->SendRequest(&allocator, &handler, (Request**)&reply); 226 RequestAllocator allocator(port->GetPort()); 228 error = AllocateRequest(allocator, [all...] |
/haiku/src/tools/fs_shell/ |
H A D | OpenHashTable.h | 78 * called byt he memory allocator). 116 BOpenHashTable(const Definition& definition, const Allocator& allocator) argument 119 fAllocator(allocator),
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/private/ |
H A D | RequestPort.cpp | 17 AllocatorNode(Port* port) : allocator(port), previous(NULL) {} 19 RequestAllocator allocator; member in struct:RequestPort::AllocatorNode 75 RequestPort::SendRequest(RequestAllocator* allocator) argument 80 if (!allocator || allocator->GetRequest() == NULL 81 || allocator->GetRequestSize() < (int32)sizeof(Request)) { 84 allocator->FinishDeferredInit(); 85 //PRINT(("RequestPort::SendRequest(%lu)\n", allocator->GetRequest()->GetType())); 87 if (!is_userland_request(allocator->GetRequest()->GetType())) { 89 "userland request\n", allocator 105 SendRequest(RequestAllocator* allocator, RequestHandler* handler, Request** reply, bigtime_t timeout) argument [all...] |
/haiku/src/apps/serialconnect/libvterm/src/ |
H A D | vterm.c | 37 /* Need to bootstrap using the allocator function directly */ 40 vt->allocator = funcs; 75 return (*vt->allocator->malloc)(size, vt->allocdata); 80 (*vt->allocator->free)(ptr, vt->allocdata);
|
H A D | vterm_internal.h | 128 VTermAllocatorFunctions *allocator; member in struct:VTerm
|
/haiku/src/tools/cppunit/cppunit/ |
H A D | TestFactoryRegistry.cpp | 80 const basic_string< char, char_traits< char>, allocator<char> >,
|
/haiku/src/tests/add-ons/kernel/file_systems/bfs/bufferPool/ |
H A D | main.cpp | 16 allocator(void *_pool) function 48 thread[i] = spawn_thread(allocator, "", B_NORMAL_PRIORITY, (void *)&pool);
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | BlockAllocator.h | 77 AllocatedBlock(BlockAllocator* allocator, Transaction& transaction) argument 79 fAllocator(allocator),
|