Searched refs:total_mem (Results 1 – 12 of 12) sorted by relevance
/linux-4.1.27/arch/ia64/kernel/ |
D | efi.c | 980 unsigned long total_mem = 0; in find_memmap_space() local 1028 if (total_mem + (ae - as) > mem_limit) in find_memmap_space() 1029 ae -= total_mem + (ae - as) - mem_limit; in find_memmap_space() 1057 unsigned long total_mem = 0; in efi_memmap_init() local 1147 if (total_mem + (ae - as) > mem_limit) in efi_memmap_init() 1148 ae -= total_mem + (ae - as) - mem_limit; in efi_memmap_init() 1154 total_mem += ae - as; in efi_memmap_init() 1160 total_mem += ae - as; in efi_memmap_init() 1169 return total_mem; in efi_memmap_init()
|
/linux-4.1.27/arch/x86/kernel/ |
D | setup.c | 571 unsigned long long total_mem; in reserve_crashkernel() local 576 total_mem = memblock_phys_mem_size(); in reserve_crashkernel() 579 ret = parse_crashkernel(boot_command_line, total_mem, in reserve_crashkernel() 583 ret = parse_crashkernel_high(boot_command_line, total_mem, in reserve_crashkernel() 621 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
|
/linux-4.1.27/drivers/edac/ |
D | mv64x60_edac.h | 94 int total_mem; member
|
D | cpc925_edac.c | 279 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()
|
D | mv64x60_edac.c | 657 pdata->total_mem = reg[1]; in get_total_mem() 676 dimm->nr_pages = pdata->total_mem >> PAGE_SHIFT; in mv64x60_init_csrows()
|
/linux-4.1.27/arch/arm/kernel/ |
D | setup.c | 867 unsigned long long total_mem; in reserve_crashkernel() local 870 total_mem = get_total_mem(); in reserve_crashkernel() 871 ret = parse_crashkernel(boot_command_line, total_mem, in reserve_crashkernel() 886 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
|
/linux-4.1.27/arch/mips/kernel/ |
D | setup.c | 579 unsigned long long total_mem; in mips_parse_crashkernel() local 583 total_mem = get_total_mem(); in mips_parse_crashkernel() 584 ret = parse_crashkernel(boot_command_line, total_mem, in mips_parse_crashkernel()
|
/linux-4.1.27/tools/perf/util/ |
D | header.h | 77 unsigned long long total_mem; member
|
D | header.c | 1099 fprintf(fp, "# total memory : %Lu kB\n", ph->env.total_mem); in print_total_mem() 1472 ph->env.total_mem = mem; in process_total_mem() 1856 FEAT_OPP(HEADER_TOTAL_MEM, total_mem),
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 3015 uint32_t total_mem; in lpfc_bsg_diag_loopback_run() local 3066 total_mem = full_size; in lpfc_bsg_diag_loopback_run() 3068 total_mem = 64 * 1024; in lpfc_bsg_diag_loopback_run() 3071 total_mem = BUF_SZ_4K; in lpfc_bsg_diag_loopback_run() 3073 dataout = kmalloc(total_mem, GFP_KERNEL); in lpfc_bsg_diag_loopback_run()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | cnic.c | 1184 int total_mem, blks, i; in cnic_alloc_bnx2x_context() local 1186 total_mem = BNX2X_CONTEXT_MEM_SIZE * cp->max_cid_space; in cnic_alloc_bnx2x_context() 1187 blks = total_mem / ctx_blk_size; in cnic_alloc_bnx2x_context() 1188 if (total_mem % ctx_blk_size) in cnic_alloc_bnx2x_context()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 2489 int total_mem; in qp_get_mtt_size() local 2494 total_mem = sq_size + rq_size; in qp_get_mtt_size() 2496 roundup_pow_of_two((total_mem + (page_offset << 6)) >> in qp_get_mtt_size()
|