Searched refs:nodeq (Results 1 – 8 of 8) sorted by relevance
137 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 …]
2279 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 …]
317 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()
4434 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()
3611 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 …]
2904 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()
3283 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()
337 emlxs_queue_t nodeq; /* Node service queue */ member