Home
last modified time | relevance | path

Searched refs:nodeq (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_node.c137 if (cp->nodeq.q_first == (void *)ndlp && in emlxs_node_close()
138 cp->nodeq.q_last == (void *)ndlp) { in emlxs_node_close()
139 cp->nodeq.q_last = NULL; in emlxs_node_close()
140 cp->nodeq.q_first = NULL; in emlxs_node_close()
141 cp->nodeq.q_cnt = 0; in emlxs_node_close()
142 } else if (cp->nodeq.q_first == (void *)ndlp) { in emlxs_node_close()
143 cp->nodeq.q_first = ndlp->nlp_next[channelno]; in emlxs_node_close()
144 ((NODELIST *)cp->nodeq.q_last)->nlp_next[channelno] = in emlxs_node_close()
145 cp->nodeq.q_first; in emlxs_node_close()
146 cp->nodeq.q_cnt--; in emlxs_node_close()
[all …]
H A Demlxs_fcp.c2279 while (cp->nodeq.q_first) { in emlxs_tx_channel_flush()
2280 ndlp = (NODELIST *) cp->nodeq.q_first; in emlxs_tx_channel_flush()
2324 if (cp->nodeq.q_last == (void *)ndlp) { in emlxs_tx_channel_flush()
2325 cp->nodeq.q_last = NULL; in emlxs_tx_channel_flush()
2326 cp->nodeq.q_first = NULL; in emlxs_tx_channel_flush()
2327 cp->nodeq.q_cnt = 0; in emlxs_tx_channel_flush()
2330 cp->nodeq.q_first = ndlp->nlp_next[channelno]; in emlxs_tx_channel_flush()
2331 ((NODELIST *)cp->nodeq.q_last)->nlp_next[channelno] = in emlxs_tx_channel_flush()
2332 cp->nodeq.q_first; in emlxs_tx_channel_flush()
2333 cp->nodeq.q_cnt--; in emlxs_tx_channel_flush()
[all …]
H A Demlxs_clock.c317 nlp = (NODELIST *)cp->nodeq.q_first; in emlxs_timer_check_pkts()
437 if (nlp == (NODELIST *)cp->nodeq.q_last) { in emlxs_timer_check_pkts()
636 if (cp->nodeq.q_first) { in emlxs_timer_check_channels()
H A Demlxs_fct.c4434 cp->nodeq.q_last = (void *)nlp; in emlxs_fct_pkt_abort_txq()
4435 cp->nodeq.q_first = nlp->nlp_next[channelno]; in emlxs_fct_pkt_abort_txq()
4441 if (cp->nodeq.q_last == (void *)nlp) { in emlxs_fct_pkt_abort_txq()
4442 cp->nodeq.q_last = NULL; in emlxs_fct_pkt_abort_txq()
4443 cp->nodeq.q_first = NULL; in emlxs_fct_pkt_abort_txq()
4444 cp->nodeq.q_cnt = 0; in emlxs_fct_pkt_abort_txq()
4447 cp->nodeq.q_first = nlp->nlp_next[channelno]; in emlxs_fct_pkt_abort_txq()
4448 ((NODELIST *)cp->nodeq.q_last)-> in emlxs_fct_pkt_abort_txq()
4449 nlp_next[channelno] = cp->nodeq.q_first; in emlxs_fct_pkt_abort_txq()
4450 cp->nodeq.q_cnt--; in emlxs_fct_pkt_abort_txq()
H A Demlxs_solaris.c3611 cp->nodeq.q_last = (void *) nlp; in emlxs_fca_pkt_abort()
3612 cp->nodeq.q_first = nlp->nlp_next[channelno]; in emlxs_fca_pkt_abort()
3618 if (cp->nodeq.q_first == (void *)nlp && in emlxs_fca_pkt_abort()
3619 cp->nodeq.q_last == (void *)nlp) { in emlxs_fca_pkt_abort()
3620 cp->nodeq.q_last = NULL; in emlxs_fca_pkt_abort()
3621 cp->nodeq.q_first = NULL; in emlxs_fca_pkt_abort()
3622 cp->nodeq.q_cnt = 0; in emlxs_fca_pkt_abort()
3623 } else if (cp->nodeq.q_first == (void *)nlp) { in emlxs_fca_pkt_abort()
3624 cp->nodeq.q_first = nlp->nlp_next[channelno]; in emlxs_fca_pkt_abort()
3625 ((NODELIST *) cp->nodeq.q_last)-> in emlxs_fca_pkt_abort()
[all …]
H A Demlxs_sli3.c2904 if (cp->nodeq.q_first != NULL) { in emlxs_sli3_issue_iocb_cmd()
2944 if (cp->nodeq.q_first == marked_node) { in emlxs_sli3_issue_iocb_cmd()
H A Demlxs_sli4.c3283 if (cp->nodeq.q_first != NULL) { in emlxs_sli4_issue_iocb_cmd()
3320 if (cp->nodeq.q_first == marked_node) { in emlxs_sli4_issue_iocb_cmd()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h337 emlxs_queue_t nodeq; /* Node service queue */ member