allocator 84 ompi/mca/pml/ob1/pml_ob1.h mca_allocator_base_module_t* allocator; allocator 286 ompi/mca/pml/ob1/pml_ob1_component.c mca_pml_ob1.allocator = allocator_component->allocator_init(true, allocator 289 ompi/mca/pml/ob1/pml_ob1_component.c if(NULL == mca_pml_ob1.allocator) { allocator 327 ompi/mca/pml/ob1/pml_ob1_component.c if( NULL != mca_pml_ob1.allocator ) { allocator 328 ompi/mca/pml/ob1/pml_ob1_component.c (void)mca_pml_ob1.allocator->alc_finalize(mca_pml_ob1.allocator); allocator 329 ompi/mca/pml/ob1/pml_ob1_component.c mca_pml_ob1.allocator = NULL; allocator 360 ompi/mca/pml/ob1/pml_ob1_component.c if( NULL != mca_pml_ob1.allocator ) { allocator 361 ompi/mca/pml/ob1/pml_ob1_component.c (void)mca_pml_ob1.allocator->alc_finalize(mca_pml_ob1.allocator); allocator 362 ompi/mca/pml/ob1/pml_ob1_component.c mca_pml_ob1.allocator = NULL; allocator 83 ompi/mca/pml/ob1/pml_ob1_recvfrag.h mca_pml_ob1.allocator->alc_alloc( mca_pml_ob1.allocator, \ allocator 101 ompi/mca/pml/ob1/pml_ob1_recvfrag.h mca_pml_ob1.allocator->alc_free( mca_pml_ob1.allocator, \ allocator 63 opal/mca/allocator/allocator.h struct mca_allocator_base_module_t* allocator allocator 72 opal/mca/allocator/allocator.h struct mca_allocator_base_module_t* allocator allocator 40 opal/mca/allocator/base/allocator_base_frame.c MCA_BASE_FRAMEWORK_DECLARE(opal, allocator, NULL, NULL, NULL, NULL, allocator 40 opal/mca/allocator/bucket/allocator_bucket.c struct mca_allocator_base_module_t* allocator, allocator 47 opal/mca/allocator/bucket/allocator_bucket.c int mca_allocator_bucket_finalize(struct mca_allocator_base_module_t* allocator) allocator 49 opal/mca/allocator/bucket/allocator_bucket.c mca_allocator_bucket_t *bucket = (mca_allocator_bucket_t *) allocator; allocator 51 opal/mca/allocator/bucket/allocator_bucket.c mca_allocator_bucket_cleanup(allocator); allocator 58 opal/mca/allocator/bucket/allocator_bucket.c free(allocator); allocator 71 opal/mca/allocator/bucket/allocator_bucket.c mca_allocator_bucket_t * allocator = (mca_allocator_bucket_t *) malloc(alloc_size); allocator 72 opal/mca/allocator/bucket/allocator_bucket.c if(NULL == allocator) { allocator 75 opal/mca/allocator/bucket/allocator_bucket.c retval = mca_allocator_bucket_init((mca_allocator_base_module_t *) allocator, allocator 80 opal/mca/allocator/bucket/allocator_bucket.c free(allocator); allocator 83 opal/mca/allocator/bucket/allocator_bucket.c allocator->super.alc_alloc = mca_allocator_bucket_alloc_wrapper; allocator 84 opal/mca/allocator/bucket/allocator_bucket.c allocator->super.alc_realloc = mca_allocator_bucket_realloc; allocator 85 opal/mca/allocator/bucket/allocator_bucket.c allocator->super.alc_free = mca_allocator_bucket_free; allocator 86 opal/mca/allocator/bucket/allocator_bucket.c allocator->super.alc_compact = mca_allocator_bucket_cleanup; allocator 87 opal/mca/allocator/bucket/allocator_bucket.c allocator->super.alc_finalize = mca_allocator_bucket_finalize; allocator 88 opal/mca/allocator/bucket/allocator_bucket.c allocator->super.alc_context = context; allocator 89 opal/mca/allocator/bucket/allocator_bucket.c return (mca_allocator_base_module_t *) allocator; allocator 110 opal/mca/allocator/bucket/allocator_bucket.c struct mca_allocator_base_module_t* allocator, allocator 115 opal/mca/allocator/bucket/allocator_bucket.c return mca_allocator_bucket_alloc(allocator, size); allocator 117 opal/mca/allocator/bucket/allocator_bucket.c return mca_allocator_bucket_alloc_align(allocator, size, align); allocator 337 opal/mca/btl/smcuda/btl_smcuda.c res->allocator = mca_btl_smcuda_component.allocator; allocator 210 opal/mca/btl/smcuda/btl_smcuda.h char *allocator; allocator 168 opal/mca/btl/smcuda/btl_smcuda_component.c mca_btl_smcuda_component.allocator = "bucket"; allocator 172 opal/mca/btl/smcuda/btl_smcuda_component.c MCA_BASE_VAR_SCOPE_LOCAL, &mca_btl_smcuda_component.allocator); allocator 102 opal/mca/common/sm/common_sm_mpool.c allocator_component = mca_allocator_component_lookup(resources->allocator); allocator 115 opal/mca/common/sm/common_sm_mpool.c resources->allocator, allocator 120 opal/mca/common/sm/common_sm_mpool.c resources->allocator); allocator 44 opal/mca/common/sm/common_sm_mpool.h const char *allocator; allocator 76 opal/mca/mpool/hugepage/mpool_hugepage.h mca_allocator_base_module_t *allocator; allocator 107 opal/mca/mpool/hugepage/mpool_hugepage_module.c mpool->allocator = allocator_component->allocator_init (true, mca_mpool_hugepage_seg_alloc, allocator 225 opal/mca/mpool/hugepage/mpool_hugepage_module.c return hugepage_module->allocator->alc_alloc (hugepage_module->allocator, size, align); allocator 235 opal/mca/mpool/hugepage/mpool_hugepage_module.c return hugepage_module->allocator->alc_realloc (hugepage_module->allocator, addr, size); allocator 245 opal/mca/mpool/hugepage/mpool_hugepage_module.c hugepage_module->allocator->alc_free (hugepage_module->allocator, addr); allocator 255 opal/mca/mpool/hugepage/mpool_hugepage_module.c if (hugepage_module->allocator) { allocator 256 opal/mca/mpool/hugepage/mpool_hugepage_module.c (void) hugepage_module->allocator->alc_finalize (hugepage_module->allocator); allocator 257 opal/mca/mpool/hugepage/mpool_hugepage_module.c hugepage_module->allocator = NULL; allocator 73 oshmem/mca/memheap/base/memheap_base_alloc.c if (s->allocator && (hint && s->alloc_hints)) { allocator 77 oshmem/mca/memheap/base/memheap_base_alloc.c return s->allocator->realloc(s, size, NULL, ptr); allocator 123 oshmem/mca/sshmem/sshmem_types.h segment_allocator_t *allocator; /* segment-specific allocator */ allocator 49 oshmem/mca/sshmem/ucx/sshmem_ucx.h void sshmem_ucx_shadow_destroy(sshmem_ucx_shadow_allocator_t *allocator); allocator 50 oshmem/mca/sshmem/ucx/sshmem_ucx.h int sshmem_ucx_shadow_alloc(sshmem_ucx_shadow_allocator_t *allocator, allocator 58 oshmem/mca/sshmem/ucx/sshmem_ucx.h int sshmem_ucx_shadow_realloc(sshmem_ucx_shadow_allocator_t *allocator, allocator 61 oshmem/mca/sshmem/ucx/sshmem_ucx.h int sshmem_ucx_shadow_free(sshmem_ucx_shadow_allocator_t *allocator, allocator 63 oshmem/mca/sshmem/ucx/sshmem_ucx.h unsigned sshmem_ucx_shadow_size(sshmem_ucx_shadow_allocator_t *allocator, allocator 168 oshmem/mca/sshmem/ucx/sshmem_ucx_module.c ds_buf->allocator = &sshmem_ucx_allocator; allocator 45 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c sshmem_ucx_shadow_allocator_t *allocator; allocator 47 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c allocator = calloc(1, sizeof(*allocator) + allocator 48 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c count * sizeof(*allocator->elems)); allocator 49 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c if (allocator) { allocator 51 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c sshmem_ucx_shadow_set_elem(&allocator->elems[0], allocator 53 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c allocator->num_elems = count; allocator 56 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c return allocator; allocator 59 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c void sshmem_ucx_shadow_destroy(sshmem_ucx_shadow_allocator_t *allocator) allocator 61 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c free(allocator); /* no leak check. TODO add leak warnings/debug */ allocator 64 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c int sshmem_ucx_shadow_alloc(sshmem_ucx_shadow_allocator_t *allocator, allocator 67 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c sshmem_ucx_shadow_alloc_elem_t *end = &allocator->elems[allocator->num_elems]; allocator 72 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c for (elem = &allocator->elems[0]; elem < end; elem += elem->block_size) { allocator 84 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c *index = elem - &allocator->elems[0]; allocator 92 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c static void sshmem_ucx_shadow_merge_blocks(sshmem_ucx_shadow_allocator_t *allocator) allocator 94 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c sshmem_ucx_shadow_alloc_elem_t *elem = &allocator->elems[0]; allocator 95 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c sshmem_ucx_shadow_alloc_elem_t *end = &allocator->elems[allocator->num_elems]; allocator 112 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c int sshmem_ucx_shadow_realloc(sshmem_ucx_shadow_allocator_t *allocator, allocator 116 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c sshmem_ucx_shadow_alloc_elem_t *elem = &allocator->elems[old_index]; allocator 139 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c sshmem_ucx_shadow_merge_blocks(allocator); allocator 145 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c end = &allocator->elems[allocator->num_elems]; allocator 169 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c return sshmem_ucx_shadow_alloc(allocator, count, index); allocator 172 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c int sshmem_ucx_shadow_free(sshmem_ucx_shadow_allocator_t *allocator, allocator 175 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c sshmem_ucx_shadow_alloc_elem_t *elem = &allocator->elems[index]; allocator 178 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c sshmem_ucx_shadow_merge_blocks(allocator); allocator 182 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c unsigned sshmem_ucx_shadow_size(sshmem_ucx_shadow_allocator_t *allocator, allocator 185 oshmem/mca/sshmem/ucx/sshmem_ucx_shadow.c sshmem_ucx_shadow_alloc_elem_t *elem = &allocator->elems[index]; allocator 64 oshmem/shmem/c/shmem_free.c if (s && s->allocator) { allocator 65 oshmem/shmem/c/shmem_free.c rc = s->allocator->free(s, ptr); allocator 58 oshmem/shmem/c/shmem_realloc.c if (s && s->allocator) { allocator 59 oshmem/shmem/c/shmem_realloc.c rc = s->allocator->realloc(s, size, ptr, &pBuff);