Home
last modified time | relevance | path

Searched refs:heap_size (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/tools/testing/selftests/android/ion/
H A 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()
78 printf("heap_size cannot be 0\n"); 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()
H A Dionutils.h23 unsigned long heap_size; member
H A Dionmap_test.c92 info.heap_size = 4096; in main()
/kernel/linux/linux-5.10/arch/powerpc/boot/
H A 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()
/kernel/linux/linux-6.6/arch/powerpc/boot/
H A 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
H A 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()
H A 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()
H A 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()
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()
/kernel/linux/linux-6.6/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()
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()
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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/tools/testing/selftests/sgx/
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.h38 bool encl_load(const char *path, struct encl *encl, unsigned long heap_size);
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
H A Dcvmx-sysinfo.h65 uint32_t heap_size; member
H A Docteon.h70 uint32_t heap_size; member
122 uint32_t heap_size;
/kernel/linux/linux-6.6/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;
/kernel/linux/linux-5.10/include/linux/
H A Dpe.h235 uint32_t heap_size; /* amt of heap required */ member
269 uint64_t heap_size; /* amt of heap required */ member
/kernel/linux/linux-6.6/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

Completed in 18 milliseconds

12