Searched refs:max_memory (Results 1 – 8 of 8) sorted by relevance
72 static unsigned long long max_memory = ULLONG_MAX; variable858 max_memory = 64ull << 20; in prom_init()862 max_memory = memparse(arg + 4, &p); in prom_init()863 if (max_memory == 0) in prom_init()864 max_memory = 32ull << 30; in prom_init()876 max_memory = memparse(arg + 4, &p); in prom_init()877 if (max_memory == 0) in prom_init()878 max_memory = 32ull << 30; in prom_init()991 if (mem_alloc_size > max_memory) in plat_mem_setup()992 mem_alloc_size = max_memory; in plat_mem_setup()[all …]
52 int max_memory; /* In pages */ member
9 static int max_memory = 32; variable11 module_param(max_memory, int, 0644);12 MODULE_PARM_DESC(max_memory, "maximum memory usage for capture buffers (default: 32Mb)");1133 if( (*count * *size) > (max_memory*1048576) ) { in buffer_setup()1134 *count = (max_memory*1048576) / *size; in buffer_setup()
52 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in compat_agpioc_info_wrap()
726 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in agpioc_info_wrap()
382 info->max_memory = bridge->max_memory_agp; in agp_copy_info()
73 info->memory_allowed = kern->max_memory << PAGE_SHIFT; in drm_agp_info()
1887 const u64 max_memory = __rounddown_pow_of_two(memory_hotplug_max()); in pnv_pci_ioda2_setup_default_config() local1904 const u64 window_size = min((maxblock * 8) << PAGE_SHIFT, max_memory); in pnv_pci_ioda2_setup_default_config()