/kernel/linux/linux-5.10/tools/testing/selftests/android/ion/ |
H A D | ionapp_export.c | 34 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 D | ionutils.h | 23 unsigned long heap_size; member
|
H A D | ionmap_test.c | 92 info.heap_size = 4096; in main()
|
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
H A D | simple_alloc.c | 126 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 D | simple_alloc.c | 124 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 D | lima_gem.c | 25 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 D | lima_gp.c | 140 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 D | lima_sched.c | 326 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 D | lima_gem.h | 18 size_t heap_size; member
|
H A D | lima_vm.c | 170 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 D | lima_gem.c | 26 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 D | lima_gp.c | 140 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 D | lima_sched.c | 309 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 D | lima_gem.h | 18 size_t heap_size; member
|
H A D | lima_vm.c | 170 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 D | bios_uv.c | 182 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 D | efct_unsol.c | 233 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 D | load.c | 177 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 D | main.h | 38 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 D | cvmx-sysinfo.h | 65 uint32_t heap_size; member
|
H A D | octeon.h | 70 uint32_t heap_size; member 122 uint32_t heap_size;
|
/kernel/linux/linux-6.6/arch/mips/include/asm/octeon/ |
H A D | cvmx-sysinfo.h | 65 uint32_t heap_size; member
|
H A D | octeon.h | 69 uint32_t heap_size; member 121 uint32_t heap_size;
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | pe.h | 235 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 D | pe.h | 248 uint32_t heap_size; /* amt of heap required */ member 282 uint64_t heap_size; /* amt of heap required */ member
|