Home
last modified time | relevance | path

Searched refs:_qe (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/brocade/bna/
Dcna.h51 #define bfa_q_next(_qe) (((struct list_head *) (_qe))->next) argument
52 #define bfa_q_prev(_qe) (((struct list_head *) (_qe))->prev) argument
57 #define bfa_q_qe_init(_qe) { \ argument
58 bfa_q_next(_qe) = (struct list_head *) NULL; \
59 bfa_q_prev(_qe) = (struct list_head *) NULL; \
65 #define bfa_q_deq(_q, _qe) { \ argument
67 (*((struct list_head **) (_qe))) = bfa_q_next(_q); \
68 bfa_q_prev(bfa_q_next(*((struct list_head **) _qe))) = \
70 bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe)); \
71 bfa_q_qe_init(*((struct list_head **) _qe)); \
[all …]
/drivers/scsi/bfa/
Dbfa_cs.h157 #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;\
[all …]