Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/android/ion/
Dionapp_export.c34 unsigned long map_len, heap_type, heap_size, flags; in main() local
43 heap_size = 0; in main()
68 heap_size = atoi(optarg); in main()
77 if (heap_size <= 0) { in main()
83 printf("heap_type: %ld, heap_size: %ld\n", heap_type, heap_size); in main()
85 info.heap_size = heap_size; in main()
Dionutils.h23 unsigned long heap_size; member
Dionmap_test.c92 info.heap_size = 4096; in main()
Dionutils.c94 alloc_data.len = ion_info->heap_size; in ion_export_buffer_fd()
DREADME80 heap_type: 0, heap_size: 10
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dsimple_alloc.c126 void *simple_alloc_init(char *base, unsigned long heap_size, in simple_alloc_init() argument
131 heap_size = _ALIGN_UP(heap_size, granularity); in simple_alloc_init()
143 space_left = heap_size; in simple_alloc_init()
149 return (void *)(heap_base + heap_size); in simple_alloc_init()
Dops.h92 void *simple_alloc_init(char *base, unsigned long heap_size,
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_gem.c25 size_t old_size = bo->heap_size; in lima_heap_alloc()
26 size_t new_size = bo->heap_size ? bo->heap_size * 2 : in lima_heap_alloc()
31 if (bo->heap_size >= bo->base.base.size) in lima_heap_alloc()
98 bo->heap_size = new_size; in lima_heap_alloc()
179 if (bo->heap_size) in lima_gem_pin()
189 if (bo->heap_size) in lima_gem_vmap()
199 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.c326 size += bo->heap_size ? bo->heap_size : lima_bo_size(bo); in lima_sched_build_error_task_list()
375 if (bo->heap_size) { in lima_sched_build_error_task_list()
376 buffer_chunk->size = bo->heap_size; in lima_sched_build_error_task_list()
378 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()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-sysinfo.h65 uint32_t heap_size; member
Docteon.h70 uint32_t heap_size; member
122 uint32_t heap_size;
/kernel/linux/linux-5.10/include/linux/
Dpe.h234 uint32_t heap_size; /* amt of heap required */ member
268 uint64_t heap_size; /* amt of heap required */ member
Dperf_event.h875 int heap_size; member
/kernel/linux/linux-5.10/drivers/atm/
Dfore200e.h705 u32 heap_size; /* space available for queues */ member
/kernel/linux/linux-5.10/kernel/events/
Dcore.c944 int cpu, heap_size, ret = 0; in perf_cgroup_ensure_storage() local
950 for (heap_size = 1; css; css = css->parent) in perf_cgroup_ensure_storage()
951 heap_size++; in perf_cgroup_ensure_storage()
955 if (heap_size <= cpuctx->heap_size) in perf_cgroup_ensure_storage()
958 storage = kmalloc_node(heap_size * sizeof(struct perf_event *), in perf_cgroup_ensure_storage()
966 if (cpuctx->heap_size < heap_size) { in perf_cgroup_ensure_storage()
970 cpuctx->heap_size = heap_size; in perf_cgroup_ensure_storage()
3674 .size = cpuctx->heap_size, in visit_groups_merge()
10912 cpuctx->heap_size = ARRAY_SIZE(cpuctx->heap_default); in perf_pmu_register()