memheap_ptmalloc 22 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c mca_memheap_ptmalloc_module_t memheap_ptmalloc = { memheap_ptmalloc 54 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c OBJ_CONSTRUCT(&memheap_ptmalloc.lock, opal_mutex_t); memheap_ptmalloc 55 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c memheap_ptmalloc.base = context->user_base_addr; memheap_ptmalloc 56 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c memheap_ptmalloc.cur_size = 0; memheap_ptmalloc 57 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c memheap_ptmalloc.max_size = context->user_size + context->private_size; memheap_ptmalloc 58 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c memheap_ptmalloc.max_alloc_size = context->user_size; memheap_ptmalloc 76 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c if (size > memheap_ptmalloc.max_alloc_size) { memheap_ptmalloc 81 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c OPAL_THREAD_LOCK(&memheap_ptmalloc.lock); memheap_ptmalloc 83 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c OPAL_THREAD_UNLOCK(&memheap_ptmalloc.lock); memheap_ptmalloc 94 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c if (size > memheap_ptmalloc.max_alloc_size) { memheap_ptmalloc 110 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c OPAL_THREAD_LOCK(&memheap_ptmalloc.lock); memheap_ptmalloc 112 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c OPAL_THREAD_UNLOCK(&memheap_ptmalloc.lock); memheap_ptmalloc 125 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c if (new_size > memheap_ptmalloc.max_alloc_size) { memheap_ptmalloc 130 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c OPAL_THREAD_LOCK(&memheap_ptmalloc.lock); memheap_ptmalloc 132 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c OPAL_THREAD_UNLOCK(&memheap_ptmalloc.lock); memheap_ptmalloc 147 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c OPAL_THREAD_LOCK(&memheap_ptmalloc.lock); memheap_ptmalloc 149 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c OPAL_THREAD_UNLOCK(&memheap_ptmalloc.lock); memheap_ptmalloc 171 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c if (memheap_ptmalloc.cur_size + size > memheap_ptmalloc.max_size) { memheap_ptmalloc 175 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c ret = (char *) memheap_ptmalloc.base + memheap_ptmalloc.cur_size; memheap_ptmalloc 176 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.c memheap_ptmalloc.cur_size += size; memheap_ptmalloc 57 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc.h OSHMEM_DECLSPEC extern mca_memheap_ptmalloc_module_t memheap_ptmalloc; memheap_ptmalloc 55 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc_component.c *priority = memheap_ptmalloc.priority; memheap_ptmalloc 56 oshmem/mca/memheap/ptmalloc/memheap_ptmalloc_component.c *module = (mca_base_module_t *)&memheap_ptmalloc.super;