Lines Matching refs:_qe
157 #define bfa_q_next(_qe) (((struct list_head *) (_qe))->next) argument
158 #define bfa_q_prev(_qe) (((struct list_head *) (_qe))->prev) argument
163 #define bfa_q_qe_init(_qe) { \ argument
164 bfa_q_next(_qe) = (struct list_head *) NULL; \
165 bfa_q_prev(_qe) = (struct list_head *) NULL; \
171 #define bfa_q_deq(_q, _qe) do { \ argument
173 (*((struct list_head **) (_qe))) = bfa_q_next(_q); \
174 bfa_q_prev(bfa_q_next(*((struct list_head **) _qe))) = \
176 bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe));\
178 *((struct list_head **) (_qe)) = (struct list_head *) NULL;\
185 #define bfa_q_deq_tail(_q, _qe) { \ argument
187 *((struct list_head **) (_qe)) = bfa_q_prev(_q); \
188 bfa_q_next(bfa_q_prev(*((struct list_head **) _qe))) = \
190 bfa_q_prev(_q) = bfa_q_prev(*(struct list_head **) _qe);\
192 *((struct list_head **) (_qe)) = (struct list_head *) NULL;\
212 #define bfa_q_is_on_q(_q, _qe) \ argument
213 bfa_q_is_on_q_func(_q, (struct list_head *)(_qe))