Home
last modified time | relevance | path

Searched refs:__head (Results 1 – 3 of 3) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dqueue.h758 if (__prev == __head) { \
759 __fail |= __head->next != (queue_entry_t)__elt; \
769 if (__next == __head) { \
770 __fail |= __head->prev != (queue_entry_t)__elt; \
787 if (__head == __prev) { \
788 __head->next = (queue_entry_t)__elt; \
797 if (__head == __next) { \
798 __head->prev = (queue_entry_t)__elt; \
830 queue_entry_t __head, __prev; \
838 __QUEUE2_CHECK_NEXT(__fail, __head, __prev, __head, type, field); \
[all …]
H A Dsmr.h301 __auto_type __head = (head); \
303 smr_init_store(&__head->first, NULL); \
304 if (__smrq_lastp(__head)) { \
305 *__smrq_lastp(__head) = &__head->first; \
412 __auto_type __head = (head); \
414 __smrq_serialized_insert(&__head->first, (elem), \
415 smr_serialized_load(&__head->first), __smrq_lastp(__head)); \
427 __auto_type __head = (head); \
429 __smrq_serialized_insert(__head->last, (elem), \
445 smr_serialized_load(&__head->first), __smrq_lastp(__head)); \
[all …]
/xnu-11215/iokit/DriverKit/
H A Dqueue_implementation.h758 if (__prev == __head) { \
759 __fail |= __head->next != (queue_entry_t)__elt; \
769 if (__next == __head) { \
770 __fail |= __head->prev != (queue_entry_t)__elt; \
787 if (__head == __prev) { \
788 __head->next = (queue_entry_t)__elt; \
797 if (__head == __next) { \
798 __head->prev = (queue_entry_t)__elt; \
830 queue_entry_t __head, __prev; \
838 __QUEUE2_CHECK_NEXT(__fail, __head, __prev, __head, type, field); \
[all …]