Lines Matching refs:pg_sz

294 alloc_pages_on_heap(struct malloc_heap *heap, uint64_t pg_sz, size_t elt_size,  in alloc_pages_on_heap()  argument
306 alloc_sz = (size_t)pg_sz * n_segs; in alloc_pages_on_heap()
315 allocd_pages = eal_memalloc_alloc_seg_bulk(ms, n_segs, pg_sz, in alloc_pages_on_heap()
394 try_expand_heap_primary(struct malloc_heap *heap, uint64_t pg_sz, in try_expand_heap_primary() argument
406 MALLOC_ELEM_TRAILER_LEN, pg_sz); in try_expand_heap_primary()
407 n_segs = alloc_sz / pg_sz; in try_expand_heap_primary()
415 elem = alloc_pages_on_heap(heap, pg_sz, elt_size, socket, flags, align, in try_expand_heap_primary()
465 try_expand_heap_secondary(struct malloc_heap *heap, uint64_t pg_sz, in try_expand_heap_secondary() argument
481 req.alloc_req.page_sz = pg_sz; in try_expand_heap_secondary()
497 try_expand_heap(struct malloc_heap *heap, uint64_t pg_sz, size_t elt_size, in try_expand_heap() argument
506 ret = try_expand_heap_primary(heap, pg_sz, elt_size, socket, in try_expand_heap()
509 ret = try_expand_heap_secondary(heap, pg_sz, elt_size, socket, in try_expand_heap()
587 uint64_t pg_sz = requested_msls[i]->page_sz; in alloc_more_mem_on_socket() local
589 if (prev_pg_sz != pg_sz) { in alloc_more_mem_on_socket()
590 requested_pg_sz[n_requested_pg_sz++] = pg_sz; in alloc_more_mem_on_socket()
591 prev_pg_sz = pg_sz; in alloc_more_mem_on_socket()
597 uint64_t pg_sz = other_msls[i]->page_sz; in alloc_more_mem_on_socket() local
599 if (prev_pg_sz != pg_sz) { in alloc_more_mem_on_socket()
600 other_pg_sz[n_other_pg_sz++] = pg_sz; in alloc_more_mem_on_socket()
601 prev_pg_sz = pg_sz; in alloc_more_mem_on_socket()
609 uint64_t pg_sz = requested_pg_sz[i]; in alloc_more_mem_on_socket() local
615 if (!try_expand_heap(heap, pg_sz, size, socket, size_flags, in alloc_more_mem_on_socket()
632 uint64_t pg_sz = other_pg_sz[i]; in alloc_more_mem_on_socket() local
634 if (!try_expand_heap(heap, pg_sz, size, socket, flags, in alloc_more_mem_on_socket()