Searched refs:avail_ram (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/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-v5.4/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()
|
D | treeboot-walnut.c | 74 unsigned long avail_ram = end_of_ram - (unsigned long) _end; in platform_init() local 76 simple_alloc_init(_end, avail_ram, 32, 32); in platform_init()
|
/Linux-v5.4/arch/xtensa/boot/boot-redboot/ |
D | bootstrap.S | 238 .globl avail_ram 239 avail_ram: label
|
/Linux-v5.4/fs/f2fs/ |
D | node.c | 48 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()
|