Lines Matching refs:list_head
116 #define bfa_q_first(_q) ((void *)(((struct list_head *) (_q))->next))
117 #define bfa_q_next(_qe) (((struct list_head *) (_qe))->next)
118 #define bfa_q_prev(_qe) (((struct list_head *) (_qe))->prev)
124 bfa_q_next(_qe) = (struct list_head *) NULL; \
125 bfa_q_prev(_qe) = (struct list_head *) NULL; \
133 (*((struct list_head **) (_qe))) = bfa_q_next(_q); \
134 bfa_q_prev(bfa_q_next(*((struct list_head **) _qe))) = \
135 (struct list_head *) (_q); \
136 bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe));\
138 *((struct list_head **) (_qe)) = (struct list_head *) NULL;\
147 *((struct list_head **) (_qe)) = bfa_q_prev(_q); \
148 bfa_q_next(bfa_q_prev(*((struct list_head **) _qe))) = \
149 (struct list_head *) (_q); \
150 bfa_q_prev(_q) = bfa_q_prev(*(struct list_head **) _qe);\
152 *((struct list_head **) (_qe)) = (struct list_head *) NULL;\
157 bfa_q_is_on_q_func(struct list_head *q, struct list_head *qe) in bfa_q_is_on_q_func()
159 struct list_head *tqe; in bfa_q_is_on_q_func()
173 bfa_q_is_on_q_func(_q, (struct list_head *)(_qe))