Searched refs:avail_ram (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/arch/xtensa/boot/lib/ |
D | zmem.c | 6 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/ |
D | treeboot-currituck.c | 82 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()
|
D | treeboot-ebony.c | 24 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()
|
D | treeboot-akebono.c | 95 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()
|
D | cuboot.c | 21 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()
|
D | treeboot-bamboo.c | 35 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()
|
D | treeboot-iss4xx.c | 62 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/ |
D | bootstrap.S | 242 .globl avail_ram 243 avail_ram: label
|
/linux-6.1.9/fs/f2fs/ |
D | node.c | 50 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()
|