Lines Matching refs:dbg_queue

189 static MSG_QUEUE *dbg_queue;  variable
207 if (dbg_queue || (!base) || (length < (4096 * 4))) { in diva_maint_init()
237 dbg_queue = (MSG_QUEUE *)base; in diva_maint_init()
238 queueInit(dbg_queue, base + sizeof(MSG_QUEUE), length - sizeof(MSG_QUEUE) - 512); in diva_maint_init()
247 dbg_queue = NULL; in diva_maint_init()
255 dbg_queue = NULL; in diva_maint_init()
274 dbg_queue = NULL; in diva_maint_finit()
301 return (dbg_queue ? queueCount(dbg_queue) : 0); in diva_dbg_q_length()
320 if (!(pmsg = (diva_dbg_entry_head_t *)queuePeekMsg(dbg_queue, size))) { in diva_maint_get_message()
338 queueFreeMsg(dbg_queue); in diva_maint_ack_message()
454 while (!(pmsg = (diva_dbg_entry_head_t *)queueAllocMsg(dbg_queue, in DI_register()
456 if ((pmsg = (diva_dbg_entry_head_t *)queuePeekMsg(dbg_queue, &size))) { in DI_register()
457 queueFreeMsg(dbg_queue); in DI_register()
526 while (!(pmsg = (diva_dbg_entry_head_t *)queueAllocMsg(dbg_queue, in DI_deregister()
528 if ((pmsg = (diva_dbg_entry_head_t *)queuePeekMsg(dbg_queue, &size))) { in DI_deregister()
529 queueFreeMsg(dbg_queue); in DI_deregister()
612 while (!(pmsg = (diva_dbg_entry_head_t *)queueAllocMsg(dbg_queue, in DI_format()
614 if ((pmsg = (diva_dbg_entry_head_t *)queuePeekMsg(dbg_queue, &size))) { in DI_format()
615 queueFreeMsg(dbg_queue); in DI_format()
643 while (!(pmsg = (diva_dbg_entry_head_t *)queueAllocMsg(dbg_queue, in DI_format()
645 if ((pmsg = (diva_dbg_entry_head_t *)queuePeekMsg(dbg_queue, &size))) { in DI_format()
646 queueFreeMsg(dbg_queue); in DI_format()
692 while (!(pmsg = (diva_dbg_entry_head_t *)queueAllocMsg(dbg_queue, in DI_format()
694 if ((pmsg = (diva_dbg_entry_head_t *)queuePeekMsg(dbg_queue, &size))) { in DI_format()
695 queueFreeMsg(dbg_queue); in DI_format()
718 if (queueCount(dbg_queue)) { in DI_format()
982 while (!(pmsg = (diva_dbg_entry_head_t *)queueAllocMsg(dbg_queue, in diva_mnt_add_xdi_adapter()
984 if ((pmsg = (diva_dbg_entry_head_t *)queuePeekMsg(dbg_queue, &size))) { in diva_mnt_add_xdi_adapter()
985 queueFreeMsg(dbg_queue); in diva_mnt_add_xdi_adapter()
1069 while (!(pmsg = (diva_dbg_entry_head_t *)queueAllocMsg(dbg_queue, in diva_mnt_remove_xdi_adapter()
1071 if ((pmsg = (diva_dbg_entry_head_t *)queuePeekMsg(dbg_queue, &size))) { in diva_mnt_remove_xdi_adapter()
1072 queueFreeMsg(dbg_queue); in diva_mnt_remove_xdi_adapter()
1845 while (!(pmsg = (diva_dbg_entry_head_t *)queueAllocMsg(dbg_queue, in diva_maint_trace_notify()
1847 if ((pmsg = (diva_dbg_entry_head_t *)queuePeekMsg(dbg_queue, &size))) { in diva_maint_trace_notify()
1848 queueFreeMsg(dbg_queue); in diva_maint_trace_notify()
1864 if (queueCount(dbg_queue)) { in diva_maint_trace_notify()