Lines Matching refs:_qe
125 #define bfa_q_next(_qe) (((struct list_head *) (_qe))->next) argument
126 #define bfa_q_prev(_qe) (((struct list_head *) (_qe))->prev) argument
131 #define bfa_q_qe_init(_qe) { \ argument
132 bfa_q_next(_qe) = (struct list_head *) NULL; \
133 bfa_q_prev(_qe) = (struct list_head *) NULL; \
139 #define bfa_q_deq(_q, _qe) do { \ argument
141 (*((struct list_head **) (_qe))) = bfa_q_next(_q); \
142 bfa_q_prev(bfa_q_next(*((struct list_head **) _qe))) = \
144 bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe));\
146 *((struct list_head **) (_qe)) = (struct list_head *) NULL;\
153 #define bfa_q_deq_tail(_q, _qe) { \ argument
155 *((struct list_head **) (_qe)) = bfa_q_prev(_q); \
156 bfa_q_next(bfa_q_prev(*((struct list_head **) _qe))) = \
158 bfa_q_prev(_q) = bfa_q_prev(*(struct list_head **) _qe);\
160 *((struct list_head **) (_qe)) = (struct list_head *) NULL;\
180 #define bfa_q_is_on_q(_q, _qe) \ argument
181 bfa_q_is_on_q_func(_q, (struct list_head *)(_qe))