Searched refs:max_memory (Results 1 – 8 of 8) sorted by relevance
69 static unsigned long long max_memory = ULLONG_MAX; variable855 max_memory = 64ull << 20; in prom_init()859 max_memory = memparse(arg + 4, &p); in prom_init()860 if (max_memory == 0) in prom_init()861 max_memory = 32ull << 30; in prom_init()873 max_memory = memparse(arg + 4, &p); in prom_init()874 if (max_memory == 0) in prom_init()875 max_memory = 32ull << 30; in prom_init()988 if (mem_alloc_size > max_memory) in plat_mem_setup()989 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)");1154 if( (*count * *size) > (max_memory*1048576) ) { in buffer_setup()1155 *count = (max_memory*1048576) / *size; in buffer_setup()
52 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in compat_agpioc_info_wrap()
728 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in agpioc_info_wrap()
381 info->max_memory = bridge->max_memory_agp; in agp_copy_info()
66 info->memory_allowed = kern->max_memory << PAGE_SHIFT; in drm_agp_info()
2499 const u64 max_memory = __rounddown_pow_of_two(memory_hotplug_max()); in pnv_pci_ioda2_setup_default_config() local2506 const u64 window_size = min((u64)pe->table_group.tce32_size, max_memory); in pnv_pci_ioda2_setup_default_config()