Lines Matching refs:list_head
156 #define bfa_q_first(_q) ((void *)(((struct list_head *) (_q))->next))
157 #define bfa_q_next(_qe) (((struct list_head *) (_qe))->next)
158 #define bfa_q_prev(_qe) (((struct list_head *) (_qe))->prev)
164 bfa_q_next(_qe) = (struct list_head *) NULL; \
165 bfa_q_prev(_qe) = (struct list_head *) NULL; \
173 (*((struct list_head **) (_qe))) = bfa_q_next(_q); \
174 bfa_q_prev(bfa_q_next(*((struct list_head **) _qe))) = \
175 (struct list_head *) (_q); \
176 bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe));\
178 *((struct list_head **) (_qe)) = (struct list_head *) NULL;\
187 *((struct list_head **) (_qe)) = bfa_q_prev(_q); \
188 bfa_q_next(bfa_q_prev(*((struct list_head **) _qe))) = \
189 (struct list_head *) (_q); \
190 bfa_q_prev(_q) = bfa_q_prev(*(struct list_head **) _qe);\
192 *((struct list_head **) (_qe)) = (struct list_head *) NULL;\
197 bfa_q_is_on_q_func(struct list_head *q, struct list_head *qe) in bfa_q_is_on_q_func()
199 struct list_head *tqe; in bfa_q_is_on_q_func()
213 bfa_q_is_on_q_func(_q, (struct list_head *)(_qe))