Lines Matching refs:allocator
17 AllocatorNode(Port* port) : allocator(port), previous(NULL) {}
19 RequestAllocator allocator;
75 RequestPort::SendRequest(RequestAllocator* allocator)
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->GetRequest()->GetType()));
93 if (!is_kernel_request(allocator->GetRequest()->GetType())) {
95 "kernel request\n", allocator->GetRequest()->GetType()));
99 RETURN_ERROR(fPort.Send(allocator->GetRequest(),
100 allocator->GetRequestSize()));
105 RequestPort::SendRequest(RequestAllocator* allocator,
108 status_t error = SendRequest(allocator);
126 // allocate a request allocator
133 status_t error = node->allocator.ReadRequest(timeout);
144 // everything went fine: push the allocator
145 *request = node->allocator.GetRequest();
194 && request == fCurrentAllocatorNode->allocator.GetRequest()) {