Home
last modified time | relevance | path

Searched refs:max_memory (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
Dsetup.c72 static unsigned long long max_memory = ULLONG_MAX; variable
858 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 …]
/kernel/linux/linux-5.10/include/linux/
Dagp_backend.h52 int max_memory; /* In pages */ member
/kernel/linux/linux-5.10/drivers/media/common/saa7146/
Dsaa7146_video.c9 static int max_memory = 32; variable
11 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()
/kernel/linux/linux-5.10/drivers/char/agp/
Dcompat_ioctl.c52 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in compat_agpioc_info_wrap()
Dfrontend.c726 userinfo.pg_total = userinfo.pg_system = kerninfo.max_memory; in agpioc_info_wrap()
Dgeneric.c382 info->max_memory = bridge->max_memory_agp; in agp_copy_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_agpsupport.c73 info->memory_allowed = kern->max_memory << PAGE_SHIFT; in drm_agp_info()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dpci-ioda.c1887 const u64 max_memory = __rounddown_pow_of_two(memory_hotplug_max()); in pnv_pci_ioda2_setup_default_config() local
1904 const u64 window_size = min((maxblock * 8) << PAGE_SHIFT, max_memory); in pnv_pci_ioda2_setup_default_config()