Lines Matching refs:LIST_FIRST
500 LIST_FIRST((head)) != NULL && \
501 LIST_FIRST((head))->field.le_prev != \
502 &LIST_FIRST((head)))) \
526 #define LIST_FIRST(head) ((head)->lh_first) macro
529 for ((var) = LIST_FIRST((head)); \
534 for ((var) = LIST_FIRST((head)); \
539 LIST_FIRST((head)) = NULL; \
561 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \
562 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\
563 LIST_FIRST((head)) = (elm); \
564 (elm)->field.le_prev = &LIST_FIRST((head)); \
584 struct type *swap_tmp = LIST_FIRST((head1)); \
585 LIST_FIRST((head1)) = LIST_FIRST((head2)); \
586 LIST_FIRST((head2)) = swap_tmp; \
587 if ((swap_tmp = LIST_FIRST((head1))) != NULL) \
588 swap_tmp->field.le_prev = &LIST_FIRST((head1)); \
589 if ((swap_tmp = LIST_FIRST((head2))) != NULL) \
590 swap_tmp->field.le_prev = &LIST_FIRST((head2)); \