rcache 120 opal/class/opal_free_list.c mca_rcache_base_module_t *rcache, opal_free_list_item_init_fn_t item_init, rcache 150 opal/class/opal_free_list.c flist->fl_rcache = rcache; rcache 140 opal/class/opal_free_list.h struct mca_rcache_base_module_t *rcache, rcache 137 opal/mca/btl/ofi/btl_ofi.h mca_rcache_base_module_t *rcache; rcache 151 opal/mca/btl/ofi/btl_ofi_module.c module->rcache = mca_rcache_base_module_create ("grdma", module, &rcache_resources); rcache 154 opal/mca/btl/ofi/btl_ofi_module.c if (NULL == module->rcache) { rcache 193 opal/mca/btl/ofi/btl_ofi_module.c rc = ofi_module->rcache->rcache_register (ofi_module->rcache, base, size, 0, access_flags, rcache 219 opal/mca/btl/ofi/btl_ofi_module.c (void) ofi_module->rcache->rcache_deregister (ofi_module->rcache, ®->base); rcache 316 opal/mca/btl/ofi/btl_ofi_module.c if (ofi_btl->rcache) { rcache 317 opal/mca/btl/ofi/btl_ofi_module.c mca_rcache_base_module_destroy (ofi_btl->rcache); rcache 318 opal/mca/btl/ofi/btl_ofi_module.c ofi_btl->rcache = NULL; rcache 385 opal/mca/btl/smcuda/btl_smcuda.c smcuda_btl->rcache = mca_rcache_base_module_create("gpusm", smcuda_btl, &rcache_res); rcache 386 opal/mca/btl/smcuda/btl_smcuda.c if (NULL == smcuda_btl->rcache) { rcache 519 opal/mca/btl/smcuda/btl_smcuda.c ep->rcache = mca_rcache_base_module_create ("rgpusm", NULL, NULL); rcache 725 opal/mca/btl/smcuda/btl_smcuda.c if (peers[i]->rcache) { rcache 726 opal/mca/btl/smcuda/btl_smcuda.c mca_rcache_base_module_destroy (peers[i]->rcache); rcache 727 opal/mca/btl/smcuda/btl_smcuda.c peers[i]->rcache = NULL; rcache 1056 opal/mca/btl/smcuda/btl_smcuda.c smcuda_module->rcache->rcache_register (smcuda_module->rcache, base, size, rcache_flags, rcache 1072 opal/mca/btl/smcuda/btl_smcuda.c smcuda_module->rcache->rcache_deregister (smcuda_module->rcache, ®->base); rcache 1127 opal/mca/btl/smcuda/btl_smcuda.c rc = ep->rcache->rcache_register (ep->rcache, remote_handle->reg_data.memh_seg_addr.pval, rcache 222 opal/mca/btl/smcuda/btl_smcuda.h mca_rcache_base_module_t *rcache; rcache 1141 opal/mca/btl/smcuda/btl_smcuda_component.c frag->endpoint->rcache->rcache_deregister (frag->endpoint->rcache, rcache 41 opal/mca/btl/smcuda/btl_smcuda_endpoint.h mca_rcache_base_module_t *rcache; /**< rcache for remotely registered memory */ rcache 89 opal/mca/btl/uct/btl_uct.h mca_rcache_base_module_t *rcache; rcache 393 opal/mca/btl/uct/btl_uct_component.c module->rcache = mca_rcache_base_module_create ("grdma", module, &rcache_resources); rcache 395 opal/mca/btl/uct/btl_uct_component.c if (NULL == module->rcache) { rcache 96 opal/mca/btl/uct/btl_uct_module.c 0, 1024, 64, NULL, 0, uct_module->rcache, NULL, NULL); rcache 101 opal/mca/btl/uct/btl_uct_module.c NULL, 0, uct_module->rcache, NULL, NULL); rcache 173 opal/mca/btl/uct/btl_uct_module.c rc = uct_module->rcache->rcache_register (uct_module->rcache, base, size, 0, access_flags, rcache 199 opal/mca/btl/uct/btl_uct_module.c (void) uct_module->rcache->rcache_deregister (uct_module->rcache, ®->base); rcache 281 opal/mca/btl/uct/btl_uct_module.c if (uct_module->rcache) { rcache 282 opal/mca/btl/uct/btl_uct_module.c mca_rcache_base_module_destroy (uct_module->rcache); rcache 199 opal/mca/btl/ugni/btl_ugni.h mca_rcache_base_module_t *rcache; rcache 387 opal/mca/btl/ugni/btl_ugni_add_procs.c ugni_module->rcache = rcache 390 opal/mca/btl/ugni/btl_ugni_add_procs.c if (NULL == ugni_module->rcache) { rcache 402 opal/mca/btl/ugni/btl_ugni_add_procs.c ugni_module->super.btl_mpool, 0, ugni_module->rcache, rcache 417 opal/mca/btl/ugni/btl_ugni_add_procs.c ugni_module->super.btl_mpool, 0, ugni_module->rcache, rcache 445 opal/mca/btl/ugni/btl_ugni_add_procs.c ugni_module->rcache, NULL, NULL); rcache 214 opal/mca/btl/ugni/btl_ugni_frag.h ugni_module->rcache->rcache_deregister (ugni_module->rcache, rcache 207 opal/mca/btl/ugni/btl_ugni_module.c if (ugni_module->rcache) { rcache 208 opal/mca/btl/ugni/btl_ugni_module.c mca_rcache_base_module_destroy (ugni_module->rcache); rcache 309 opal/mca/btl/ugni/btl_ugni_module.c rc = ugni_module->rcache->rcache_register (ugni_module->rcache, base, size, 0, access_flags, rcache 324 opal/mca/btl/ugni/btl_ugni_module.c (void) ugni_module->rcache->rcache_deregister (ugni_module->rcache, ®->base); rcache 77 opal/mca/btl/ugni/btl_ugni_prepare.h rc = ugni_module->rcache->rcache_register (ugni_module->rcache, data_ptr, *size, 0, rcache 925 opal/mca/btl/usnic/btl_usnic_module.c mca_rcache_base_module_destroy(module->rcache); rcache 1854 opal/mca/btl/usnic/btl_usnic_module.c module->rcache /* registration cache for 2.1+ */, rcache 2177 opal/mca/btl/usnic/btl_usnic_module.c module->rcache = rcache 2180 opal/mca/btl/usnic/btl_usnic_module.c if (NULL == module->rcache) { rcache 2364 opal/mca/btl/usnic/btl_usnic_module.c module->rcache, rcache 2419 opal/mca/btl/usnic/btl_usnic_module.c module->rcache, rcache 2441 opal/mca/btl/usnic/btl_usnic_module.c module->rcache, rcache 2498 opal/mca/btl/usnic/btl_usnic_module.c mca_rcache_base_module_destroy (module->rcache); rcache 208 opal/mca/btl/usnic/btl_usnic_module.h mca_rcache_base_module_t *rcache; rcache 58 opal/mca/rcache/base/rcache_base_frame.c reg->rcache = NULL; rcache 137 opal/mca/rcache/base/rcache_base_frame.c MCA_BASE_FRAMEWORK_DECLARE(opal, rcache, "OPAL Registration Cache", rcache 62 opal/mca/rcache/gpusm/rcache_gpusm.h void mca_rcache_gpusm_module_init(mca_rcache_gpusm_module_t *rcache); rcache 67 opal/mca/rcache/gpusm/rcache_gpusm.h int mca_rcache_gpusm_register(mca_rcache_base_module_t* rcache, void *addr, rcache 73 opal/mca/rcache/gpusm/rcache_gpusm.h int mca_rcache_gpusm_deregister(mca_rcache_base_module_t *rcache, rcache 79 opal/mca/rcache/gpusm/rcache_gpusm.h int mca_rcache_gpusm_find(struct mca_rcache_base_module_t* rcache, void* addr, rcache 85 opal/mca/rcache/gpusm/rcache_gpusm.h void mca_rcache_gpusm_finalize(struct mca_rcache_base_module_t *rcache); rcache 70 opal/mca/rcache/gpusm/rcache_gpusm_module.c void mca_rcache_gpusm_module_init(mca_rcache_gpusm_module_t* rcache) rcache 72 opal/mca/rcache/gpusm/rcache_gpusm_module.c rcache->super.rcache_component = &mca_rcache_gpusm_component.super; rcache 73 opal/mca/rcache/gpusm/rcache_gpusm_module.c rcache->super.rcache_register = mca_rcache_gpusm_register; rcache 74 opal/mca/rcache/gpusm/rcache_gpusm_module.c rcache->super.rcache_find = mca_rcache_gpusm_find; rcache 75 opal/mca/rcache/gpusm/rcache_gpusm_module.c rcache->super.rcache_deregister = mca_rcache_gpusm_deregister; rcache 76 opal/mca/rcache/gpusm/rcache_gpusm_module.c rcache->super.rcache_finalize = mca_rcache_gpusm_finalize; rcache 78 opal/mca/rcache/gpusm/rcache_gpusm_module.c OBJ_CONSTRUCT(&rcache->reg_list, opal_free_list_t); rcache 83 opal/mca/rcache/gpusm/rcache_gpusm_module.c opal_free_list_init (&rcache->reg_list, sizeof(struct mca_rcache_common_cuda_reg_t), rcache 95 opal/mca/rcache/gpusm/rcache_gpusm_module.c int mca_rcache_gpusm_find(mca_rcache_base_module_t *rcache, void *addr, rcache 99 opal/mca/rcache/gpusm/rcache_gpusm_module.c return mca_rcache_gpusm_register(rcache, addr, size, 0, 0, reg); rcache 108 opal/mca/rcache/gpusm/rcache_gpusm_module.c int mca_rcache_gpusm_register(mca_rcache_base_module_t *rcache, void *addr, rcache 112 opal/mca/rcache/gpusm/rcache_gpusm_module.c mca_rcache_gpusm_module_t *rcache_gpusm = (mca_rcache_gpusm_module_t*)rcache; rcache 133 opal/mca/rcache/gpusm/rcache_gpusm_module.c gpusm_reg->rcache = rcache; rcache 155 opal/mca/rcache/gpusm/rcache_gpusm_module.c int mca_rcache_gpusm_deregister(struct mca_rcache_base_module_t *rcache, rcache 159 opal/mca/rcache/gpusm/rcache_gpusm_module.c mca_rcache_gpusm_module_t *rcache_gpusm = (mca_rcache_gpusm_module_t *)rcache; rcache 169 opal/mca/rcache/gpusm/rcache_gpusm_module.c void mca_rcache_gpusm_finalize(struct mca_rcache_base_module_t *rcache) rcache 172 opal/mca/rcache/gpusm/rcache_gpusm_module.c mca_rcache_gpusm_module_t *rcache_gpusm = (mca_rcache_gpusm_module_t *)rcache; rcache 81 opal/mca/rcache/grdma/rcache_grdma.h void mca_rcache_grdma_module_init(mca_rcache_grdma_module_t *rcache, mca_rcache_grdma_cache_t *cache); rcache 51 opal/mca/rcache/grdma/rcache_grdma_module.c static int mca_rcache_grdma_register (mca_rcache_base_module_t *rcache, void *addr, rcache 54 opal/mca/rcache/grdma/rcache_grdma_module.c static int mca_rcache_grdma_deregister (mca_rcache_base_module_t *rcache, rcache 56 opal/mca/rcache/grdma/rcache_grdma_module.c static int mca_rcache_grdma_find (mca_rcache_base_module_t *rcache, void *addr, rcache 58 opal/mca/rcache/grdma/rcache_grdma_module.c static int mca_rcache_grdma_invalidate_range (mca_rcache_base_module_t *rcache, void *base, rcache 60 opal/mca/rcache/grdma/rcache_grdma_module.c static void mca_rcache_grdma_finalize (mca_rcache_base_module_t *rcache); rcache 61 opal/mca/rcache/grdma/rcache_grdma_module.c static bool mca_rcache_grdma_evict (mca_rcache_base_module_t *rcache); rcache 79 opal/mca/rcache/grdma/rcache_grdma_module.c static int check_for_cuda_freed_memory(mca_rcache_base_module_t *rcache, void *addr, size_t size); rcache 112 opal/mca/rcache/grdma/rcache_grdma_module.c void mca_rcache_grdma_module_init(mca_rcache_grdma_module_t* rcache, mca_rcache_grdma_cache_t *cache) rcache 115 opal/mca/rcache/grdma/rcache_grdma_module.c rcache->cache = cache; rcache 117 opal/mca/rcache/grdma/rcache_grdma_module.c rcache->super.rcache_component = &mca_rcache_grdma_component.super; rcache 118 opal/mca/rcache/grdma/rcache_grdma_module.c rcache->super.rcache_register = mca_rcache_grdma_register; rcache 119 opal/mca/rcache/grdma/rcache_grdma_module.c rcache->super.rcache_find = mca_rcache_grdma_find; rcache 120 opal/mca/rcache/grdma/rcache_grdma_module.c rcache->super.rcache_deregister = mca_rcache_grdma_deregister; rcache 121 opal/mca/rcache/grdma/rcache_grdma_module.c rcache->super.rcache_invalidate_range = mca_rcache_grdma_invalidate_range; rcache 122 opal/mca/rcache/grdma/rcache_grdma_module.c rcache->super.rcache_finalize = mca_rcache_grdma_finalize; rcache 123 opal/mca/rcache/grdma/rcache_grdma_module.c rcache->super.rcache_evict = mca_rcache_grdma_evict; rcache 125 opal/mca/rcache/grdma/rcache_grdma_module.c rcache->stat_cache_hit = rcache->stat_cache_miss = rcache->stat_evicted = 0; rcache 126 opal/mca/rcache/grdma/rcache_grdma_module.c rcache->stat_cache_found = rcache->stat_cache_notfound = 0; rcache 128 opal/mca/rcache/grdma/rcache_grdma_module.c OBJ_CONSTRUCT(&rcache->reg_list, opal_free_list_t); rcache 129 opal/mca/rcache/grdma/rcache_grdma_module.c opal_free_list_init (&rcache->reg_list, rcache->resources.sizeof_reg, rcache 138 opal/mca/rcache/grdma/rcache_grdma_module.c mca_rcache_grdma_module_t *rcache_grdma = (mca_rcache_grdma_module_t *) reg->rcache; rcache 158 opal/mca/rcache/grdma/rcache_grdma_module.c static inline void do_unregistration_gc (mca_rcache_base_module_t *rcache) rcache 160 opal/mca/rcache/grdma/rcache_grdma_module.c mca_rcache_grdma_module_t *rcache_grdma = (mca_rcache_grdma_module_t *) rcache; rcache 183 opal/mca/rcache/grdma/rcache_grdma_module.c rcache_grdma = (mca_rcache_grdma_module_t *) old_reg->rcache; rcache 193 opal/mca/rcache/grdma/rcache_grdma_module.c static bool mca_rcache_grdma_evict (mca_rcache_base_module_t *rcache) rcache 195 opal/mca/rcache/grdma/rcache_grdma_module.c return mca_rcache_grdma_evict_lru_local (((mca_rcache_grdma_module_t *) rcache)->cache); rcache 246 opal/mca/rcache/grdma/rcache_grdma_module.c if ((grdma_reg->flags & MCA_RCACHE_FLAGS_INVALID) || &rcache_grdma->super != grdma_reg->rcache || rcache 275 opal/mca/rcache/grdma/rcache_grdma_module.c static int mca_rcache_grdma_register (mca_rcache_base_module_t *rcache, void *addr, rcache 279 opal/mca/rcache/grdma/rcache_grdma_module.c mca_rcache_grdma_module_t *rcache_grdma = (mca_rcache_grdma_module_t*)rcache; rcache 301 opal/mca/rcache/grdma/rcache_grdma_module.c check_for_cuda_freed_memory(rcache, base, psize); rcache 305 opal/mca/rcache/grdma/rcache_grdma_module.c do_unregistration_gc (rcache); rcache 333 opal/mca/rcache/grdma/rcache_grdma_module.c grdma_reg->rcache = rcache; rcache 349 opal/mca/rcache/grdma/rcache_grdma_module.c if (!mca_rcache_grdma_evict (rcache)) { rcache 382 opal/mca/rcache/grdma/rcache_grdma_module.c static int mca_rcache_grdma_find (mca_rcache_base_module_t *rcache, void *addr, rcache 385 opal/mca/rcache/grdma/rcache_grdma_module.c mca_rcache_grdma_module_t *rcache_grdma = (mca_rcache_grdma_module_t*)rcache; rcache 417 opal/mca/rcache/grdma/rcache_grdma_module.c static int mca_rcache_grdma_deregister (mca_rcache_base_module_t *rcache, rcache 420 opal/mca/rcache/grdma/rcache_grdma_module.c mca_rcache_grdma_module_t *rcache_grdma = (mca_rcache_grdma_module_t *) rcache; rcache 449 opal/mca/rcache/grdma/rcache_grdma_module.c mca_rcache_grdma_module_t *rcache_grdma = (mca_rcache_grdma_module_t *) grdma_reg->rcache; rcache 491 opal/mca/rcache/grdma/rcache_grdma_module.c static int mca_rcache_grdma_invalidate_range (mca_rcache_base_module_t *rcache, rcache 494 opal/mca/rcache/grdma/rcache_grdma_module.c mca_rcache_grdma_module_t *rcache_grdma = (mca_rcache_grdma_module_t *) rcache; rcache 505 opal/mca/rcache/grdma/rcache_grdma_module.c static int check_for_cuda_freed_memory (mca_rcache_base_module_t *rcache, void *addr, size_t size) rcache 507 opal/mca/rcache/grdma/rcache_grdma_module.c mca_rcache_grdma_module_t *rcache_grdma = (mca_rcache_grdma_module_t *) rcache; rcache 527 opal/mca/rcache/grdma/rcache_grdma_module.c static void mca_rcache_grdma_finalize (mca_rcache_base_module_t *rcache) rcache 529 opal/mca/rcache/grdma/rcache_grdma_module.c mca_rcache_grdma_module_t *rcache_grdma = (mca_rcache_grdma_module_t*)rcache; rcache 544 opal/mca/rcache/grdma/rcache_grdma_module.c gc_add, (void *) rcache); rcache 545 opal/mca/rcache/grdma/rcache_grdma_module.c do_unregistration_gc (rcache); rcache 552 opal/mca/rcache/grdma/rcache_grdma_module.c free(rcache); rcache 87 opal/mca/rcache/rcache.h mca_rcache_base_module_t *rcache; rcache 132 opal/mca/rcache/rcache.h typedef int (*mca_rcache_base_module_register_fn_t) (mca_rcache_base_module_t *rcache, rcache 140 opal/mca/rcache/rcache.h typedef int (*mca_rcache_base_module_deregister_fn_t) (mca_rcache_base_module_t *rcache, rcache 147 opal/mca/rcache/rcache.h typedef int (*mca_rcache_base_module_find_fn_t) (mca_rcache_base_module_t *rcache, void *addr, rcache 153 opal/mca/rcache/rcache.h typedef int (*mca_rcache_base_module_invalidate_range_fn_t) (mca_rcache_base_module_t *rcache, rcache 162 opal/mca/rcache/rcache.h typedef bool (*mca_rcache_base_module_evict_fn_t) (mca_rcache_base_module_t *rcache); rcache 167 opal/mca/rcache/rcache.h typedef void (*mca_rcache_base_module_finalize_fn_t)(mca_rcache_base_module_t *rcache); rcache 67 opal/mca/rcache/rgpusm/rcache_rgpusm.h void mca_rcache_rgpusm_module_init(mca_rcache_rgpusm_module_t *rcache); rcache 72 opal/mca/rcache/rgpusm/rcache_rgpusm.h int mca_rcache_rgpusm_register(mca_rcache_base_module_t* rcache, void *addr, rcache 78 opal/mca/rcache/rgpusm/rcache_rgpusm.h int mca_rcache_rgpusm_deregister(mca_rcache_base_module_t *rcache, rcache 84 opal/mca/rcache/rgpusm/rcache_rgpusm.h void mca_rcache_rgpusm_free(mca_rcache_base_module_t *rcache, void * addr, rcache 90 opal/mca/rcache/rgpusm/rcache_rgpusm.h int mca_rcache_rgpusm_find(struct mca_rcache_base_module_t* rcache, void* addr, rcache 96 opal/mca/rcache/rgpusm/rcache_rgpusm.h int mca_rcache_rgpusm_release_memory(mca_rcache_base_module_t* rcache, void *base, rcache 102 opal/mca/rcache/rgpusm/rcache_rgpusm.h void mca_rcache_rgpusm_finalize(struct mca_rcache_base_module_t *rcache); rcache 98 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c static inline bool mca_rcache_rgpusm_deregister_lru (mca_rcache_base_module_t *rcache) { rcache 99 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c mca_rcache_rgpusm_module_t *rcache_rgpusm = (mca_rcache_rgpusm_module_t *) rcache; rcache 116 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 119 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_LOCK(&rcache->lock); rcache 142 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c void mca_rcache_rgpusm_module_init(mca_rcache_rgpusm_module_t* rcache) rcache 144 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c rcache->super.rcache_component = &mca_rcache_rgpusm_component.super; rcache 145 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c rcache->super.rcache_register = mca_rcache_rgpusm_register; rcache 146 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c rcache->super.rcache_find = mca_rcache_rgpusm_find; rcache 147 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c rcache->super.rcache_deregister = mca_rcache_rgpusm_deregister; rcache 148 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c rcache->super.rcache_finalize = mca_rcache_rgpusm_finalize; rcache 149 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c rcache->vma_module = mca_rcache_base_vma_module_alloc (); rcache 151 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OBJ_CONSTRUCT(&rcache->reg_list, opal_free_list_t); rcache 152 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c opal_free_list_init (&rcache->reg_list, sizeof(struct mca_rcache_common_cuda_reg_t), rcache 157 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OBJ_CONSTRUCT(&rcache->lru_list, opal_list_t); rcache 158 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c rcache->stat_cache_hit = rcache->stat_cache_miss = rcache->stat_evicted = 0; rcache 159 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c rcache->stat_cache_found = rcache->stat_cache_notfound = 0; rcache 160 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c rcache->stat_cache_valid = rcache->stat_cache_invalid = 0; rcache 169 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c int mca_rcache_rgpusm_register (mca_rcache_base_module_t *rcache, void *addr, rcache 173 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c mca_rcache_rgpusm_module_t *rcache_rgpusm = (mca_rcache_rgpusm_module_t*)rcache; rcache 203 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c rgpusm_reg->base.rcache = rcache; rcache 230 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_LOCK(&rcache->lock); rcache 270 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c mca_rcache_rgpusm_deregister_no_lock(rcache, *reg); rcache 294 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 310 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 315 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c rgpusm_reg->base.rcache = rcache; rcache 364 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c mca_rcache_rgpusm_deregister_no_lock(rcache, oldreg); rcache 376 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c if (true != mca_rcache_rgpusm_deregister_lru(rcache)) { rcache 387 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 399 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c (void)mca_rcache_rgpusm_deregister_lru(rcache); rcache 405 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c while (mca_rcache_rgpusm_deregister_lru(rcache)) { rcache 419 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c if (!mca_rcache_rgpusm_deregister_lru(rcache)) { rcache 427 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 442 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 447 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c int mca_rcache_rgpusm_find(struct mca_rcache_base_module_t *rcache, void *addr, rcache 450 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c mca_rcache_rgpusm_module_t *rcache_rgpusm = (mca_rcache_rgpusm_module_t*)rcache; rcache 457 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_LOCK(&rcache->lock); rcache 469 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 481 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c int mca_rcache_rgpusm_deregister(struct mca_rcache_base_module_t *rcache, rcache 484 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c mca_rcache_rgpusm_module_t *rcache_rgpusm = (mca_rcache_rgpusm_module_t*)rcache; rcache 488 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_LOCK(&rcache->lock); rcache 492 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 509 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 516 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_LOCK(&rcache->lock); rcache 523 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 528 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c int mca_rcache_rgpusm_deregister_no_lock(struct mca_rcache_base_module_t *rcache, rcache 531 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c mca_rcache_rgpusm_module_t *rcache_rgpusm = (mca_rcache_rgpusm_module_t*)rcache; rcache 564 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c void mca_rcache_rgpusm_finalize(struct mca_rcache_base_module_t *rcache) rcache 566 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c mca_rcache_rgpusm_module_t *rcache_rgpusm = (mca_rcache_rgpusm_module_t*)rcache; rcache 582 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_LOCK(&rcache->lock); rcache 602 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 605 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_LOCK(&rcache->lock); rcache 620 opal/mca/rcache/rgpusm/rcache_rgpusm_module.c OPAL_THREAD_UNLOCK(&rcache->lock); rcache 80 opal/mca/rcache/udreg/rcache_udreg.h int mca_rcache_udreg_module_init(mca_rcache_udreg_module_t *rcache); rcache 49 opal/mca/rcache/udreg/rcache_udreg_module.c static int mca_rcache_udreg_register (mca_rcache_base_module_t* rcache, void *addr, rcache 52 opal/mca/rcache/udreg/rcache_udreg_module.c static int mca_rcache_udreg_deregister (mca_rcache_base_module_t *rcache, rcache 54 opal/mca/rcache/udreg/rcache_udreg_module.c static int mca_rcache_udreg_find (mca_rcache_base_module_t* rcache, void* addr, rcache 56 opal/mca/rcache/udreg/rcache_udreg_module.c static void mca_rcache_udreg_finalize (mca_rcache_base_module_t *rcache); rcache 57 opal/mca/rcache/udreg/rcache_udreg_module.c static bool mca_rcache_udreg_evict (mca_rcache_base_module_t *rcache); rcache 66 opal/mca/rcache/udreg/rcache_udreg_module.c int mca_rcache_udreg_module_init (mca_rcache_udreg_module_t *rcache) rcache 71 opal/mca/rcache/udreg/rcache_udreg_module.c rcache->super.rcache_component = &mca_rcache_udreg_component.super; rcache 72 opal/mca/rcache/udreg/rcache_udreg_module.c rcache->super.rcache_register = mca_rcache_udreg_register; rcache 73 opal/mca/rcache/udreg/rcache_udreg_module.c rcache->super.rcache_find = mca_rcache_udreg_find; rcache 74 opal/mca/rcache/udreg/rcache_udreg_module.c rcache->super.rcache_deregister = mca_rcache_udreg_deregister; rcache 76 opal/mca/rcache/udreg/rcache_udreg_module.c rcache->super.rcache_invalidate_range = NULL; rcache 77 opal/mca/rcache/udreg/rcache_udreg_module.c rcache->super.rcache_finalize = mca_rcache_udreg_finalize; rcache 82 opal/mca/rcache/udreg/rcache_udreg_module.c if (rcache->resources.use_kernel_cache) { rcache 86 opal/mca/rcache/udreg/rcache_udreg_module.c if (rcache->resources.use_evict_w_unreg) { rcache 94 opal/mca/rcache/udreg/rcache_udreg_module.c OBJ_CONSTRUCT(&rcache->lock, opal_mutex_t); rcache 96 opal/mca/rcache/udreg/rcache_udreg_module.c opal_string_copy (cache_attr.cache_name, rcache->resources.base.cache_name, UDREG_MAX_CACHENAME_LEN); rcache 97 opal/mca/rcache/udreg/rcache_udreg_module.c cache_attr.max_entries = rcache->resources.max_entries; rcache 100 opal/mca/rcache/udreg/rcache_udreg_module.c cache_attr.reg_context = rcache; rcache 101 opal/mca/rcache/udreg/rcache_udreg_module.c cache_attr.dreg_context = rcache; rcache 102 opal/mca/rcache/udreg/rcache_udreg_module.c cache_attr.destructor_context = rcache; rcache 113 opal/mca/rcache/udreg/rcache_udreg_module.c urc = UDREG_CacheAccess (rcache->resources.base.cache_name, (udreg_cache_handle_t *) &rcache->udreg_handle); rcache 120 opal/mca/rcache/udreg/rcache_udreg_module.c OBJ_CONSTRUCT(&rcache->reg_list, opal_free_list_t); rcache 121 opal/mca/rcache/udreg/rcache_udreg_module.c opal_free_list_init (&rcache->reg_list, rcache->resources.base.sizeof_reg, rcache 145 opal/mca/rcache/udreg/rcache_udreg_module.c udreg_reg->rcache = reg_context; rcache 191 opal/mca/rcache/udreg/rcache_udreg_module.c static bool mca_rcache_udreg_evict (mca_rcache_base_module_t *rcache) rcache 193 opal/mca/rcache/udreg/rcache_udreg_module.c mca_rcache_udreg_module_t *rcache_udreg = (mca_rcache_udreg_module_t *) rcache; rcache 203 opal/mca/rcache/udreg/rcache_udreg_module.c static int mca_rcache_udreg_register(mca_rcache_base_module_t *rcache, void *addr, rcache 207 opal/mca/rcache/udreg/rcache_udreg_module.c mca_rcache_udreg_module_t *rcache_udreg = (mca_rcache_udreg_module_t *) rcache; rcache 237 opal/mca/rcache/udreg/rcache_udreg_module.c if (!mca_rcache_udreg_evict (rcache)) { rcache 264 opal/mca/rcache/udreg/rcache_udreg_module.c mca_rcache_udreg_dereg_func (old_reg, rcache); rcache 277 opal/mca/rcache/udreg/rcache_udreg_module.c while (UDREG_DEVICE_REG_FAILED == (udreg_reg = mca_rcache_udreg_reg_func (addr, size, rcache))) { rcache 278 opal/mca/rcache/udreg/rcache_udreg_module.c if (!mca_rcache_udreg_evict (rcache)) { rcache 291 opal/mca/rcache/udreg/rcache_udreg_module.c while (UDREG_DEVICE_REG_FAILED == (udreg_reg = mca_rcache_udreg_reg_func (addr, size, rcache))) { rcache 293 opal/mca/rcache/udreg/rcache_udreg_module.c if (!mca_rcache_udreg_evict (rcache)) { rcache 311 opal/mca/rcache/udreg/rcache_udreg_module.c static int mca_rcache_udreg_find (mca_rcache_base_module_t *rcache, void *addr, rcache 318 opal/mca/rcache/udreg/rcache_udreg_module.c static int mca_rcache_udreg_deregister(mca_rcache_base_module_t *rcache, rcache 321 opal/mca/rcache/udreg/rcache_udreg_module.c mca_rcache_udreg_module_t *rcache_udreg = (mca_rcache_udreg_module_t *) rcache; rcache 331 opal/mca/rcache/udreg/rcache_udreg_module.c mca_rcache_udreg_dereg_func (reg, rcache); rcache 337 opal/mca/rcache/udreg/rcache_udreg_module.c static void mca_rcache_udreg_finalize (mca_rcache_base_module_t *rcache) rcache 339 opal/mca/rcache/udreg/rcache_udreg_module.c mca_rcache_udreg_module_t *rcache_udreg = (mca_rcache_udreg_module_t*)rcache;