mkeys 265 oshmem/mca/memheap/base/base.h s->mkeys[btl_id].u.key, *rva); mkeys 266 oshmem/mca/memheap/base/base.h return &s->mkeys[btl_id]; mkeys 53 oshmem/mca/memheap/base/memheap_base_mkey.c sshmem_mkey_t *mkeys; mkeys 162 oshmem/mca/memheap/base/memheap_base_mkey.c &memheap_oob.mkeys[tr_id].va_base, mkeys 166 oshmem/mca/memheap/base/memheap_base_mkey.c if (0 == memheap_oob.mkeys[tr_id].va_base) { mkeys 168 oshmem/mca/memheap/base/memheap_base_mkey.c opal_dss.unpack(msg, &memheap_oob.mkeys[tr_id].u.key, &cnt, OPAL_UINT64); mkeys 170 oshmem/mca/memheap/base/memheap_base_mkey.c memheap_attach_segment(&memheap_oob.mkeys[tr_id], tr_id); mkeys 174 oshmem/mca/memheap/base/memheap_base_mkey.c opal_dss.unpack(msg, &memheap_oob.mkeys[tr_id].len, &cnt, OPAL_UINT16); mkeys 175 oshmem/mca/memheap/base/memheap_base_mkey.c if (0 < memheap_oob.mkeys[tr_id].len) { mkeys 176 oshmem/mca/memheap/base/memheap_base_mkey.c memheap_oob.mkeys[tr_id].u.data = malloc(memheap_oob.mkeys[tr_id].len); mkeys 177 oshmem/mca/memheap/base/memheap_base_mkey.c if (NULL == memheap_oob.mkeys[tr_id].u.data) { mkeys 178 oshmem/mca/memheap/base/memheap_base_mkey.c MEMHEAP_ERROR("Failed allocate %d bytes", memheap_oob.mkeys[tr_id].len); mkeys 181 oshmem/mca/memheap/base/memheap_base_mkey.c cnt = memheap_oob.mkeys[tr_id].len; mkeys 182 oshmem/mca/memheap/base/memheap_base_mkey.c opal_dss.unpack(msg, memheap_oob.mkeys[tr_id].u.data, &cnt, OPAL_BYTE); mkeys 184 oshmem/mca/memheap/base/memheap_base_mkey.c memheap_oob.mkeys[tr_id].u.key = MAP_SEGMENT_SHM_INVALID; mkeys 186 oshmem/mca/memheap/base/memheap_base_mkey.c MCA_SPML_CALL(rmkey_unpack(ctx, &memheap_oob.mkeys[tr_id], memheap_oob.segno, remote_pe, tr_id)); mkeys 191 oshmem/mca/memheap/base/memheap_base_mkey.c tr_id, mca_spml_base_mkey2str(&memheap_oob.mkeys[tr_id])); mkeys 459 oshmem/mca/memheap/base/memheap_base_mkey.c static int memheap_oob_get_mkeys(shmem_ctx_t ctx, int pe, uint32_t seg, sshmem_mkey_t *mkeys) mkeys 466 oshmem/mca/memheap/base/memheap_base_mkey.c if (OSHMEM_SUCCESS == MCA_SPML_CALL(oob_get_mkeys(ctx, pe, seg, mkeys))) { mkeys 472 oshmem/mca/memheap/base/memheap_base_mkey.c mca_spml_base_mkey2str(&mkeys[i])); mkeys 479 oshmem/mca/memheap/base/memheap_base_mkey.c memheap_oob.mkeys = mkeys; mkeys 648 oshmem/mca/memheap/base/memheap_base_mkey.c memheap_oob.mkeys = s->mkeys_cache[i]; mkeys 717 oshmem/mca/memheap/base/memheap_base_mkey.c return ((s && MAP_SEGMENT_IS_VALID(s)) ? &s->mkeys[tr_id] : NULL ); mkeys 81 oshmem/mca/memheap/base/memheap_base_register.c MCA_SPML_CALL(deregister(s->mkeys)); mkeys 123 oshmem/mca/memheap/base/memheap_base_register.c s->mkeys = MCA_SPML_CALL(register((void *)(unsigned long)s->super.va_base, mkeys 127 oshmem/mca/memheap/base/memheap_base_register.c if (NULL == s->mkeys) { mkeys 137 oshmem/mca/memheap/base/memheap_base_register.c s->mkeys_cache[my_pe] = s->mkeys; mkeys 78 oshmem/mca/spml/base/base.h sshmem_mkey_t *mkeys); mkeys 250 oshmem/mca/spml/base/spml_base.c int mca_spml_base_oob_get_mkeys(shmem_ctx_t ctx, int pe, uint32_t segno, sshmem_mkey_t *mkeys) mkeys 198 oshmem/mca/spml/ikrit/spml_ikrit.c mkey_segment_init(&peer->mkeys[seg].super, mkey, seg); mkeys 201 oshmem/mca/spml/ikrit/spml_ikrit.c memcpy(&peer->mkeys[seg].key, mkey->u.data, mkey->len); mkeys 203 oshmem/mca/spml/ikrit/spml_ikrit.c memcpy(&peer->mkeys[seg].key, &mxm_empty_mem_key, sizeof(mxm_empty_mem_key)); mkeys 444 oshmem/mca/spml/ikrit/spml_ikrit.c sshmem_mkey_t *mkeys; mkeys 450 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys = (sshmem_mkey_t *) calloc(1, MXM_PTL_LAST * sizeof(*mkeys)); mkeys 451 oshmem/mca/spml/ikrit/spml_ikrit.c if (!mkeys) { mkeys 456 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].u.key = MAP_SEGMENT_SHM_INVALID; mkeys 460 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].u.key = shmid; mkeys 461 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].va_base = 0; mkeys 463 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].len = 0; mkeys 464 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].va_base = addr; mkeys 466 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].spml_context = 0; mkeys 469 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].va_base = addr; mkeys 470 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].spml_context = 0; mkeys 473 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].len = 0; mkeys 482 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].spml_context = (void *)(unsigned long)size; mkeys 489 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].len = sizeof(*m_key); mkeys 490 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[i].u.data = m_key; mkeys 506 oshmem/mca/spml/ikrit/spml_ikrit.c mca_spml_base_mkey2str(&mkeys[i])); mkeys 508 oshmem/mca/spml/ikrit/spml_ikrit.c mca_spml_ikrit_cache_mkeys(&mkeys[i], memheap_find_segnum(addr), my_rank, i); mkeys 512 oshmem/mca/spml/ikrit/spml_ikrit.c return mkeys; mkeys 515 oshmem/mca/spml/ikrit/spml_ikrit.c mca_spml_ikrit_deregister(mkeys); mkeys 520 oshmem/mca/spml/ikrit/spml_ikrit.c int mca_spml_ikrit_deregister(sshmem_mkey_t *mkeys) mkeys 525 oshmem/mca/spml/ikrit/spml_ikrit.c if (!mkeys) mkeys 534 oshmem/mca/spml/ikrit/spml_ikrit.c if (!mkeys[i].spml_context) mkeys 537 oshmem/mca/spml/ikrit/spml_ikrit.c (void *)mkeys[i].va_base, mkeys 538 oshmem/mca/spml/ikrit/spml_ikrit.c (unsigned long)mkeys[i].spml_context, mkeys 540 oshmem/mca/spml/ikrit/spml_ikrit.c if (0 < mkeys[i].len) { mkeys 541 oshmem/mca/spml/ikrit/spml_ikrit.c free(mkeys[i].u.data); mkeys 546 oshmem/mca/spml/ikrit/spml_ikrit.c free(mkeys); mkeys 552 oshmem/mca/spml/ikrit/spml_ikrit.c int mca_spml_ikrit_oob_get_mkeys(int pe, uint32_t seg, sshmem_mkey_t *mkeys) mkeys 568 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[ptl].len = 0; mkeys 569 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[ptl].va_base = mca_memheap_seg2base_va(seg); mkeys 570 oshmem/mca/spml/ikrit/spml_ikrit.c mkeys[ptl].u.key = MAP_SEGMENT_SHM_INVALID; mkeys 571 oshmem/mca/spml/ikrit/spml_ikrit.c mca_spml_ikrit_cache_mkeys(&mkeys[ptl], seg, pe, ptl); mkeys 78 oshmem/mca/spml/ikrit/spml_ikrit.h spml_ikrit_mkey_t mkeys[MCA_MEMHEAP_SEG_COUNT]; mkeys 184 oshmem/mca/spml/ikrit/spml_ikrit.h extern int mca_spml_ikrit_deregister(sshmem_mkey_t *mkeys); mkeys 187 oshmem/mca/spml/ikrit/spml_ikrit.h sshmem_mkey_t *mkeys); mkeys 209 oshmem/mca/spml/ikrit/spml_ikrit.h mkey = module->mxm_peers[pe].mkeys; mkeys 173 oshmem/mca/spml/spml.h typedef int (*mca_spml_base_module_deregister_fn_t)(sshmem_mkey_t *mkeys); mkeys 185 oshmem/mca/spml/spml.h sshmem_mkey_t *mkeys); mkeys 272 oshmem/mca/spml/ucx/spml_ucx.c mca_spml_ucx_ctx_default.ucp_peers[i].mkeys[j].key.rkey = NULL; mkeys 345 oshmem/mca/spml/ucx/spml_ucx.c ucx_mkey = &ucx_ctx->ucp_peers[pe].mkeys[segno].key; mkeys 378 oshmem/mca/spml/ucx/spml_ucx.c ucx_mkey = &mca_spml_ucx_ctx_default.ucp_peers[my_pe].mkeys[HEAP_SEG_INDEX].key; mkeys 400 oshmem/mca/spml/ucx/spml_ucx.c sshmem_mkey_t *mkeys; mkeys 411 oshmem/mca/spml/ucx/spml_ucx.c mkeys = (sshmem_mkey_t *) calloc(1, sizeof(*mkeys)); mkeys 412 oshmem/mca/spml/ucx/spml_ucx.c if (!mkeys) { mkeys 419 oshmem/mca/spml/ucx/spml_ucx.c ucx_mkey = &mca_spml_ucx_ctx_default.ucp_peers[my_pe].mkeys[segno].key; mkeys 420 oshmem/mca/spml/ucx/spml_ucx.c mkeys[0].spml_context = ucx_mkey; mkeys 447 oshmem/mca/spml/ucx/spml_ucx.c &mkeys[0].u.data, &len); mkeys 459 oshmem/mca/spml/ucx/spml_ucx.c mkeys[0].u.data, mkeys 466 oshmem/mca/spml/ucx/spml_ucx.c mkeys[0].len = len; mkeys 467 oshmem/mca/spml/ucx/spml_ucx.c mkeys[0].va_base = addr; mkeys 469 oshmem/mca/spml/ucx/spml_ucx.c mca_spml_ucx_cache_mkey(&mca_spml_ucx_ctx_default, &mkeys[0], segno, my_pe); mkeys 470 oshmem/mca/spml/ucx/spml_ucx.c return mkeys; mkeys 475 oshmem/mca/spml/ucx/spml_ucx.c free(mkeys); mkeys 480 oshmem/mca/spml/ucx/spml_ucx.c int mca_spml_ucx_deregister(sshmem_mkey_t *mkeys) mkeys 486 oshmem/mca/spml/ucx/spml_ucx.c if (!mkeys) mkeys 489 oshmem/mca/spml/ucx/spml_ucx.c if (!mkeys[0].spml_context) mkeys 492 oshmem/mca/spml/ucx/spml_ucx.c mem_seg = memheap_find_va(mkeys[0].va_base); mkeys 493 oshmem/mca/spml/ucx/spml_ucx.c ucx_mkey = (spml_ucx_mkey_t*)mkeys[0].spml_context; mkeys 505 oshmem/mca/spml/ucx/spml_ucx.c if (0 < mkeys[0].len) { mkeys 506 oshmem/mca/spml/ucx/spml_ucx.c ucp_rkey_buffer_release(mkeys[0].u.data); mkeys 509 oshmem/mca/spml/ucx/spml_ucx.c free(mkeys); mkeys 597 oshmem/mca/spml/ucx/spml_ucx.c ucx_mkey = &ucx_ctx->ucp_peers[i].mkeys[j].key; mkeys 64 oshmem/mca/spml/ucx/spml_ucx.h spml_ucx_cached_mkey_t mkeys[MCA_MEMHEAP_MAX_SEGMENTS]; mkeys 156 oshmem/mca/spml/ucx/spml_ucx.h extern int mca_spml_ucx_deregister(sshmem_mkey_t *mkeys); mkeys 193 oshmem/mca/spml/ucx/spml_ucx.h mkey_segment_init(&peer->mkeys[segno].super, mkey, segno); mkeys 202 oshmem/mca/spml/ucx/spml_ucx.h mkey = ucx_ctx->ucp_peers[pe].mkeys; mkeys 318 oshmem/mca/spml/ucx/spml_ucx_component.c if (ctx->ucp_peers[i].mkeys[j].key.rkey != NULL) { mkeys 319 oshmem/mca/spml/ucx/spml_ucx_component.c ucp_rkey_destroy(ctx->ucp_peers[i].mkeys[j].key.rkey); mkeys 115 oshmem/mca/sshmem/sshmem_types.h sshmem_mkey_t *mkeys; /* includes local segment bases in va_base */