Searched refs:ql_first (Results 1 – 3 of 3) sorted by relevance
18 #define ql_first(a_head) ((a_head)->qlh_first) macro21 ((ql_first(a_head) != NULL) \22 ? qr_prev(ql_first(a_head), a_field) : NULL)29 ((ql_first(a_head) != (a_elm)) ? qr_prev((a_elm), a_field) \34 if (ql_first(a_head) == (a_qlelm)) { \35 ql_first(a_head) = (a_elm); \43 if (ql_first(a_head) != NULL) { \44 qr_before_insert(ql_first(a_head), (a_elm), a_field); \46 ql_first(a_head) = (a_elm); \50 if (ql_first(a_head) != NULL) { \[all …]
20 assert_ptr_null(ql_first(head), "Unexpected element for empty list"); in test_empty_list()63 assert_c_eq(ql_first(head)->id, entries[0].id, "Element id mismatch"); in test_entries_list()
68 msg = ql_first(&mq->msgs); \