/titanic_50/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_mr.h | 292 ibt_dmr_attr_t *attr_p, hermon_mrhdl_t *mrhdl); 294 ibt_mr_attr_t *attr_p, hermon_mrhdl_t *mrhdl, hermon_mr_options_t *op, 297 ibt_smr_attr_t *attrp, struct buf *buf, hermon_mrhdl_t *mrhdl, 304 int hermon_mr_register_shared(hermon_state_t *state, hermon_mrhdl_t mrhdl, 306 int hermon_mr_deregister(hermon_state_t *state, hermon_mrhdl_t *mrhdl, 308 int hermon_mr_query(hermon_state_t *state, hermon_mrhdl_t mrhdl, 310 int hermon_mr_reregister(hermon_state_t *state, hermon_mrhdl_t mrhdl, 325 hermon_fmrhdl_t fmr_pool, hermon_mrhdl_t *mrhdl); 326 int hermon_mr_dealloc_fmr(hermon_state_t *state, hermon_mrhdl_t *mrhdl);
|
H A D | hermon_misc.h | 639 ibt_pmr_attr_t *mem_pattr_p, hermon_mrhdl_t *mrhdl,
|
/titanic_50/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_mr.h | 310 ibt_dmr_attr_t *attr_p, tavor_mrhdl_t *mrhdl); 312 ibt_mr_attr_t *attr_p, tavor_mrhdl_t *mrhdl, tavor_mr_options_t *op); 314 ibt_smr_attr_t *attrp, struct buf *buf, tavor_mrhdl_t *mrhdl, 320 int tavor_mr_register_shared(tavor_state_t *state, tavor_mrhdl_t mrhdl, 322 int tavor_mr_deregister(tavor_state_t *state, tavor_mrhdl_t *mrhdl, 324 int tavor_mr_query(tavor_state_t *state, tavor_mrhdl_t mrhdl, 326 int tavor_mr_reregister(tavor_state_t *state, tavor_mrhdl_t mrhdl,
|
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_ci.c | 1113 hermon_mrhdl_t mrhdl; in hermon_ci_register_mr() local 1140 status = hermon_mr_register(state, pdhdl, mr_attr, &mrhdl, in hermon_ci_register_mr() 1145 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*mrhdl)) in hermon_ci_register_mr() 1148 mr_desc->md_vaddr = mrhdl->mr_bindinfo.bi_addr; in hermon_ci_register_mr() 1149 mr_desc->md_lkey = mrhdl->mr_lkey; in hermon_ci_register_mr() 1154 mr_desc->md_rkey = mrhdl->mr_rkey; in hermon_ci_register_mr() 1161 mr_desc->md_sync_required = (mrhdl->mr_bindinfo.bi_flags & in hermon_ci_register_mr() 1165 *mr_p = (ibc_mr_hdl_t)mrhdl; in hermon_ci_register_mr() 1185 hermon_mrhdl_t mrhdl; in hermon_ci_register_buf() local 1213 &mrhdl, &op, HERMON_MPT_DMPT); in hermon_ci_register_buf() [all …]
|
H A D | hermon_mr.c | 63 hermon_bind_info_t *bind, hermon_mrhdl_t *mrhdl, hermon_mr_options_t *op, 104 ibt_mr_attr_t *mr_attr, hermon_mrhdl_t *mrhdl, hermon_mr_options_t *op, in hermon_mr_register() argument 123 status = hermon_mr_common_reg(state, pd, &bind, mrhdl, op, in hermon_mr_register() 135 ibt_smr_attr_t *mr_attr, struct buf *buf, hermon_mrhdl_t *mrhdl, in hermon_mr_register_buf() argument 163 status = hermon_mr_common_reg(state, pd, &bind, mrhdl, op, mpt_type); in hermon_mr_register_buf() 173 hermon_mr_register_shared(hermon_state_t *state, hermon_mrhdl_t mrhdl, in hermon_mr_register_shared() argument 261 mutex_enter(&mrhdl->mr_lock); in hermon_mr_register_shared() 268 if ((mrhdl->mr_is_umem) && (mrhdl->mr_umemcookie == NULL)) { in hermon_mr_register_shared() 269 mutex_exit(&mrhdl->mr_lock); in hermon_mr_register_shared() 283 mr_is_umem = mrhdl->mr_is_umem; in hermon_mr_register_shared() [all …]
|
H A D | hermon_rsrc.c | 2627 hermon_mrhdl_t mrhdl; in hermon_rsrc_mrhdl_constructor() local 2630 mrhdl = (hermon_mrhdl_t)mr; in hermon_rsrc_mrhdl_constructor() 2633 mutex_init(&mrhdl->mr_lock, NULL, MUTEX_DRIVER, in hermon_rsrc_mrhdl_constructor() 2648 hermon_mrhdl_t mrhdl; in hermon_rsrc_mrhdl_destructor() local 2650 mrhdl = (hermon_mrhdl_t)mr; in hermon_rsrc_mrhdl_destructor() 2652 mutex_destroy(&mrhdl->mr_lock); in hermon_rsrc_mrhdl_destructor()
|
/titanic_50/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_mr.c | 55 tavor_bind_info_t *bind, tavor_mrhdl_t *mrhdl, tavor_mr_options_t *op); 91 ibt_mr_attr_t *mr_attr, tavor_mrhdl_t *mrhdl, tavor_mr_options_t *op) in tavor_mr_register() argument 111 status = tavor_mr_common_reg(state, pd, &bind, mrhdl, op); in tavor_mr_register() 130 ibt_smr_attr_t *mr_attr, struct buf *buf, tavor_mrhdl_t *mrhdl, in tavor_mr_register_buf() argument 160 status = tavor_mr_common_reg(state, pd, &bind, mrhdl, op); in tavor_mr_register_buf() 178 tavor_mr_register_shared(tavor_state_t *state, tavor_mrhdl_t mrhdl, in tavor_mr_register_shared() argument 278 mutex_enter(&mrhdl->mr_lock); in tavor_mr_register_shared() 285 if ((mrhdl->mr_is_umem) && (mrhdl->mr_umemcookie == NULL)) { in tavor_mr_register_shared() 286 mutex_exit(&mrhdl->mr_lock); in tavor_mr_register_shared() 301 mr_is_umem = mrhdl->mr_is_umem; in tavor_mr_register_shared() [all …]
|
H A D | tavor_ci.c | 1473 tavor_mrhdl_t mrhdl; in tavor_ci_register_mr() local 1521 status = tavor_mr_register(state, pdhdl, mr_attr, &mrhdl, &op); in tavor_ci_register_mr() 1528 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*mrhdl)) in tavor_ci_register_mr() 1531 mr_desc->md_vaddr = mrhdl->mr_bindinfo.bi_addr; in tavor_ci_register_mr() 1532 mr_desc->md_lkey = mrhdl->mr_lkey; in tavor_ci_register_mr() 1537 mr_desc->md_rkey = mrhdl->mr_rkey; in tavor_ci_register_mr() 1544 mr_desc->md_sync_required = (mrhdl->mr_bindinfo.bi_flags & in tavor_ci_register_mr() 1548 *mr_p = (ibc_mr_hdl_t)mrhdl; in tavor_ci_register_mr() 1569 tavor_mrhdl_t mrhdl; in tavor_ci_register_buf() local 1617 status = tavor_mr_register_buf(state, pdhdl, attrp, buf, &mrhdl, &op); in tavor_ci_register_buf() [all …]
|
H A D | tavor_rsrc.c | 2837 tavor_mrhdl_t mrhdl; in tavor_rsrc_mrhdl_constructor() local 2842 mrhdl = (tavor_mrhdl_t)mr; in tavor_rsrc_mrhdl_constructor() 2845 mutex_init(&mrhdl->mr_lock, NULL, MUTEX_DRIVER, in tavor_rsrc_mrhdl_constructor() 2861 tavor_mrhdl_t mrhdl; in tavor_rsrc_mrhdl_destructor() local 2865 mrhdl = (tavor_mrhdl_t)mr; in tavor_rsrc_mrhdl_destructor() 2867 mutex_destroy(&mrhdl->mr_lock); in tavor_rsrc_mrhdl_destructor()
|
/titanic_50/usr/src/uts/common/sys/ib/clients/iser/ |
H A D | iser_resource.h | 144 ibt_mr_hdl_t mrhdl[2]; /* MR handles for each SGE */ member
|