Lines Matching refs:_q
51 #define bfa_q_first(_q) ((void *)(((struct list_head *) (_q))->next)) argument
66 #define bfa_q_deq(_q, _qe) { \ argument
67 if (!list_empty(_q)) { \
68 (*((struct list_head **) (_qe))) = bfa_q_next(_q); \
70 (struct list_head *) (_q); \
71 bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe)); \
81 #define bfa_q_deq_tail(_q, _qe) { \ argument
82 if (!list_empty(_q)) { \
83 *((struct list_head **) (_qe)) = bfa_q_prev(_q); \
85 (struct list_head *) (_q); \
86 bfa_q_prev(_q) = bfa_q_prev(*(struct list_head **) _qe);\
96 #define bfa_q_enq_head(_q, _qe) { \ argument
101 bfa_q_next(_qe) = bfa_q_next(_q); \
102 bfa_q_prev(_qe) = (struct list_head *) (_q); \
103 bfa_q_prev(bfa_q_next(_q)) = (struct list_head *) (_qe); \
104 bfa_q_next(_q) = (struct list_head *) (_qe); \