Lines Matching refs:entry
145 queue_entry_t entry,
219 queue_entry_t entry,
222 entry->next = pred->next;
223 entry->prev = pred;
224 (pred->next)->prev = entry;
225 pred->next = entry;
257 * Returns the first entry in the queue,
267 * Returns the entry after an item in the queue.
277 * Returns the last entry in the queue.
287 * Returns the entry before an item in the queue.
297 * Tests whether a new entry is really the end of
499 * Remove and return the entry at the head of
502 * queue_remove_first(head, entry, type, field)
503 * entry is returned by reference
505 #define queue_remove_first(head, entry, type, field) \
509 (entry) = (type) ((head)->next); \
510 __next = (entry)->field.next; \
518 (entry)->field.next = NULL; \
519 (entry)->field.prev = NULL; \
525 * Remove and return the entry at the tail of
528 * queue_remove_last(head, entry, type, field)
529 * entry is returned by reference
531 #define queue_remove_last(head, entry, type, field) \
535 (entry) = (type) ((head)->prev); \
536 __prev = (entry)->field.prev; \
544 (entry)->field.next = NULL; \
545 (entry)->field.prev = NULL; \