Home
last modified time | relevance | path

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

/titanic_41/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.c2270 while (cp->nodeq.q_first) { in emlxs_tx_channel_flush()
2271 ndlp = (NODELIST *) cp->nodeq.q_first; in emlxs_tx_channel_flush()
2315 if (cp->nodeq.q_last == (void *)ndlp) { in emlxs_tx_channel_flush()
2316 cp->nodeq.q_last = NULL; in emlxs_tx_channel_flush()
2317 cp->nodeq.q_first = NULL; in emlxs_tx_channel_flush()
2318 cp->nodeq.q_cnt = 0; in emlxs_tx_channel_flush()
2321 cp->nodeq.q_first = ndlp->nlp_next[channelno]; in emlxs_tx_channel_flush()
2322 ((NODELIST *)cp->nodeq.q_last)->nlp_next[channelno] = in emlxs_tx_channel_flush()
2323 cp->nodeq.q_first; in emlxs_tx_channel_flush()
2324 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()
629 if (cp->nodeq.q_first) { in emlxs_timer_check_channels()
H A Demlxs_fct.c4420 cp->nodeq.q_last = (void *)nlp;
4421 cp->nodeq.q_first = nlp->nlp_next[channelno];
4427 if (cp->nodeq.q_last == (void *)nlp) {
4428 cp->nodeq.q_last = NULL;
4429 cp->nodeq.q_first = NULL;
4430 cp->nodeq.q_cnt = 0;
4433 cp->nodeq.q_first = nlp->nlp_next[channelno];
4434 ((NODELIST *)cp->nodeq.q_last)->
4435 nlp_next[channelno] = cp->nodeq.q_first;
4436 cp->nodeq.q_cnt--;
H A Demlxs_solaris.c3601 cp->nodeq.q_last = (void *) nlp; in emlxs_fca_pkt_abort()
3602 cp->nodeq.q_first = nlp->nlp_next[channelno]; in emlxs_fca_pkt_abort()
3608 if (cp->nodeq.q_first == (void *)nlp && in emlxs_fca_pkt_abort()
3609 cp->nodeq.q_last == (void *)nlp) { in emlxs_fca_pkt_abort()
3610 cp->nodeq.q_last = NULL; in emlxs_fca_pkt_abort()
3611 cp->nodeq.q_first = NULL; in emlxs_fca_pkt_abort()
3612 cp->nodeq.q_cnt = 0; in emlxs_fca_pkt_abort()
3613 } else if (cp->nodeq.q_first == (void *)nlp) { in emlxs_fca_pkt_abort()
3614 cp->nodeq.q_first = nlp->nlp_next[channelno]; in emlxs_fca_pkt_abort()
3615 ((NODELIST *) cp->nodeq.q_last)-> in emlxs_fca_pkt_abort()
[all …]
H A Demlxs_sli3.c2899 if (cp->nodeq.q_first != NULL) { in emlxs_sli3_issue_iocb_cmd()
2939 if (cp->nodeq.q_first == marked_node) { in emlxs_sli3_issue_iocb_cmd()
H A Demlxs_sli4.c2926 if (cp->nodeq.q_first != NULL) { in emlxs_sli4_issue_iocb_cmd()
2963 if (cp->nodeq.q_first == marked_node) { in emlxs_sli4_issue_iocb_cmd()
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fc.h336 emlxs_queue_t nodeq; /* Node service queue */ member