Lines Matching defs:handler
131 while (low_resource_handler* handler
133 // swap with handler
134 sLowResourceHandlers.Swap(&marker, handler);
135 marker.priority = handler->priority;
137 int32 resources = handler->resources & lowResources;
140 handler->function(handler->data, resources,
301 low_resource_handler *handler = iterator.Next();
304 elf_debug_lookup_symbol_address((addr_t)handler->function, NULL,
309 handler->resources & B_KERNEL_RESOURCE_PAGES ? 'p' : ' ',
310 handler->resources & B_KERNEL_RESOURCE_MEMORY ? 'm' : ' ',
311 handler->resources & B_KERNEL_RESOURCE_SEMAPHORES ? 's' : ' ',
312 handler->resources & B_KERNEL_RESOURCE_ADDRESS_SPACE ? 'a' : ' ');
314 kprintf("%p %p %s %4" B_PRId32 " %s\n", handler->function,
315 handler->data, resources, handler->priority, symbol);
448 low_resource_handler* handler = iterator.Next();
450 if (handler->function == function && handler->data == data) {
451 sLowResourceHandlers.Remove(handler);
452 delete handler;
461 /*! Registers a low resource handler. The higher the \a priority, the earlier
462 the handler will be called in low resource situations.
488 low_resource_handler *handler = iterator.Next();
490 if (handler->priority >= priority) {
494 last = handler;