/osnet-11/usr/src/lib/udapl/udapl_tavor/common/ |
H A D | dapl_lmr_util.c | 53 DAPL_LMR *lmr; local 56 lmr = (DAPL_LMR *)dapl_os_alloc(sizeof (DAPL_LMR)); 57 if (NULL == lmr) { 62 (void) dapl_os_memzero(lmr, sizeof (DAPL_LMR)); 67 lmr->header.provider = ia->header.provider; 68 lmr->header.magic = DAPL_MAGIC_LMR; 69 lmr->header.handle_type = DAT_HANDLE_TYPE_LMR; 70 lmr->header.owner_ia = ia; 71 lmr->header.user_context.as_64 = 0; 72 lmr 92 dapl_lmr_dealloc(IN DAPL_LMR *lmr) argument [all...] |
H A D | dapl_lmr_free.c | 67 DAPL_LMR *lmr; local 78 lmr = (DAPL_LMR *)lmr_handle; 80 switch (lmr->param.mem_type) { 86 if (0 != lmr->lmr_ref_count) { 91 lmr->header.owner_ia->hca_ptr->lmr_hash_table, 92 lmr->param.lmr_context, NULL); 97 dat_status = dapls_ib_mr_deregister(lmr); 100 pz = (DAPL_PZ *) lmr->param.pz_handle; 103 dapl_lmr_dealloc(lmr); 109 (void) dapls_hash_insert(lmr [all...] |
H A D | dapl_mr_util.c | 61 DAPL_LMR *lmr; local 63 lmr = (DAPL_LMR *)desc.for_lmr_handle; 66 return (dapl_mr_get_address(lmr->param.region_desc, 67 lmr->param.mem_type));
|
H A D | dapl_lmr_create.c | 92 DAPL_LMR *lmr; local 99 lmr = dapl_lmr_alloc(ia, DAT_MEM_TYPE_VIRTUAL, 102 if (NULL == lmr) { 109 dat_status = dapls_ib_mr_register(ia, lmr, virt_addr, 112 dat_status = dapls_ib_mr_register_shared(ia, lmr, virt_addr, 117 dapl_lmr_dealloc(lmr); 123 lmr->param.lmr_context, NULL); 125 (void) dapls_ib_mr_deregister(lmr); 126 dapl_lmr_dealloc(lmr); 134 lmr 182 DAPL_LMR *lmr; local 351 DAPL_LMR *lmr; local [all...] |
H A D | dapl_lmr_query.c | 68 DAPL_LMR *lmr; local 87 lmr = (DAPL_LMR *) lmr_handle; 89 (void) dapl_os_memcpy(lmr_param, &lmr->param, sizeof (DAT_LMR_PARAM));
|
H A D | dapl_rmr_bind.c | 89 DAPL_LMR *lmr; local 96 (DAPL_HASH_DATA *) &lmr); 119 dapl_mr_get_address(lmr->param.region_desc, lmr->param.mem_type), 120 lmr->param.length, 129 if ((ep_ptr->param.pz_handle != lmr->param.pz_handle) || 165 (void) dapl_os_atomic_inc(&lmr->lmr_ref_count); 168 if (NULL != rmr->lmr) { 169 (void) dapl_os_atomic_dec(&rmr->lmr->lmr_ref_count); 175 rmr->lmr [all...] |
H A D | dapl_rmr_free.c | 83 (void) dapl_os_atomic_dec(&rmr->lmr->lmr_ref_count);
|
H A D | dapl_rmr_query.c | 87 (NULL == rmr->lmr)) {
|
H A D | dapl_rmr_util.c | 73 rmr->lmr = NULL;
|
H A D | dapl_osd.c | 404 lmr->lmr_ref_count);
|
/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_ibtf_mrsync.c | 39 DAPL_LMR *lmr; local 55 lmr_triplet[i].lmr_context, (DAPL_HASH_DATA *)&lmr); 63 dapl_mr_get_address(lmr->param.region_desc, 64 lmr->param.mem_type), 65 lmr->param.length, 72 args.mrs_vec[j].mrsv_hkey = lmr->mr_handle->mr_hkey;
|
H A D | dapl_tavor_ibtf_util.c | 694 * lmr pointer to dapl_lmr struct 709 IN DAPL_LMR *lmr, 724 "mr_register: lmr 0x%p, ia 0x%p, " 725 "cannot alloc mr_handle\n", lmr, ia); 728 pz_handle = ((DAPL_PZ *)lmr->param.pz_handle); 731 "mr_register: lmr 0x%p, ia 0x%p, " 732 "pz_handle == NULL!\n", lmr, ia); 744 "mr_register: lmr 0x%p, pd_hkey 0x%016llx, vaddr 0x%016llx, " 745 "len %llu, flags 0x%x\n", lmr, reg_msg.mr_pd_hkey, 752 "mr_register: lmr 707 dapls_ib_mr_register( IN DAPL_IA *ia, IN DAPL_LMR *lmr, IN DAT_PVOID virt_addr, IN DAT_VLEN length, IN DAT_MEM_PRIV_FLAGS privileges) argument 792 dapls_ib_mr_register_shared( IN DAPL_IA *ia, IN DAPL_LMR *lmr, IN DAT_PVOID virt_addr, IN DAT_VLEN length, IN DAT_LMR_COOKIE cookie, IN DAT_MEM_PRIV_FLAGS privileges) argument 887 dapls_ib_mr_deregister( IN DAPL_LMR *lmr) argument 941 dapls_ib_mr_register_lmr( IN DAPL_IA *ia, IN DAPL_LMR *lmr, IN DAT_MEM_PRIV_FLAGS privileges) argument [all...] |
/osnet-11/usr/src/lib/udapl/udapl_tavor/include/ |
H A D | dapl_lmr_util.h | 61 extern void dapl_lmr_dealloc(IN DAPL_LMR *lmr);
|
H A D | dapl_adapter_util.h | 183 IN DAPL_LMR *lmr, 190 IN DAPL_LMR *lmr, 197 IN DAPL_LMR *lmr); 201 IN DAPL_LMR *lmr,
|
H A D | dapl.h | 532 DAPL_LMR *lmr; member in struct:dapl_rmr
|
/osnet-11/usr/src/lib/udapl/libdat/include/dat/ |
H A D | dat_redirection.h | 44 * All DAT objects have an 'api' tag which, such as 'ep' or 'lmr' 266 #define DAT_LMR_QUERY(lmr, mask, param)\ 267 (*DAT_HANDLE_TO_PROVIDER(lmr)->lmr_query_func)(\ 268 (lmr),\ 272 #define DAT_LMR_FREE(lmr)\ 273 (*DAT_HANDLE_TO_PROVIDER(lmr)->lmr_free_func)(\ 274 (lmr)) 299 #define DAT_RMR_BIND(rmr, lmr, mem_priv, ep, cookie, flags, context) \ 302 (lmr),\
|
H A D | udat_redirection.h | 43 * All DAT objects have an 'api' tag which, such as 'ep' or 'lmr' 55 lmr, lmr_context, rmr_context, reg_len, reg_addr) \ 63 (lmr),\
|