Home
last modified time | relevance | path

Searched refs:bfa_q_next (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dcna.h52 #define bfa_q_next(_qe) (((struct list_head *) (_qe))->next) macro
59 bfa_q_next(_qe) = (struct list_head *) NULL; \
68 (*((struct list_head **) (_qe))) = bfa_q_next(_q); \
69 bfa_q_prev(bfa_q_next(*((struct list_head **) _qe))) = \
71 bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe)); \
84 bfa_q_next(bfa_q_prev(*((struct list_head **) _qe))) = \
97 if (!(bfa_q_next(_qe) == NULL) && (bfa_q_prev(_qe) == NULL)) \
100 (bfa_q_next(_qe) == NULL) && (bfa_q_prev(_qe) == NULL));\
101 bfa_q_next(_qe) = bfa_q_next(_q); \
103 bfa_q_prev(bfa_q_next(_q)) = (struct list_head *) (_qe); \
[all …]
Dbna_tx_rx.c1819 i++, rxp_qe = bfa_q_next(rxp_qe)) { in bna_bfi_rx_enet_start()
2038 } else if (bfa_q_next(prev_qe) == &rx_mod->rx_free_q) { in bna_rx_put()
2043 bfa_q_next(&rx->qe) = bfa_q_next(prev_qe); in bna_rx_put()
2045 bfa_q_next(prev_qe) = &rx->qe; in bna_rx_put()
2046 bfa_q_prev(bfa_q_next(&rx->qe)) = &rx->qe; in bna_rx_put()
2350 i++, rxp_qe = bfa_q_next(rxp_qe)) { in bna_bfi_rx_enet_start_rsp()
3386 i++, qe = bfa_q_next(qe)) { in bna_bfi_tx_enet_start()
3546 } else if (bfa_q_next(prev_qe) == &tx_mod->tx_free_q) { in bna_tx_free()
3551 bfa_q_next(&tx->qe) = bfa_q_next(prev_qe); in bna_tx_free()
3553 bfa_q_next(prev_qe) = &tx->qe; in bna_tx_free()
[all …]
/linux-4.1.27/drivers/scsi/bfa/
Dbfa_cs.h157 #define bfa_q_next(_qe) (((struct list_head *) (_qe))->next) macro
164 bfa_q_next(_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))) = \
176 bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe));\
188 bfa_q_next(bfa_q_prev(*((struct list_head **) _qe))) = \
201 tqe = bfa_q_next(q); in bfa_q_is_on_q_func()
205 tqe = bfa_q_next(tqe); in bfa_q_is_on_q_func()
Dbfa_fcs_lport.c5743 qe = bfa_q_next(qe); in bfa_fcs_lport_get_rport()
5759 qe = bfa_q_next(qe); in bfa_fcs_lport_get_rport()
5791 qe = bfa_q_next(qe); in bfa_fcs_lport_get_rport_quals()
5799 qe = bfa_q_next(qe); in bfa_fcs_lport_get_rport_quals()
5807 qe = bfa_q_next(qe); in bfa_fcs_lport_get_rport_quals()
5850 qe = bfa_q_next(qe); in bfa_fcs_lport_get_rport_max_speed()
5865 qe = bfa_q_next(qe); in bfa_fcs_lport_get_rport_max_speed()
Dbfa_ioc.c3210 qe = bfa_q_next(qh); in bfa_timer_beat()
3213 qe_next = bfa_q_next(qe); in bfa_timer_beat()
Dbfa_svc.c1661 qe = bfa_q_next(first_lps); in bfa_lps_no_res()
1664 qe_next = bfa_q_next(qe); in bfa_lps_no_res()
Dbfa_fcpim.c2533 sgpg = (struct bfa_sgpg_s *) bfa_q_next(sgpg); in bfa_ioim_send_ioreq()