Lines Matching refs:_qe
117 #define bfa_q_next(_qe) (((struct list_head *) (_qe))->next) argument
118 #define bfa_q_prev(_qe) (((struct list_head *) (_qe))->prev) argument
123 #define bfa_q_qe_init(_qe) { \ argument
124 bfa_q_next(_qe) = (struct list_head *) NULL; \
125 bfa_q_prev(_qe) = (struct list_head *) NULL; \
131 #define bfa_q_deq(_q, _qe) do { \ argument
133 (*((struct list_head **) (_qe))) = bfa_q_next(_q); \
134 bfa_q_prev(bfa_q_next(*((struct list_head **) _qe))) = \
136 bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe));\
138 *((struct list_head **) (_qe)) = (struct list_head *) NULL;\
145 #define bfa_q_deq_tail(_q, _qe) { \ argument
147 *((struct list_head **) (_qe)) = bfa_q_prev(_q); \
148 bfa_q_next(bfa_q_prev(*((struct list_head **) _qe))) = \
150 bfa_q_prev(_q) = bfa_q_prev(*(struct list_head **) _qe);\
152 *((struct list_head **) (_qe)) = (struct list_head *) NULL;\
172 #define bfa_q_is_on_q(_q, _qe) \ argument
173 bfa_q_is_on_q_func(_q, (struct list_head *)(_qe))