mem 75 ompi/mca/osc/ucx/osc_ucx.h opal_common_ucx_wpmem_t *mem; mem 117 ompi/mca/osc/ucx/osc_ucx.h opal_common_ucx_wpmem_t *mem; mem 77 ompi/mca/osc/ucx/osc_ucx_active_target.c ret = opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_WORKER, 0/*ignore*/); mem 171 ompi/mca/osc/ucx/osc_ucx_active_target.c ret = opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_WORKER, 0/*ignore*/); mem 180 ompi/mca/osc/ucx/osc_ucx_active_target.c ret = opal_common_ucx_wpmem_post(module->mem, UCP_ATOMIC_POST_OP_ADD, mem 187 ompi/mca/osc/ucx/osc_ucx_active_target.c ret = opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_EP, mem 242 ompi/mca/osc/ucx/osc_ucx_active_target.c ret = opal_common_ucx_wpmem_fetch(module->mem, UCP_ATOMIC_FETCH_OP_FADD, mem 255 ompi/mca/osc/ucx/osc_ucx_active_target.c ret = opal_common_ucx_wpmem_cmpswp(module->mem, 0, result, mem 159 ompi/mca/osc/ucx/osc_ucx_comm.c status = opal_common_ucx_wpmem_putget(module->mem, op, target, mem 192 ompi/mca/osc/ucx/osc_ucx_comm.c status = opal_common_ucx_wpmem_putget(module->mem, op, target, mem 214 ompi/mca/osc/ucx/osc_ucx_comm.c status = opal_common_ucx_wpmem_putget(module->mem, op, target, mem 310 ompi/mca/osc/ucx/osc_ucx_comm.c if (module->local_dynamic_win_info[contain].mem->mem_addrs == NULL) { mem 311 ompi/mca/osc/ucx/osc_ucx_comm.c module->local_dynamic_win_info[contain].mem->mem_addrs = calloc(ompi_comm_size(module->comm), mem 313 ompi/mca/osc/ucx/osc_ucx_comm.c module->local_dynamic_win_info[contain].mem->mem_displs =calloc(ompi_comm_size(module->comm), mem 317 ompi/mca/osc/ucx/osc_ucx_comm.c memcpy(module->local_dynamic_win_info[contain].mem->mem_addrs + target * OMPI_OSC_UCX_MEM_ADDR_MAX_LEN, mem 319 ompi/mca/osc/ucx/osc_ucx_comm.c module->local_dynamic_win_info[contain].mem->mem_displs[target] = target * OMPI_OSC_UCX_MEM_ADDR_MAX_LEN; mem 364 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_putget(module->mem, OPAL_COMMON_UCX_PUT, target, mem 419 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_putget(module->mem, OPAL_COMMON_UCX_GET, target, mem 492 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_EP, target); mem 546 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_EP, target); mem 584 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_cmpswp(module->mem,*(uint64_t *)compare_addr, mem 636 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_fetch(module->mem, opcode, value, target, mem 712 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_EP, target); mem 765 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_EP, target); mem 808 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_fence(module->mem); mem 815 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_fetch_nb(module->mem, UCP_ATOMIC_FETCH_OP_FADD, mem 859 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_fence(module->mem); mem 866 ompi/mca/osc/ucx/osc_ucx_comm.c ret = opal_common_ucx_wpmem_fetch_nb(module->mem, UCP_ATOMIC_FETCH_OP_FADD, mem 328 ompi/mca/osc/ucx/osc_ucx_component.c &module->mem); mem 496 ompi/mca/osc/ucx/osc_ucx_component.c &(module->local_dynamic_win_info[insert_index].mem)); mem 533 ompi/mca/osc/ucx/osc_ucx_component.c ret = opal_common_ucx_wpmem_free(module->local_dynamic_win_info[contain].mem); mem 556 ompi/mca/osc/ucx/osc_ucx_component.c opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_WORKER, 0); mem 572 ompi/mca/osc/ucx/osc_ucx_component.c ret = opal_common_ucx_wpmem_free(module->mem); mem 163 ompi/mca/osc/ucx/osc_ucx_passive_target.c ret = opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_EP, target); mem 230 ompi/mca/osc/ucx/osc_ucx_passive_target.c ret = opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_WORKER, 0); mem 258 ompi/mca/osc/ucx/osc_ucx_passive_target.c ret = opal_common_ucx_wpmem_fence(module->mem); mem 275 ompi/mca/osc/ucx/osc_ucx_passive_target.c ret = opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_EP, target); mem 292 ompi/mca/osc/ucx/osc_ucx_passive_target.c ret = opal_common_ucx_wpmem_flush(module->mem, OPAL_COMMON_UCX_SCOPE_WORKER, 0); mem 342 opal/mca/allocator/basic/allocator_basic.c int mca_allocator_basic_compact(mca_allocator_base_module_t * mem) mem 95 opal/mca/allocator/basic/allocator_basic.h mca_allocator_base_module_t * mem, mem 114 opal/mca/allocator/basic/allocator_basic.h mca_allocator_base_module_t * mem, mem 129 opal/mca/allocator/basic/allocator_basic.h mca_allocator_base_module_t * mem, mem 144 opal/mca/allocator/basic/allocator_basic.h mca_allocator_base_module_t * mem); mem 156 opal/mca/allocator/basic/allocator_basic.h mca_allocator_base_module_t * mem); mem 39 opal/mca/allocator/bucket/allocator_bucket_alloc.c mca_allocator_base_module_t * mem, mem 44 opal/mca/allocator/bucket/allocator_bucket_alloc.c mca_allocator_bucket_t * mem_options = (mca_allocator_bucket_t *) mem; mem 74 opal/mca/allocator/bucket/allocator_bucket_alloc.c void * mca_allocator_bucket_alloc(mca_allocator_base_module_t * mem, mem 77 opal/mca/allocator/bucket/allocator_bucket_alloc.c mca_allocator_bucket_t * mem_options = (mca_allocator_bucket_t *) mem; mem 154 opal/mca/allocator/bucket/allocator_bucket_alloc.c void * mca_allocator_bucket_alloc_align(mca_allocator_base_module_t * mem, mem 157 opal/mca/allocator/bucket/allocator_bucket_alloc.c mca_allocator_bucket_t * mem_options = (mca_allocator_bucket_t *) mem; mem 234 opal/mca/allocator/bucket/allocator_bucket_alloc.c void * mca_allocator_bucket_realloc(mca_allocator_base_module_t * mem, mem 237 opal/mca/allocator/bucket/allocator_bucket_alloc.c mca_allocator_bucket_t * mem_options = (mca_allocator_bucket_t *) mem; mem 273 opal/mca/allocator/bucket/allocator_bucket_alloc.c void mca_allocator_bucket_free(mca_allocator_base_module_t * mem, void * ptr) mem 275 opal/mca/allocator/bucket/allocator_bucket_alloc.c mca_allocator_bucket_t * mem_options = (mca_allocator_bucket_t *) mem; mem 290 opal/mca/allocator/bucket/allocator_bucket_alloc.c int mca_allocator_bucket_cleanup(mca_allocator_base_module_t * mem) mem 292 opal/mca/allocator/bucket/allocator_bucket_alloc.c mca_allocator_bucket_t * mem_options = (mca_allocator_bucket_t *) mem; mem 336 opal/mca/allocator/bucket/allocator_bucket_alloc.c mem_options->free_mem_fn(mem->alc_context, segment); mem 373 opal/mca/allocator/bucket/allocator_bucket_alloc.c mem_options->free_mem_fn(mem->alc_context, segment); mem 120 opal/mca/allocator/bucket/allocator_bucket_alloc.h mca_allocator_bucket_t *mca_allocator_bucket_init(mca_allocator_base_module_t * mem, mem 136 opal/mca/allocator/bucket/allocator_bucket_alloc.h mca_allocator_base_module_t * mem, mem 155 opal/mca/allocator/bucket/allocator_bucket_alloc.h mca_allocator_base_module_t * mem, mem 174 opal/mca/allocator/bucket/allocator_bucket_alloc.h mca_allocator_base_module_t * mem, mem 188 opal/mca/allocator/bucket/allocator_bucket_alloc.h void mca_allocator_bucket_free(mca_allocator_base_module_t * mem, mem 202 opal/mca/allocator/bucket/allocator_bucket_alloc.h int mca_allocator_bucket_cleanup(mca_allocator_base_module_t * mem); mem 213 opal/mca/allocator/bucket/allocator_bucket_alloc.h int mca_allocator_bucket_finalize(mca_allocator_base_module_t * mem); mem 521 opal/mca/common/ucx/common_ucx_wpool.c opal_common_ucx_wpmem_t *mem = calloc(1, sizeof(*mem)); mem 527 opal/mca/common/ucx/common_ucx_wpool.c mem->released = 0; mem 528 opal/mca/common/ucx/common_ucx_wpool.c mem->refcntr = 1; /* application holding this memory handler */ mem 529 opal/mca/common/ucx/common_ucx_wpool.c mem->ctx = ctx; mem 530 opal/mca/common/ucx/common_ucx_wpool.c mem->mem_addrs = NULL; mem 531 opal/mca/common/ucx/common_ucx_wpool.c mem->mem_displs = NULL; mem 533 opal/mca/common/ucx/common_ucx_wpool.c ret = _comm_ucx_wpmem_map(ctx->wpool, mem_base, mem_size, &mem->memh, mem 540 opal/mca/common/ucx/common_ucx_wpool.c status = ucp_rkey_pack(ctx->wpool->ucp_ctx, mem->memh, mem 549 opal/mca/common/ucx/common_ucx_wpool.c &mem->mem_addrs, &mem->mem_displs, exchange_metadata); mem 556 opal/mca/common/ucx/common_ucx_wpool.c opal_tsd_key_create(&mem->mem_tls_key, NULL); mem 558 opal/mca/common/ucx/common_ucx_wpool.c (*mem_ptr) = mem; mem 565 opal/mca/common/ucx/common_ucx_wpool.c ucp_mem_unmap(ctx->wpool->ucp_ctx, mem->memh); mem 567 opal/mca/common/ucx/common_ucx_wpool.c free(mem); mem 573 opal/mca/common/ucx/common_ucx_wpool.c opal_common_ucx_wpmem_free(opal_common_ucx_wpmem_t *mem) mem 578 opal/mca/common/ucx/common_ucx_wpool.c mem->released = 1; mem 581 opal/mca/common/ucx/common_ucx_wpool.c my_refcntr = OPAL_ATOMIC_ADD_FETCH32(&mem->refcntr, -1); mem 587 opal/mca/common/ucx/common_ucx_wpool.c _common_ucx_wpmem_free(mem); mem 642 opal/mca/common/ucx/common_ucx_wpool.c static void _common_ucx_wpmem_free(opal_common_ucx_wpmem_t *mem) mem 644 opal/mca/common/ucx/common_ucx_wpool.c opal_tsd_key_delete(mem->mem_tls_key); mem 645 opal/mca/common/ucx/common_ucx_wpool.c free(mem->mem_addrs); mem 646 opal/mca/common/ucx/common_ucx_wpool.c free(mem->mem_displs); mem 647 opal/mca/common/ucx/common_ucx_wpool.c ucp_mem_unmap(mem->ctx->wpool->ucp_ctx, mem->memh); mem 648 opal/mca/common/ucx/common_ucx_wpool.c free(mem); mem 652 opal/mca/common/ucx/common_ucx_wpool.c _common_ucx_wpmem_signup(opal_common_ucx_wpmem_t *mem) mem 655 opal/mca/common/ucx/common_ucx_wpool.c OPAL_ATOMIC_ADD_FETCH32(&mem->refcntr, 1); mem 660 opal/mca/common/ucx/common_ucx_wpool.c _common_ucx_mem_signout(opal_common_ucx_wpmem_t *mem) mem 671 opal/mca/common/ucx/common_ucx_wpool.c my_refcntr = OPAL_ATOMIC_ADD_FETCH32(&mem->refcntr, -1); mem 677 opal/mca/common/ucx/common_ucx_wpool.c _common_ucx_wpmem_free(mem); mem 966 opal/mca/common/ucx/common_ucx_wpool.c if (mem_rec->mem->rkeys[i]) { mem 967 opal/mca/common/ucx/common_ucx_wpool.c ucp_rkey_destroy(mem_rec->mem->rkeys[i]); mem 970 opal/mca/common/ucx/common_ucx_wpool.c free(mem_rec->mem->rkeys); mem 986 opal/mca/common/ucx/common_ucx_wpool.c free(mem_rec->mem); mem 992 opal/mca/common/ucx/common_ucx_wpool.c opal_common_ucx_wpmem_t *mem) mem 1022 opal/mca/common/ucx/common_ucx_wpool.c tls->mem_tbl[free_idx]->gmem = mem; mem 1023 opal/mca/common/ucx/common_ucx_wpool.c tls->mem_tbl[free_idx]->mem = calloc(1, sizeof(*tls->mem_tbl[free_idx]->mem)); mem 1025 opal/mca/common/ucx/common_ucx_wpool.c ctx_rec = _tlocal_ctx_search(tls, mem->ctx); mem 1034 opal/mca/common/ucx/common_ucx_wpool.c tls->mem_tbl[free_idx]->mem->worker = ctx_rec->winfo; mem 1035 opal/mca/common/ucx/common_ucx_wpool.c tls->mem_tbl[free_idx]->mem->rkeys = calloc(mem->ctx->comm_size, mem 1036 opal/mca/common/ucx/common_ucx_wpool.c sizeof(*tls->mem_tbl[free_idx]->mem->rkeys)); mem 1041 opal/mca/common/ucx/common_ucx_wpool.c tls->mem_tbl[free_idx]->mem_tls_ptr->rkeys = tls->mem_tbl[free_idx]->mem->rkeys; mem 1042 opal/mca/common/ucx/common_ucx_wpool.c opal_tsd_setspecific(mem->mem_tls_key, tls->mem_tbl[free_idx]->mem_tls_ptr); mem 1051 opal/mca/common/ucx/common_ucx_wpool.c rc = _common_ucx_wpmem_signup(mem); mem 1063 opal/mca/common/ucx/common_ucx_wpool.c _mem_info_t *minfo = mem_rec->mem; mem 1080 opal/mca/common/ucx/common_ucx_wpool.c opal_common_ucx_tlocal_fetch_spath(opal_common_ucx_wpmem_t *mem, int target) mem 1090 opal/mca/common/ucx/common_ucx_wpool.c tls = _tlocal_get_tls(mem->ctx->wpool); mem 1093 opal/mca/common/ucx/common_ucx_wpool.c ctx_rec = _tlocal_ctx_search(tls, mem->ctx); mem 1096 opal/mca/common/ucx/common_ucx_wpool.c ctx_rec = _tlocal_add_ctx(tls, mem->ctx); mem 1113 opal/mca/common/ucx/common_ucx_wpool.c mem_rec = _tlocal_search_mem(tls, mem); mem 1115 opal/mca/common/ucx/common_ucx_wpool.c mem_rec = _tlocal_add_mem(tls, mem); mem 1120 opal/mca/common/ucx/common_ucx_wpool.c mem_info = mem_rec->mem; mem 1179 opal/mca/common/ucx/common_ucx_wpool.c opal_common_ucx_wpmem_flush(opal_common_ucx_wpmem_t *mem, mem 1184 opal/mca/common/ucx/common_ucx_wpool.c opal_common_ucx_ctx_t *ctx = mem->ctx; mem 1221 opal/mca/common/ucx/common_ucx_wpool.c opal_common_ucx_wpmem_fence(opal_common_ucx_wpmem_t *mem) { mem 182 opal/mca/common/ucx/common_ucx_wpool.h OPAL_DECLSPEC int opal_common_ucx_tlocal_fetch_spath(opal_common_ucx_wpmem_t *mem, int target); mem 184 opal/mca/common/ucx/common_ucx_wpool.h opal_common_ucx_tlocal_fetch(opal_common_ucx_wpmem_t *mem, int target, mem 193 opal/mca/common/ucx/common_ucx_wpool.h rc = opal_tsd_getspecific(mem->mem_tls_key, (void**)&fp); mem 200 opal/mca/common/ucx/common_ucx_wpool.h rc = opal_common_ucx_tlocal_fetch_spath(mem, target); mem 204 opal/mca/common/ucx/common_ucx_wpool.h rc = opal_tsd_getspecific(mem->mem_tls_key, (void**)&fp); mem 228 opal/mca/common/ucx/common_ucx_wpool.h OPAL_DECLSPEC int opal_common_ucx_wpmem_free(opal_common_ucx_wpmem_t *mem); mem 230 opal/mca/common/ucx/common_ucx_wpool.h OPAL_DECLSPEC int opal_common_ucx_wpmem_flush(opal_common_ucx_wpmem_t *mem, mem 233 opal/mca/common/ucx/common_ucx_wpool.h OPAL_DECLSPEC int opal_common_ucx_wpmem_fence(opal_common_ucx_wpmem_t *mem); mem 287 opal/mca/common/ucx/common_ucx_wpool.h static inline int _periodical_flush_nb(opal_common_ucx_wpmem_t *mem, mem 335 opal/mca/common/ucx/common_ucx_wpool.h opal_common_ucx_wpmem_putget(opal_common_ucx_wpmem_t *mem, opal_common_ucx_op_t op, mem 346 opal/mca/common/ucx/common_ucx_wpool.h rc = opal_common_ucx_tlocal_fetch(mem, target, &ep, &rkey, &winfo); mem 370 opal/mca/common/ucx/common_ucx_wpool.h rc = _periodical_flush_nb(mem, winfo, target); mem 383 opal/mca/common/ucx/common_ucx_wpool.h opal_common_ucx_wpmem_cmpswp(opal_common_ucx_wpmem_t *mem, uint64_t compare, mem 393 opal/mca/common/ucx/common_ucx_wpool.h rc = opal_common_ucx_tlocal_fetch(mem, target, &ep, &rkey, &winfo); mem 410 opal/mca/common/ucx/common_ucx_wpool.h rc = _periodical_flush_nb(mem, winfo, target); mem 422 opal/mca/common/ucx/common_ucx_wpool.h opal_common_ucx_wpmem_post(opal_common_ucx_wpmem_t *mem, ucp_atomic_post_op_t opcode, mem 432 opal/mca/common/ucx/common_ucx_wpool.h rc =opal_common_ucx_tlocal_fetch(mem, target, &ep, &rkey, &winfo); mem 447 opal/mca/common/ucx/common_ucx_wpool.h rc = _periodical_flush_nb(mem, winfo, target); mem 458 opal/mca/common/ucx/common_ucx_wpool.h opal_common_ucx_wpmem_fetch(opal_common_ucx_wpmem_t *mem, mem 469 opal/mca/common/ucx/common_ucx_wpool.h rc = opal_common_ucx_tlocal_fetch(mem, target, &ep, &rkey, &winfo); mem 486 opal/mca/common/ucx/common_ucx_wpool.h rc = _periodical_flush_nb(mem, winfo, target); mem 498 opal/mca/common/ucx/common_ucx_wpool.h opal_common_ucx_wpmem_fetch_nb(opal_common_ucx_wpmem_t *mem, mem 512 opal/mca/common/ucx/common_ucx_wpool.h rc = opal_common_ucx_tlocal_fetch(mem, target, &ep, &rkey, &winfo); mem 532 opal/mca/common/ucx/common_ucx_wpool.h rc = _periodical_flush_nb(mem, winfo, target); mem 21 opal/mca/common/ucx/common_ucx_wpool_int.h _mem_info_t *mem; mem 70 opal/mca/common/ucx/common_ucx_wpool_int.h opal_common_ucx_wpmem_t *mem); mem 107 opal/mca/common/ucx/common_ucx_wpool_int.h static void _common_ucx_wpmem_free(opal_common_ucx_wpmem_t *mem); mem 108 opal/mca/common/ucx/common_ucx_wpool_int.h static int _common_ucx_wpmem_signup(opal_common_ucx_wpmem_t *mem); mem 109 opal/mca/common/ucx/common_ucx_wpool_int.h static void _common_ucx_mem_signout(opal_common_ucx_wpmem_t *mem); mem 143 opal/mca/event/libevent2022/libevent/buffer.c const struct evbuffer_ptr *pos, const char *mem, size_t len); mem 2502 opal/mca/event/libevent2022/libevent/buffer.c const char *mem, size_t len) mem 2523 opal/mca/event/libevent2022/libevent/buffer.c r = memcmp(chain->buffer + chain->misalign + position, mem, mem 2527 opal/mca/event/libevent2022/libevent/buffer.c mem += n_comparable; mem 131 opal/mca/event/libevent2022/libevent/evutil.c char *mem; mem 153 opal/mca/event/libevent2022/libevent/evutil.c mem = mm_malloc((size_t)st.st_size + 1); mem 154 opal/mca/event/libevent2022/libevent/evutil.c if (!mem) { mem 164 opal/mca/event/libevent2022/libevent/evutil.c while ((r = read(fd, mem+read_so_far, N_TO_READ(st.st_size - read_so_far))) > 0) { mem 172 opal/mca/event/libevent2022/libevent/evutil.c mm_free(mem); mem 175 opal/mca/event/libevent2022/libevent/evutil.c mem[read_so_far] = 0; mem 178 opal/mca/event/libevent2022/libevent/evutil.c *content_out = mem; mem 2119 opal/mca/event/libevent2022/libevent/evutil.c evutil_memclear_(void *mem, size_t len) mem 2121 opal/mca/event/libevent2022/libevent/evutil.c evutil_memset_volatile_(mem, 0, len); mem 2276 opal/mca/event/libevent2022/libevent/test/regress.c char *mem = _mem; mem 2277 opal/mca/event/libevent2022/libevent/test/regress.c mem -= 16; mem 2278 opal/mca/event/libevent2022/libevent/test/regress.c return !memcmp(mem, "{[<guardedram>]}", 16); mem 2284 opal/mca/event/libevent2022/libevent/test/regress.c char *mem = malloc(len+16); mem 2285 opal/mca/event/libevent2022/libevent/test/regress.c memcpy(mem, "{[<guardedram>]}", 16); mem 2286 opal/mca/event/libevent2022/libevent/test/regress.c return mem+16; mem 2292 opal/mca/event/libevent2022/libevent/test/regress.c char *mem = _mem; mem 2293 opal/mca/event/libevent2022/libevent/test/regress.c if (!mem) mem 2296 opal/mca/event/libevent2022/libevent/test/regress.c mem -= 16; mem 2297 opal/mca/event/libevent2022/libevent/test/regress.c mem = realloc(mem, len+16); mem 2298 opal/mca/event/libevent2022/libevent/test/regress.c return mem+16; mem 2304 opal/mca/event/libevent2022/libevent/test/regress.c char *mem = _mem; mem 2306 opal/mca/event/libevent2022/libevent/test/regress.c mem -= 16; mem 2307 opal/mca/event/libevent2022/libevent/test/regress.c free(mem); mem 323 opal/mca/event/libevent2022/libevent/util-internal.h void evutil_memclear_(void *mem, size_t len); mem 911 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c DO(mem,set_thisproc_membind); mem 912 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c DO(mem,get_thisproc_membind); mem 913 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c DO(mem,set_thisthread_membind); mem 914 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c DO(mem,get_thisthread_membind); mem 915 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c DO(mem,set_proc_membind); mem 916 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c DO(mem,get_proc_membind); mem 917 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c DO(mem,set_area_membind); mem 918 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c DO(mem,get_area_membind); mem 919 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c DO(mem,get_area_memlocation); mem 920 opal/mca/hwloc/hwloc201/hwloc/hwloc/bind.c DO(mem,alloc_membind); mem 64 opal/mca/mpool/base/mpool_base_alloc.c void *mem = NULL; mem 79 opal/mca/mpool/base/mpool_base_alloc.c mem = mpool->mpool_alloc (mpool, size, sizeof(void *), 0); mem 82 opal/mca/mpool/base/mpool_base_alloc.c if (NULL == mem) { mem 84 opal/mca/mpool/base/mpool_base_alloc.c mem = malloc(size); mem 89 opal/mca/mpool/base/mpool_base_alloc.c mpool_tree_item->key = mem; mem 93 opal/mca/mpool/base/mpool_base_alloc.c return mem; mem 1116 oshmem/mca/memheap/ptmalloc/malloc.c void mspace_free(mspace msp, void* mem); mem 1127 oshmem/mca/memheap/ptmalloc/malloc.c void* mspace_realloc(mspace msp, void* mem, size_t newsize); mem 1952 oshmem/mca/memheap/ptmalloc/malloc.c #define mem2chunk(mem) ((mchunkptr)((char*)(mem) - TWO_SIZE_T_SIZES)) mem 2530 oshmem/mca/memheap/ptmalloc/malloc.c static void do_check_malloced_chunk(mstate m, void* mem, size_t s); mem 2961 oshmem/mca/memheap/ptmalloc/malloc.c static void do_check_malloced_chunk(mstate m, void* mem, size_t s) { mem 2962 oshmem/mca/memheap/ptmalloc/malloc.c if (mem != 0) { mem 2963 oshmem/mca/memheap/ptmalloc/malloc.c mchunkptr p = mem2chunk(mem); mem 3466 oshmem/mca/memheap/ptmalloc/malloc.c #define internal_free(m, mem) mspace_free(m,mem); mem 3471 oshmem/mca/memheap/ptmalloc/malloc.c #define internal_free(m, mem)\ mem 3472 oshmem/mca/memheap/ptmalloc/malloc.c if (m == gm) dlfree(mem); else mspace_free(m,mem); mem 3475 oshmem/mca/memheap/ptmalloc/malloc.c #define internal_free(m, mem) dlfree(mem) mem 3705 oshmem/mca/memheap/ptmalloc/malloc.c void* mem = mmap_alloc(m, nb); mem 3706 oshmem/mca/memheap/ptmalloc/malloc.c if (mem != 0) mem 3707 oshmem/mca/memheap/ptmalloc/malloc.c return mem; mem 4209 oshmem/mca/memheap/ptmalloc/malloc.c char* mem = (char*)internal_malloc(m, req); mem 4210 oshmem/mca/memheap/ptmalloc/malloc.c if (mem != 0) { mem 4213 oshmem/mca/memheap/ptmalloc/malloc.c mchunkptr p = mem2chunk(mem); mem 4216 oshmem/mca/memheap/ptmalloc/malloc.c if ((((size_t)(mem)) % alignment) != 0) { /* misaligned */ mem 4225 oshmem/mca/memheap/ptmalloc/malloc.c char* br = (char*)mem2chunk((size_t)(((size_t)(mem + mem 4294 oshmem/mca/memheap/ptmalloc/malloc.c void* mem; /* malloced aggregate space */ mem 4339 oshmem/mca/memheap/ptmalloc/malloc.c mem = internal_malloc(m, size - CHUNK_OVERHEAD); mem 4342 oshmem/mca/memheap/ptmalloc/malloc.c if (mem == 0) mem 4346 oshmem/mca/memheap/ptmalloc/malloc.c p = mem2chunk(mem); mem 4352 oshmem/mca/memheap/ptmalloc/malloc.c memset((size_t*)mem, 0, remainder_size - SIZE_T_SIZE - array_size); mem 4433 oshmem/mca/memheap/ptmalloc/malloc.c void* mem; mem 4450 oshmem/mca/memheap/ptmalloc/malloc.c mem = chunk2mem(p); mem 4451 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(gm, mem, nb); mem 4477 oshmem/mca/memheap/ptmalloc/malloc.c mem = chunk2mem(p); mem 4478 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(gm, mem, nb); mem 4482 oshmem/mca/memheap/ptmalloc/malloc.c else if (gm->treemap != 0 && (mem = tmalloc_small(gm, nb)) != 0) { mem 4483 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(gm, mem, nb); mem 4492 oshmem/mca/memheap/ptmalloc/malloc.c if (gm->treemap != 0 && (mem = tmalloc_large(gm, nb)) != 0) { mem 4493 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(gm, mem, nb); mem 4513 oshmem/mca/memheap/ptmalloc/malloc.c mem = chunk2mem(p); mem 4514 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(gm, mem, nb); mem 4524 oshmem/mca/memheap/ptmalloc/malloc.c mem = chunk2mem(p); mem 4526 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(gm, mem, nb); mem 4530 oshmem/mca/memheap/ptmalloc/malloc.c mem = sys_alloc(gm, nb); mem 4534 oshmem/mca/memheap/ptmalloc/malloc.c return mem; mem 4540 oshmem/mca/memheap/ptmalloc/malloc.c void dlfree(void* mem) { mem 4547 oshmem/mca/memheap/ptmalloc/malloc.c if (mem != 0) { mem 4548 oshmem/mca/memheap/ptmalloc/malloc.c mchunkptr p = mem2chunk(mem); mem 4651 oshmem/mca/memheap/ptmalloc/malloc.c void* mem; mem 4659 oshmem/mca/memheap/ptmalloc/malloc.c mem = dlmalloc(req); mem 4660 oshmem/mca/memheap/ptmalloc/malloc.c if (mem != 0 && calloc_must_clear(mem2chunk(mem))) mem 4661 oshmem/mca/memheap/ptmalloc/malloc.c memset(mem, 0, req); mem 4662 oshmem/mca/memheap/ptmalloc/malloc.c return mem; mem 4753 oshmem/mca/memheap/ptmalloc/malloc.c size_t dlmalloc_usable_size(void* mem) { mem 4754 oshmem/mca/memheap/ptmalloc/malloc.c if (mem != 0) { mem 4755 oshmem/mca/memheap/ptmalloc/malloc.c mchunkptr p = mem2chunk(mem); mem 4862 oshmem/mca/memheap/ptmalloc/malloc.c void* mem; mem 4879 oshmem/mca/memheap/ptmalloc/malloc.c mem = chunk2mem(p); mem 4880 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(ms, mem, nb); mem 4906 oshmem/mca/memheap/ptmalloc/malloc.c mem = chunk2mem(p); mem 4907 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(ms, mem, nb); mem 4911 oshmem/mca/memheap/ptmalloc/malloc.c else if (ms->treemap != 0 && (mem = tmalloc_small(ms, nb)) != 0) { mem 4912 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(ms, mem, nb); mem 4921 oshmem/mca/memheap/ptmalloc/malloc.c if (ms->treemap != 0 && (mem = tmalloc_large(ms, nb)) != 0) { mem 4922 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(ms, mem, nb); mem 4942 oshmem/mca/memheap/ptmalloc/malloc.c mem = chunk2mem(p); mem 4943 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(ms, mem, nb); mem 4953 oshmem/mca/memheap/ptmalloc/malloc.c mem = chunk2mem(p); mem 4955 oshmem/mca/memheap/ptmalloc/malloc.c check_malloced_chunk(ms, mem, nb); mem 4959 oshmem/mca/memheap/ptmalloc/malloc.c mem = sys_alloc(ms, nb); mem 4963 oshmem/mca/memheap/ptmalloc/malloc.c return mem; mem 4969 oshmem/mca/memheap/ptmalloc/malloc.c void mspace_free(mspace msp, void* mem) { mem 4970 oshmem/mca/memheap/ptmalloc/malloc.c if (mem != 0) { mem 4971 oshmem/mca/memheap/ptmalloc/malloc.c mchunkptr p = mem2chunk(mem); mem 5071 oshmem/mca/memheap/ptmalloc/malloc.c void* mem; mem 5084 oshmem/mca/memheap/ptmalloc/malloc.c mem = internal_malloc(ms, req); mem 5085 oshmem/mca/memheap/ptmalloc/malloc.c if (mem != 0 && calloc_must_clear(mem2chunk(mem))) mem 5086 oshmem/mca/memheap/ptmalloc/malloc.c memset(mem, 0, req); mem 5087 oshmem/mca/memheap/ptmalloc/malloc.c return mem; mem 5205 oshmem/mca/memheap/ptmalloc/malloc.c size_t mspace_usable_size(void* mem) { mem 5206 oshmem/mca/memheap/ptmalloc/malloc.c if (mem != 0) { mem 5207 oshmem/mca/memheap/ptmalloc/malloc.c mchunkptr p = mem2chunk(mem); mem 614 oshmem/mca/spml/ikrit/spml_ikrit.c sreq->op.mem.remote_mkey = mkey; mem 616 oshmem/mca/spml/ikrit/spml_ikrit.c sreq->op.mem.remote_vaddr = (intptr_t) rva; mem 753 oshmem/mca/spml/ikrit/spml_ikrit.c fence_req->mxm_req.op.mem.remote_vaddr = 0; mem 754 oshmem/mca/spml/ikrit/spml_ikrit.c fence_req->mxm_req.op.mem.remote_mkey = &mxm_empty_mem_key; mem 868 oshmem/mca/spml/ikrit/spml_ikrit.c put_req->mxm_req.op.mem.remote_vaddr = (intptr_t) rva; mem 872 oshmem/mca/spml/ikrit/spml_ikrit.c put_req->mxm_req.op.mem.remote_mkey = mkey; mem 936 oshmem/mca/spml/ikrit/spml_ikrit.c mxm_req.op.mem.remote_vaddr = (intptr_t) rva; mem 940 oshmem/mca/spml/ikrit/spml_ikrit.c mxm_req.op.mem.remote_mkey = mkey; mem 315 test/class/ompi_rb_tree.c void * mem[NUM_ALLOCATIONS]; mem 335 test/class/ompi_rb_tree.c mem[i] = malloc(size); mem 336 test/class/ompi_rb_tree.c if(NULL == mem[i]) mem 347 test/class/ompi_rb_tree.c ((opal_test_rb_value_t *) new_value)->key.bottom = mem[i]; mem 349 test/class/ompi_rb_tree.c (void *) ((size_t) mem[i] + size - 1); mem 363 test/class/ompi_rb_tree.c lookup = (void *) ((size_t) mem[i] + i); mem 393 test/class/ompi_rb_tree.c if(NULL != mem[i]) mem 395 test/class/ompi_rb_tree.c free(mem[i]);