/linux-4.4.14/drivers/edac/ |
D | altera_edac.c | 205 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()
|
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.4.14/tools/perf/util/ |
D | env.h | 18 unsigned long long total_mem; member
|
D | header.c | 1101 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/ |
D | efi.c | 979 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/ |
D | setup.c | 555 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/ |
D | setup.c | 889 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/ |
D | setup.c | 589 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/ |
D | lpfc_bsg.c | 3012 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/ |
D | cnic.c | 1195 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/ |
D | resource_tracker.c | 2653 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()
|