Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/edac/
Daltera_edac.c205 unsigned long start, size, total_mem = 0; in get_total_mem() local
213 total_mem = 0; in get_total_mem()
219 total_mem += size; in get_total_mem()
222 edac_dbg(0, "total_mem 0x%lx\n", total_mem); in get_total_mem()
223 return total_mem; in get_total_mem()
Dmv64x60_edac.h94 int total_mem; member
Dcpc925_edac.c279 unsigned long total_mem; member
313 pdata->total_mem = 0; in get_total_mem()
320 pdata->total_mem += size; in get_total_mem()
324 edac_dbg(0, "total_mem 0x%lx\n", pdata->total_mem); in get_total_mem()
Dmv64x60_edac.c657 pdata->total_mem = reg[1]; in get_total_mem()
676 dimm->nr_pages = pdata->total_mem >> PAGE_SHIFT; in mv64x60_init_csrows()
/linux-4.4.14/tools/perf/util/
Denv.h18 unsigned long long total_mem; member
Dheader.c1101 fprintf(fp, "# total memory : %Lu kB\n", ph->env.total_mem); in print_total_mem()
1477 ph->env.total_mem = mem; in process_total_mem()
1942 FEAT_OPP(HEADER_TOTAL_MEM, total_mem),
/linux-4.4.14/arch/ia64/kernel/
Defi.c979 unsigned long total_mem = 0; in find_memmap_space() local
1027 if (total_mem + (ae - as) > mem_limit) in find_memmap_space()
1028 ae -= total_mem + (ae - as) - mem_limit; in find_memmap_space()
1056 unsigned long total_mem = 0; in efi_memmap_init() local
1146 if (total_mem + (ae - as) > mem_limit) in efi_memmap_init()
1147 ae -= total_mem + (ae - as) - mem_limit; in efi_memmap_init()
1153 total_mem += ae - as; in efi_memmap_init()
1159 total_mem += ae - as; in efi_memmap_init()
1168 return total_mem; in efi_memmap_init()
/linux-4.4.14/arch/x86/kernel/
Dsetup.c555 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local
559 total_mem = memblock_phys_mem_size(); in reserve_crashkernel()
562 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel()
565 ret = parse_crashkernel_high(boot_command_line, total_mem, in reserve_crashkernel()
611 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
/linux-4.4.14/arch/arm/kernel/
Dsetup.c889 unsigned long long total_mem; in reserve_crashkernel() local
892 total_mem = get_total_mem(); in reserve_crashkernel()
893 ret = parse_crashkernel(boot_command_line, total_mem, in reserve_crashkernel()
908 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
/linux-4.4.14/arch/mips/kernel/
Dsetup.c589 unsigned long long total_mem; in mips_parse_crashkernel() local
593 total_mem = get_total_mem(); in mips_parse_crashkernel()
594 ret = parse_crashkernel(boot_command_line, total_mem, in mips_parse_crashkernel()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_bsg.c3012 uint32_t total_mem; in lpfc_bsg_diag_loopback_run() local
3061 total_mem = full_size; in lpfc_bsg_diag_loopback_run()
3063 total_mem = 64 * 1024; in lpfc_bsg_diag_loopback_run()
3066 total_mem = BUF_SZ_4K; in lpfc_bsg_diag_loopback_run()
3068 dataout = kmalloc(total_mem, GFP_KERNEL); in lpfc_bsg_diag_loopback_run()
/linux-4.4.14/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-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2653 int total_mem; in qp_get_mtt_size() local
2658 total_mem = sq_size + rq_size; in qp_get_mtt_size()
2660 roundup_pow_of_two((total_mem + (page_offset << 6)) >> in qp_get_mtt_size()