Home
last modified time | relevance | path

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

/linux-6.6.21/arch/powerpc/boot/
Dsimple_alloc.c124 void *simple_alloc_init(char *base, unsigned long heap_size, in simple_alloc_init() argument
129 heap_size = _ALIGN_UP(heap_size, granularity); in simple_alloc_init()
141 space_left = heap_size; in simple_alloc_init()
147 return (void *)(heap_base + heap_size); in simple_alloc_init()
Dops.h90 void *simple_alloc_init(char *base, unsigned long heap_size,
/linux-6.6.21/drivers/gpu/drm/lima/
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()
99 bo->heap_size = new_size; in lima_heap_alloc()
180 if (bo->heap_size) in lima_gem_pin()
190 if (bo->heap_size) in lima_gem_vmap()
200 if (bo->heap_size) in lima_gem_mmap()
Dlima_gp.c140 if (bo->heap_size && in lima_gp_task_run()
145 bo->heap_size; in lima_gp_task_run()
225 if (fail_size == task->heap->heap_size) { in lima_gp_task_recover()
238 f[LIMA_GP_PLBU_ALLOC_START_ADDR >> 2] + task->heap->heap_size; in lima_gp_task_recover()
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()
Dlima_gem.h18 size_t heap_size; member
Dlima_vm.c170 size = bo->heap_size ? bo->heap_size : bo_va->node.size; in lima_vm_bo_del()
/linux-6.6.21/arch/x86/platform/uv/
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()
/linux-6.6.21/drivers/scsi/elx/efct/
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()
/linux-6.6.21/tools/testing/selftests/sgx/
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()
Dmain.h38 bool encl_load(const char *path, struct encl *encl, unsigned long heap_size);
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()
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-sysinfo.h65 uint32_t heap_size; member
Docteon.h69 uint32_t heap_size; member
121 uint32_t heap_size;
/linux-6.6.21/include/linux/
Dpe.h248 uint32_t heap_size; /* amt of heap required */ member
282 uint64_t heap_size; /* amt of heap required */ member
Dperf_event.h1008 int heap_size; member
/linux-6.6.21/drivers/media/platform/amphion/
Dvpu_imx8q.h98 u32 heap_size; member
/linux-6.6.21/drivers/atm/
Dfore200e.h705 u32 heap_size; /* space available for queues */ member
/linux-6.6.21/kernel/events/
Dcore.c891 int cpu, heap_size, ret = 0; in perf_cgroup_ensure_storage() local
897 for (heap_size = 1; css; css = css->parent) in perf_cgroup_ensure_storage()
898 heap_size++; in perf_cgroup_ensure_storage()
902 if (heap_size <= cpuctx->heap_size) in perf_cgroup_ensure_storage()
905 storage = kmalloc_node(heap_size * sizeof(struct perf_event *), in perf_cgroup_ensure_storage()
913 if (cpuctx->heap_size < heap_size) { in perf_cgroup_ensure_storage()
917 cpuctx->heap_size = heap_size; in perf_cgroup_ensure_storage()
3753 .size = cpuctx->heap_size, in visit_groups_merge()
13631 cpuctx->heap_size = ARRAY_SIZE(cpuctx->heap_default); in perf_event_init_all_cpus()