Home
last modified time | relevance | path

Searched refs:total_mem (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/arch/x86/kernel/
Dsetup.c521 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local
525 total_mem = memblock_phys_mem_size(); in reserve_crashkernel()
528 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel()
531 ret = parse_crashkernel_high(boot_command_line, total_mem, in reserve_crashkernel()
584 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
/Linux-v4.19/arch/ia64/kernel/
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()
/Linux-v4.19/drivers/edac/
Dmv64x60_edac.h94 int total_mem; member
Dcpc925_edac.c278 unsigned long total_mem; member
312 pdata->total_mem = 0; in get_total_mem()
319 pdata->total_mem += size; in get_total_mem()
323 edac_dbg(0, "total_mem 0x%lx\n", pdata->total_mem); in get_total_mem()
Dmv64x60_edac.c653 pdata->total_mem = reg[1]; in get_total_mem()
672 dimm->nr_pages = pdata->total_mem >> PAGE_SHIFT; in mv64x60_init_csrows()
Daltera_edac.c226 unsigned long total_mem = 0; in get_total_mem() local
233 total_mem += resource_size(&res); in get_total_mem()
235 edac_dbg(0, "total_mem 0x%lx\n", total_mem); in get_total_mem()
236 return total_mem; in get_total_mem()
/Linux-v4.19/tools/perf/util/
Denv.h45 unsigned long long total_mem; member
Dheader.c1650 fprintf(fp, "# total memory : %llu kB\n", ff->ph->env.total_mem); in print_total_mem()
2015 u64 total_mem; in process_total_mem() local
2018 ret = do_read_u64(ff, &total_mem); in process_total_mem()
2021 ff->ph->env.total_mem = (unsigned long long)total_mem; in process_total_mem()
2580 FEAT_OPR(TOTAL_MEM, total_mem, false),
/Linux-v4.19/arch/arm/kernel/
Dsetup.c979 unsigned long long total_mem; in reserve_crashkernel() local
982 total_mem = get_total_mem(); in reserve_crashkernel()
983 ret = parse_crashkernel(boot_command_line, total_mem, in reserve_crashkernel()
1021 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
/Linux-v4.19/arch/mips/kernel/
Dsetup.c795 unsigned long long total_mem; in mips_parse_crashkernel() local
799 total_mem = get_total_mem(); in mips_parse_crashkernel()
800 ret = parse_crashkernel(boot_command_line, total_mem, in mips_parse_crashkernel()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_bsg.c3057 uint32_t total_mem; in lpfc_bsg_diag_loopback_run() local
3106 total_mem = full_size; in lpfc_bsg_diag_loopback_run()
3108 total_mem = 64 * 1024; in lpfc_bsg_diag_loopback_run()
3111 total_mem = BUF_SZ_4K; in lpfc_bsg_diag_loopback_run()
3113 dataout = kmalloc(total_mem, GFP_KERNEL); in lpfc_bsg_diag_loopback_run()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dcnic.c1195 int total_mem, blks, i; in cnic_alloc_bnx2x_context() local
1197 total_mem = BNX2X_CONTEXT_MEM_SIZE * cp->max_cid_space; in cnic_alloc_bnx2x_context()
1198 blks = total_mem / ctx_blk_size; in cnic_alloc_bnx2x_context()
1199 if (total_mem % ctx_blk_size) in cnic_alloc_bnx2x_context()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2720 int total_mem; in qp_get_mtt_size() local
2725 total_mem = sq_size + rq_size; in qp_get_mtt_size()
2727 roundup_pow_of_two((total_mem + (page_offset << 6)) >> in qp_get_mtt_size()