max_order 192 oshmem/mca/memheap/buddy/memheap_buddy.c memheap_buddy.heap.max_order = memheap_log2(context->user_size); max_order 194 oshmem/mca/memheap/buddy/memheap_buddy.c memheap_buddy.private_heap.max_order = memheap_log2(context->private_size); max_order 197 oshmem/mca/memheap/buddy/memheap_buddy.c if (context->user_size != (1ULL << memheap_buddy.heap.max_order)) { max_order 200 oshmem/mca/memheap/buddy/memheap_buddy.c (unsigned long long)context->user_size, 1ULL << memheap_buddy.heap.max_order); max_order 203 oshmem/mca/memheap/buddy/memheap_buddy.c assert(context->private_size == (1ULL << memheap_buddy.private_heap.max_order)); max_order 208 oshmem/mca/memheap/buddy/memheap_buddy.c memheap_buddy.super.memheap_size = (1ULL << memheap_buddy.heap.max_order); max_order 250 oshmem/mca/memheap/buddy/memheap_buddy.c buddy->heap.bits = (unsigned long**) calloc((buddy->heap.max_order + 1), max_order 253 oshmem/mca/memheap/buddy/memheap_buddy.c (unsigned long**) calloc((buddy->private_heap.max_order + 1), max_order 255 oshmem/mca/memheap/buddy/memheap_buddy.c buddy->heap.num_free = (unsigned int*) calloc((buddy->heap.max_order + 1), max_order 258 oshmem/mca/memheap/buddy/memheap_buddy.c (unsigned int*) calloc((buddy->private_heap.max_order + 1), max_order 269 oshmem/mca/memheap/buddy/memheap_buddy.c for (i = buddy->heap.min_order; i <= buddy->heap.max_order; ++i) { max_order 270 oshmem/mca/memheap/buddy/memheap_buddy.c s = BITS_TO_LONGS(1UL << (buddy->heap.max_order - i)); max_order 273 oshmem/mca/memheap/buddy/memheap_buddy.c i, buddy->heap.max_order, s, (int)sizeof(unsigned long)); max_order 281 oshmem/mca/memheap/buddy/memheap_buddy.c bitmap_zero(buddy->heap.bits[i], 1UL << (buddy->heap.max_order - i)); max_order 286 oshmem/mca/memheap/buddy/memheap_buddy.c for (i = buddy->private_heap.min_order; i <= buddy->private_heap.max_order; max_order 288 oshmem/mca/memheap/buddy/memheap_buddy.c s = BITS_TO_LONGS(1UL << (buddy->private_heap.max_order - i)); max_order 291 oshmem/mca/memheap/buddy/memheap_buddy.c i, buddy->private_heap.max_order, s, (int)sizeof(unsigned long)); max_order 300 oshmem/mca/memheap/buddy/memheap_buddy.c 1UL << (buddy->private_heap.max_order - i)); max_order 306 oshmem/mca/memheap/buddy/memheap_buddy.c set_bit(0, buddy->heap.bits[buddy->heap.max_order]); max_order 307 oshmem/mca/memheap/buddy/memheap_buddy.c set_bit(0, buddy->private_heap.bits[buddy->private_heap.max_order]); max_order 308 oshmem/mca/memheap/buddy/memheap_buddy.c buddy->heap.num_free[buddy->heap.max_order] = 1; max_order 309 oshmem/mca/memheap/buddy/memheap_buddy.c buddy->private_heap.num_free[buddy->private_heap.max_order] = 1; max_order 325 oshmem/mca/memheap/buddy/memheap_buddy.c for (i = 0; i <= buddy->heap.max_order; ++i) { max_order 331 oshmem/mca/memheap/buddy/memheap_buddy.c for (i = 0; i <= buddy->private_heap.max_order; ++i) { max_order 365 oshmem/mca/memheap/buddy/memheap_buddy.c for (o = order; o <= heap->max_order; ++o) { max_order 367 oshmem/mca/memheap/buddy/memheap_buddy.c m = 1 << (heap->max_order - o); max_order 446 oshmem/mca/memheap/buddy/memheap_buddy.c if (order > heap->max_order) { max_order 608 oshmem/mca/memheap/buddy/memheap_buddy.c if (new_size > (1UL << memheap_buddy.heap.max_order)) { max_order 613 oshmem/mca/memheap/buddy/memheap_buddy.c if (old_size + new_size >= (1UL << memheap_buddy.heap.max_order)) { max_order 628 oshmem/mca/memheap/buddy/memheap_buddy.c if (old_size + new_size >= (1UL << memheap_buddy.heap.max_order) max_order 637 oshmem/mca/memheap/buddy/memheap_buddy.c if (old_size + new_size < (1UL << memheap_buddy.heap.max_order)) max_order 681 oshmem/mca/memheap/buddy/memheap_buddy.c if (memheap_buddy.heap.max_order == 0) max_order 48 oshmem/mca/memheap/buddy/memheap_buddy.h unsigned max_order; /** Log2 of Maximal heap size, part of the allocator */