Lines Matching refs:entry
76 iocpu_add_platform_action(queue_head_t * queue, iocpu_platform_action_entry_t * entry);
79 iocpu_remove_platform_action(iocpu_platform_action_entry_t * entry);
131 void iocpu_add_platform_action(queue_head_t * queue, iocpu_platform_action_entry_t * entry)
137 if (next->priority > entry->priority)
139 queue_insert_before(queue, entry, next, iocpu_platform_action_entry_t *, link);
143 queue_enter(queue, entry, iocpu_platform_action_entry_t *, link); // at tail
146 void iocpu_remove_platform_action(iocpu_platform_action_entry_t * entry)
148 remque(&entry->link);
211 iocpu_platform_action_entry_t * entry;
218 entry = IONew(iocpu_platform_action_entry_t, 1);
219 entry->action = &IOServicePlatformAction;
222 entry->priority = -priority;
224 entry->priority = priority;
225 entry->refcon0 = service;
226 entry->refcon1 = (void *) key;
228 iocpu_add_platform_action(queue, entry);
229 entry->alloc_list = gIOAllActionsQueue;
230 gIOAllActionsQueue = entry;
356 iocpu_platform_action_entry_t * entry;
357 while ((entry = gIOAllActionsQueue))
359 gIOAllActionsQueue = entry->alloc_list;
360 iocpu_remove_platform_action(entry);
361 IODelete(entry, iocpu_platform_action_entry_t, 1);