Home
last modified time | relevance | path

Searched refs:total_mem (Results 1 - 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/arch/mips/sgi-ip30/
H A Dip30-setup.c49 unsigned long total_mem; in ip30_mem_init() local
55 total_mem = 0; in ip30_mem_init()
69 total_mem += size; in ip30_mem_init()
77 pr_info("Detected %luMB of physical memory.\n", MEM_SHIFT(total_mem)); in ip30_mem_init()
/kernel/linux/linux-6.6/arch/mips/sgi-ip30/
H A Dip30-setup.c49 unsigned long total_mem; in ip30_mem_init() local
55 total_mem = 0; in ip30_mem_init()
69 total_mem += size; in ip30_mem_init()
77 pr_info("Detected %luMB of physical memory.\n", MEM_SHIFT(total_mem)); in ip30_mem_init()
/kernel/linux/linux-6.6/arch/s390/boot/
H A Dphysmem_info.c188 unsigned long start, end, total_mem = 0, total_reserved_mem = 0; in die_oom() local
207 total_mem += end - start; in die_oom()
210 total_mem, total_reserved_mem, in die_oom()
211 total_mem > total_reserved_mem ? total_mem - total_reserved_mem : 0); in die_oom()
/kernel/linux/build/test/moduletest/runtest/bin/enhancedf2fs_t/testcases/bin/
H A Dperformance_init.sh41 total_mem=$(sed 's/.$//' 1.txt)
42 mid_mem=$(expr $total_mem \* 90)
H A Dequilibrium_init.sh41 total_mem=$(sed 's/.$//' 1.txt)
42 mid_mem=$(expr $total_mem \* 82)
/kernel/linux/linux-6.6/kernel/
H A Dcrash_core.c56 unsigned long long total_mem = system_ram; in parse_crashkernel_mem() local
64 total_mem = roundup(total_mem, SZ_128M); in parse_crashkernel_mem()
109 if (size >= total_mem) { in parse_crashkernel_mem()
115 if (total_mem >= start && total_mem < end) { in parse_crashkernel_mem()
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
H A Denv.c8 struct perf_env env = { .total_mem = 0, }; in x86__is_amd_cpu()
/kernel/linux/common_modules/tzdriver/core/
H A Dtzdebug.h25 uint32_t total_mem; member
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dsetup.c250 unsigned long long total_mem; in arch_parse_crashkernel() local
253 total_mem = memblock_phys_mem_size(); in arch_parse_crashkernel()
254 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in arch_parse_crashkernel()
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Defi.c976 unsigned long total_mem = 0; in find_memmap_space() local
1024 if (total_mem + (ae - as) > mem_limit) in find_memmap_space()
1025 ae -= total_mem + (ae - as) - mem_limit; in find_memmap_space()
1053 unsigned long total_mem = 0; in efi_memmap_init() local
1143 if (total_mem + (ae - as) > mem_limit) in efi_memmap_init()
1144 ae -= total_mem + (ae - as) - mem_limit; in efi_memmap_init()
1150 total_mem += ae - as; in efi_memmap_init()
1156 total_mem += ae - as; in efi_memmap_init()
1165 return total_mem; in efi_memmap_init()
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Defi.c978 unsigned long total_mem = 0; in find_memmap_space() local
1026 if (total_mem + (ae - as) > mem_limit) in find_memmap_space()
1027 ae -= total_mem + (ae - as) - mem_limit; in find_memmap_space()
1055 unsigned long total_mem = 0; in efi_memmap_init() local
1145 if (total_mem + (ae - as) > mem_limit) in efi_memmap_init()
1146 ae -= total_mem + (ae - as) - mem_limit; in efi_memmap_init()
1152 total_mem += ae - as; in efi_memmap_init()
1158 total_mem += ae - as; in efi_memmap_init()
1167 return total_mem; in efi_memmap_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.c121 ctx->total_mem += ctx->vm->gran; in vmw_validation_mem_alloc()
160 if (ctx->vm && ctx->total_mem) { in vmw_validation_mem_free()
161 ctx->vm->unreserve_mem(ctx->vm, ctx->total_mem); in vmw_validation_mem_free()
162 ctx->total_mem = 0; in vmw_validation_mem_free()
H A Dvmwgfx_validation.h73 * @total_mem: Amount of reserved memory.
88 size_t total_mem; member
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dsetup.c486 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local
490 total_mem = memblock_phys_mem_size(); in reserve_crashkernel()
493 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel()
496 ret = parse_crashkernel_high(boot_command_line, total_mem, in reserve_crashkernel()
549 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dsetup.c546 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local
553 total_mem = memblock_phys_mem_size(); in reserve_crashkernel()
556 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel()
559 ret = parse_crashkernel_high(boot_command_line, total_mem, in reserve_crashkernel()
612 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
/kernel/linux/linux-5.10/drivers/edac/
H A Dmv64x60_edac.h94 int total_mem; member
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dsetup.c447 unsigned long long total_mem; in mips_parse_crashkernel() local
451 total_mem = memblock_phys_mem_size(); in mips_parse_crashkernel()
452 ret = parse_crashkernel(boot_command_line, total_mem, in mips_parse_crashkernel()
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dsetup.c457 unsigned long long total_mem; in mips_parse_crashkernel() local
461 total_mem = memblock_phys_mem_size(); in mips_parse_crashkernel()
462 ret = parse_crashkernel(boot_command_line, total_mem, in mips_parse_crashkernel()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dsetup.c266 unsigned long long total_mem; in arch_parse_crashkernel() local
269 total_mem = memblock_phys_mem_size(); in arch_parse_crashkernel()
270 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in arch_parse_crashkernel()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.c119 ctx->total_mem += VMWGFX_VALIDATION_MEM_GRAN; in vmw_validation_mem_alloc()
158 if (ctx->vm && ctx->total_mem) { in vmw_validation_mem_free()
159 ctx->total_mem = 0; in vmw_validation_mem_free()
H A Dvmwgfx_validation.h58 * @total_mem: Amount of reserved memory.
73 size_t total_mem; member
/kernel/linux/linux-6.6/arch/x86/mm/
H A Dmem_encrypt_amd.c221 phys_addr_t total_mem = memblock_phys_mem_size(); in sev_setup_arch() local
245 size = total_mem * 6 / 100; in sev_setup_arch()
/kernel/linux/linux-6.6/tools/testing/selftests/sgx/
H A Dmain.c356 unsigned long total_mem; in TEST_F() local
358 total_mem = get_total_epc_mem(); in TEST_F()
359 ASSERT_NE(total_mem, 0); in TEST_F()
360 ASSERT_TRUE(setup_test_encl(total_mem, &self->encl, _metadata)); in TEST_F()
391 unsigned long total_mem; variable
400 total_mem = get_total_epc_mem();
401 ASSERT_NE(total_mem, 0);
403 total_mem);
404 ASSERT_TRUE(setup_test_encl(total_mem, &self->encl, _metadata));
/kernel/linux/linux-5.10/tools/perf/util/
H A Denv.h49 unsigned long long total_mem; member
/kernel/linux/linux-6.6/tools/perf/util/
H A Denv.h62 unsigned long long total_mem; member

Completed in 20 milliseconds

12