Searched refs:altqpp (Results 1 – 2 of 2) sorted by relevance
113 ibmf_alt_qp_t *altqpp; in ibmf_ibt_async_handler() local128 altqpp = cip->ci_alt_qp_list; in ibmf_ibt_async_handler()129 while (altqpp != NULL) { in ibmf_ibt_async_handler()130 if (altqpp->isq_qp_handle == qphdl) { in ibmf_ibt_async_handler()131 mutex_enter(&altqpp->isq_mutex); in ibmf_ibt_async_handler()132 cv_signal(&altqpp->isq_sqd_cv); in ibmf_ibt_async_handler()133 mutex_exit(&altqpp->isq_mutex); in ibmf_ibt_async_handler()137 altqpp = altqpp->isq_next; in ibmf_ibt_async_handler()
1075 ibmf_alt_qp_t *altqpp; in ibmf_i_fini_qplist() local1142 altqpp = ibmf_cip->ci_alt_qp_list; in ibmf_i_fini_qplist()1143 while (altqpp != NULL) { in ibmf_i_fini_qplist()1145 ibmf_cip->ci_alt_qp_list = altqpp->isq_next; in ibmf_i_fini_qplist()1148 if (altqpp->isq_qp_handle != NULL) { in ibmf_i_fini_qplist()1150 status = ibt_flush_qp(altqpp->isq_qp_handle); in ibmf_i_fini_qplist()1161 status = ibt_free_qp(altqpp->isq_qp_handle); in ibmf_i_fini_qplist()1171 mutex_destroy(&altqpp->isq_mutex); in ibmf_i_fini_qplist()1172 kmem_free((void *)altqpp, sizeof (ibmf_alt_qp_t)); in ibmf_i_fini_qplist()1176 altqpp = ibmf_cip->ci_alt_qp_list; in ibmf_i_fini_qplist()