Lines Matching refs:next

89 	iocpu_platform_action_entry_t * next;  in iocpu_add_platform_action()  local
91 queue_iterate(queue, next, iocpu_platform_action_entry_t *, link) in iocpu_add_platform_action()
93 if (next->priority > entry->priority) { in iocpu_add_platform_action()
94 queue_insert_before(queue, entry, next, iocpu_platform_action_entry_t *, link); in iocpu_add_platform_action()
113 iocpu_platform_action_entry_t * next; in iocpu_run_platform_actions() local
116 queue_iterate(queue, next, iocpu_platform_action_entry_t *, link) in iocpu_run_platform_actions()
118 uint32_t pri = (next->priority < 0) ? -next->priority : next->priority; in iocpu_run_platform_actions()
120 if (!allow_nested_callouts && !next->callout_in_progress) { in iocpu_run_platform_actions()
121 next->callout_in_progress = TRUE; in iocpu_run_platform_actions()
122 …ret = (*next->action)(next->refcon0, next->refcon1, pri, param1, param2, param3, next->name, platf… in iocpu_run_platform_actions()
123 next->callout_in_progress = FALSE; in iocpu_run_platform_actions()
125 …ret = (*next->action)(next->refcon0, next->refcon1, pri, param1, param2, param3, next->name, platf… in iocpu_run_platform_actions()
157 if (!gActionQueues[kQueueHaltRestart].next) { in IOCPURunPlatformHaltRestartActions()
168 if (!gActionQueues[kQueuePanic].next) { in IOCPURunPlatformPanicActions()
190 if (!gActionQueues[kQueuePanic].next) { in IOCPURunPlatformPanicSyncAction()
348 iocpu_platform_action_entry_t * next; in IORemoveServicePlatformActions() local
353 next = (typeof(entry))queue_first(&gActionQueues[qidx]); in IORemoveServicePlatformActions()
354 while (!queue_end(&gActionQueues[qidx], &next->link)) { in IORemoveServicePlatformActions()
355 entry = next; in IORemoveServicePlatformActions()
356 next = (typeof(entry))queue_next(&entry->link); in IORemoveServicePlatformActions()