Lines Matching refs:LIST_FIRST
499 LIST_FIRST((head)) != NULL && \
500 LIST_FIRST((head))->field.le_prev != \
501 &LIST_FIRST((head)))) \
528 #define LIST_FIRST(head) ((head)->lh_first) macro
531 for ((var) = LIST_FIRST((head)); \
536 for ((var) = LIST_FIRST((head)); \
541 LIST_FIRST((head)) = NULL; \
563 if ((LIST_NEXT((elm), field) = LIST_FIRST((head))) != NULL) \
564 LIST_FIRST((head))->field.le_prev = &LIST_NEXT((elm), field);\
565 LIST_FIRST((head)) = (elm); \
566 (elm)->field.le_prev = &LIST_FIRST((head)); \
586 struct type *swap_tmp = LIST_FIRST((head1)); \
587 LIST_FIRST((head1)) = LIST_FIRST((head2)); \
588 LIST_FIRST((head2)) = swap_tmp; \
589 if ((swap_tmp = LIST_FIRST((head1))) != NULL) \
590 swap_tmp->field.le_prev = &LIST_FIRST((head1)); \
591 if ((swap_tmp = LIST_FIRST((head2))) != NULL) \
592 swap_tmp->field.le_prev = &LIST_FIRST((head2)); \