Lines Matching refs:mwhdl
1516 hermon_mwhdl_t mwhdl; in hermon_ci_alloc_mw() local
1527 status = hermon_mw_alloc(state, pdhdl, flags, &mwhdl); in hermon_ci_alloc_mw()
1531 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*mwhdl)) in hermon_ci_alloc_mw()
1534 *mw_p = (ibc_mw_hdl_t)mwhdl; in hermon_ci_alloc_mw()
1535 *rkey_p = mwhdl->mr_rkey; in hermon_ci_alloc_mw()
1550 hermon_mwhdl_t mwhdl; in hermon_ci_free_mw() local
1555 mwhdl = (hermon_mwhdl_t)mw; in hermon_ci_free_mw()
1558 status = hermon_mw_free(state, &mwhdl, HERMON_NOSLEEP); in hermon_ci_free_mw()
1573 hermon_mwhdl_t mwhdl; in hermon_ci_query_mw() local
1578 mwhdl = (hermon_mwhdl_t)mw; in hermon_ci_query_mw()
1579 mutex_enter(&mwhdl->mr_lock); in hermon_ci_query_mw()
1580 mw_attr_p->mw_pd = (ibc_pd_hdl_t)mwhdl->mr_pdhdl; in hermon_ci_query_mw()
1581 mw_attr_p->mw_rkey = mwhdl->mr_rkey; in hermon_ci_query_mw()
1582 mutex_exit(&mwhdl->mr_lock); in hermon_ci_query_mw()