Searched refs:ibmf_cip (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/ |
H A D | ibmf_impl.c | 144 static int ibmf_i_init_qp(ibmf_ci_t *ibmf_cip, ibmf_qp_t *qpp); 145 static void ibmf_i_uninit_qp(ibmf_ci_t *ibmf_cip, ibmf_qp_t *qpp); 148 static void ibmf_i_init_qplist(ibmf_ci_t *ibmf_cip); 149 static void ibmf_i_fini_qplist(ibmf_ci_t *ibmf_cip); 150 static int ibmf_i_lookup_client_by_info(ibmf_ci_t *ibmf_cip, 1049 ibmf_i_init_qplist(ibmf_ci_t *ibmf_cip) in ibmf_i_init_qplist() argument 1053 tnf_opaque, cip, ibmf_cip); in ibmf_i_init_qplist() 1055 mutex_enter(&ibmf_cip->ci_mutex); in ibmf_i_init_qplist() 1056 ASSERT((ibmf_cip->ci_init_state & IBMF_CI_INIT_QP_LIST_INITED) == 0); in ibmf_i_init_qplist() 1057 ASSERT(ibmf_cip->ci_qp_list == NULL && ibmf_cip->ci_qp_list_tail == in ibmf_i_init_qplist() [all …]
|
H A D | ibmf.c | 52 ibmf_ci_t *ibmf_cip; in ibmf_register() local 113 status = ibmf_i_get_ci(client_infop, &ibmf_cip); in ibmf_register() 128 status = ibmf_i_validate_classes_and_port(ibmf_cip, client_infop); in ibmf_register() 130 mutex_enter(&ibmf_cip->ci_mutex); in ibmf_register() 131 IBMF_ADD32_PORT_KSTATS(ibmf_cip, client_regs_failed, 1); in ibmf_register() 132 mutex_exit(&ibmf_cip->ci_mutex); in ibmf_register() 134 ibmf_i_release_ci(ibmf_cip); in ibmf_register() 145 status = ibmf_i_get_qp(ibmf_cip, client_infop->ir_port_num, in ibmf_register() 148 mutex_enter(&ibmf_cip->ci_mutex); in ibmf_register() 149 IBMF_ADD32_PORT_KSTATS(ibmf_cip, client_regs_failed, 1); in ibmf_register() [all …]
|
H A D | ibmf_handlers.c | 315 ibmf_ci_t *ibmf_cip; in ibmf_i_mad_completions() local 322 ibmf_cip = arg; in ibmf_i_mad_completions() 324 ASSERT(ibmf_cip != NULL); in ibmf_i_mad_completions() 348 ibmf_i_process_completion(ibmf_cip, &cqe); in ibmf_i_mad_completions() 376 ibmf_i_process_completion(ibmf_cip, &cqe); in ibmf_i_mad_completions()
|
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibmf/ |
H A D | ibmf_impl.h | 609 int ibmf_i_validate_classes_and_port(ibmf_ci_t *ibmf_cip, 618 int ibmf_i_lookup_client_by_mgmt_class(ibmf_ci_t *ibmf_cip, int port_num, 622 int ibmf_i_get_qp(ibmf_ci_t *ibmf_cip, uint_t port_num, 624 void ibmf_i_release_qp(ibmf_ci_t *ibmf_cip, ibmf_qp_t **qpp);
|