Searched refs:ql_first (Results 1 – 4 of 4) sorted by relevance
23 #define ql_first(a_head) ((a_head)->qlh_first) macro26 ((ql_first(a_head) != NULL) \27 ? qr_prev(ql_first(a_head), a_field) : NULL)34 ((ql_first(a_head) != (a_elm)) ? qr_prev((a_elm), a_field) \39 if (ql_first(a_head) == (a_qlelm)) { \40 ql_first(a_head) = (a_elm); \48 if (ql_first(a_head) != NULL) { \49 qr_before_insert(ql_first(a_head), (a_elm), a_field); \51 ql_first(a_head) = (a_elm); \55 if (ql_first(a_head) != NULL) { \[all …]
345 return ql_first(list); in extent_list_first()
21 assert_ptr_null(ql_first(head), "Unexpected element for empty list"); in test_empty_list()61 assert_c_eq(ql_first(head)->id, entries[0].id, "Element id mismatch"); in test_entries_list()
65 msg = ql_first(&mq->msgs); \