Home
last modified time | relevance | path

Searched refs:avail_ram (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/arch/xtensa/boot/lib/
Dzmem.c6 extern void *avail_ram, *end_avail;
15 void *p = avail_ram; in zalloc()
18 avail_ram += size; in zalloc()
19 if (avail_ram > end_avail) { in zalloc()
/linux-6.1.9/arch/powerpc/boot/
Dtreeboot-currituck.c82 unsigned long end_of_ram, avail_ram; in platform_init() local
92 avail_ram = end_of_ram - (unsigned long)_end; in platform_init()
94 simple_alloc_init(_end, avail_ram, 128, 64); in platform_init()
Dtreeboot-ebony.c24 unsigned long avail_ram = end_of_ram - (unsigned long)_end; in platform_init() local
26 simple_alloc_init(_end, avail_ram, 32, 64); in platform_init()
Dtreeboot-akebono.c95 unsigned long end_of_ram, avail_ram; in platform_init() local
136 avail_ram = end_of_ram - (unsigned long)_end; in platform_init()
138 simple_alloc_init(_end, avail_ram, 128, 64); in platform_init()
Dcuboot.c21 unsigned long avail_ram = end_of_ram - (unsigned long)_end; in cuboot_init() local
28 simple_alloc_init(_end, avail_ram - 1024*1024, 32, 64); in cuboot_init()
Dtreeboot-bamboo.c35 unsigned long avail_ram = end_of_ram - (unsigned long)_end; in platform_init() local
37 simple_alloc_init(_end, avail_ram, 32, 64); in platform_init()
Dtreeboot-iss4xx.c62 unsigned long avail_ram = end_of_ram - (unsigned long)_end; in platform_init() local
65 simple_alloc_init(_end, avail_ram, 128, 64); in platform_init()
/linux-6.1.9/arch/xtensa/boot/boot-redboot/
Dbootstrap.S242 .globl avail_ram
243 avail_ram: label
/linux-6.1.9/fs/f2fs/
Dnode.c50 unsigned long avail_ram; in f2fs_available_free_memory() local
60 avail_ram = val.totalram - val.totalhigh; in f2fs_available_free_memory()
68 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 2); in f2fs_available_free_memory()
72 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 2); in f2fs_available_free_memory()
79 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); in f2fs_available_free_memory()
87 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); in f2fs_available_free_memory()
93 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); in f2fs_available_free_memory()
97 res = mem_size < (avail_ram * nm_i->ram_thresh / 100); in f2fs_available_free_memory()
106 res = (free_ram > avail_ram * sbi->compress_watermark / 100) && in f2fs_available_free_memory()