Home
last modified time | relevance | path

Searched refs:heap_size (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/arch/powerpc/boot/
H A Dsimple_alloc.c127 void *simple_alloc_init(char *base, unsigned long heap_size, in simple_alloc_init() argument
132 heap_size = _ALIGN_UP(heap_size, granularity); in simple_alloc_init()
144 space_left = heap_size; in simple_alloc_init()
150 return (void *)(heap_base + heap_size); in simple_alloc_init()
H A Dops.h90 void *simple_alloc_init(char *base, unsigned long heap_size,
/openbmc/linux/drivers/gpu/drm/lima/
H A Dlima_gem.c26 size_t old_size = bo->heap_size; in lima_heap_alloc()
27 size_t new_size = bo->heap_size ? bo->heap_size * 2 : in lima_heap_alloc()
32 if (bo->heap_size >= bo->base.base.size) in lima_heap_alloc()
95 bo->heap_size = new_size; in lima_heap_alloc()
185 if (bo->heap_size) in lima_gem_pin()
195 if (bo->heap_size) in lima_gem_vmap()
205 if (bo->heap_size) in lima_gem_mmap()
H A Dlima_gp.c140 if (bo->heap_size && in lima_gp_task_run()
145 bo->heap_size; in lima_gp_task_run()
244 if (fail_size == task->heap->heap_size) { in lima_gp_task_recover()
257 f[LIMA_GP_PLBU_ALLOC_START_ADDR >> 2] + task->heap->heap_size; in lima_gp_task_recover()
H A Dlima_sched.c309 size += bo->heap_size ? bo->heap_size : lima_bo_size(bo); in lima_sched_build_error_task_list()
358 if (bo->heap_size) { in lima_sched_build_error_task_list()
359 buffer_chunk->size = bo->heap_size; in lima_sched_build_error_task_list()
361 data = vmap(bo->base.pages, bo->heap_size >> PAGE_SHIFT, in lima_sched_build_error_task_list()
H A Dlima_gem.h18 size_t heap_size; member
H A Dlima_vm.c170 size = bo->heap_size ? bo->heap_size : bo_va->node.size; in lima_vm_bo_del()
/openbmc/linux/arch/x86/platform/uv/
H A Dbios_uv.c182 extern s64 uv_bios_get_heapsize(u64 nasid, u64 size, u64 *heap_size) in uv_bios_get_heapsize() argument
185 0, size, (u64)heap_size); in uv_bios_get_heapsize()
189 extern s64 uv_bios_install_heap(u64 nasid, u64 heap_size, u64 *bios_heap) in uv_bios_install_heap() argument
192 0, heap_size, (u64)bios_heap); in uv_bios_install_heap()
/openbmc/linux/drivers/scsi/elx/efct/
H A Defct_unsol.c233 u32 heap_size = seq->payload->dma.size; in efct_sframe_common_send() local
263 if (heap_offset > heap_size) { in efct_sframe_common_send()
265 heap_offset, heap_size); in efct_sframe_common_send()
280 if (heap_offset > heap_size) { in efct_sframe_common_send()
282 heap_offset, heap_size); in efct_sframe_common_send()
/openbmc/linux/arch/mips/include/asm/octeon/
H A Dcvmx-sysinfo.h65 uint32_t heap_size; member
H A Docteon.h69 uint32_t heap_size; member
121 uint32_t heap_size;
/openbmc/linux/tools/testing/selftests/sgx/
H A Dmain.h38 bool encl_load(const char *path, struct encl *encl, unsigned long heap_size);
H A Dload.c177 bool encl_load(const char *path, struct encl *encl, unsigned long heap_size) in encl_load() argument
294 seg->size = heap_size; in encl_load()
295 seg->src = mmap(NULL, heap_size, PROT_READ | PROT_WRITE, in encl_load()
H A Dmain.c175 static bool setup_test_encl(unsigned long heap_size, struct encl *encl, in setup_test_encl() argument
186 if (!encl_load("test_encl.elf", encl, heap_size)) { in setup_test_encl()
/openbmc/linux/include/linux/
H A Dpe.h248 uint32_t heap_size; /* amt of heap required */ member
282 uint64_t heap_size; /* amt of heap required */ member
H A Dperf_event.h1009 int heap_size; member
/openbmc/linux/drivers/media/platform/amphion/
H A Dvpu_imx8q.h98 u32 heap_size; member
/openbmc/linux/drivers/atm/
H A Dfore200e.h705 u32 heap_size; /* space available for queues */ member
/openbmc/linux/kernel/events/
H A Dcore.c895 int cpu, heap_size, ret = 0; in perf_cgroup_ensure_storage() local
901 for (heap_size = 1; css; css = css->parent) in perf_cgroup_ensure_storage()
902 heap_size++; in perf_cgroup_ensure_storage()
906 if (heap_size <= cpuctx->heap_size) in perf_cgroup_ensure_storage()
909 storage = kmalloc_node(heap_size * sizeof(struct perf_event *), in perf_cgroup_ensure_storage()
917 if (cpuctx->heap_size < heap_size) { in perf_cgroup_ensure_storage()
921 cpuctx->heap_size = heap_size; in perf_cgroup_ensure_storage()
3754 .size = cpuctx->heap_size, in visit_groups_merge()
13694 cpuctx->heap_size = ARRAY_SIZE(cpuctx->heap_default); in perf_event_init_all_cpus()