Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/xtensa/boot/boot-redboot/
Dbootstrap.S238 .globl avail_ram symbol
239 avail_ram: label
/kernel/linux/linux-5.10/fs/f2fs/
Dnode.c48 unsigned long avail_ram; in f2fs_available_free_memory() local
55 avail_ram = val.totalram - val.totalhigh; in f2fs_available_free_memory()
63 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 2); in f2fs_available_free_memory()
67 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 2); in f2fs_available_free_memory()
74 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); in f2fs_available_free_memory()
82 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); in f2fs_available_free_memory()
88 res = mem_size < ((avail_ram * nm_i->ram_thresh / 100) >> 1); in f2fs_available_free_memory()