Home
last modified time | relevance | path

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

/linux/arch/mips/sgi-ip30/
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()
/linux/arch/ia64/kernel/
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()
/linux/arch/x86/kernel/
A Dsetup.c468 unsigned long long crash_size, crash_base, total_mem; in reserve_crashkernel() local
472 total_mem = memblock_phys_mem_size(); in reserve_crashkernel()
475 ret = parse_crashkernel(boot_command_line, total_mem, &crash_size, &crash_base); in reserve_crashkernel()
478 ret = parse_crashkernel_high(boot_command_line, total_mem, in reserve_crashkernel()
531 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_validation.c122 ctx->total_mem += ctx->vm->gran; in vmw_validation_mem_alloc()
161 if (ctx->vm && ctx->total_mem) { in vmw_validation_mem_free()
162 ctx->vm->unreserve_mem(ctx->vm, ctx->total_mem); in vmw_validation_mem_free()
163 ctx->total_mem = 0; in vmw_validation_mem_free()
A Dvmwgfx_validation.h88 size_t total_mem; member
/linux/tools/perf/arch/x86/util/
A Devsel.c15 struct perf_env env = { .total_mem = 0, } ; in arch_evsel__fixup_new_cycles()
/linux/arch/mips/kernel/
A Dsetup.c444 unsigned long long total_mem; in mips_parse_crashkernel() local
448 total_mem = memblock_phys_mem_size(); in mips_parse_crashkernel()
449 ret = parse_crashkernel(boot_command_line, total_mem, in mips_parse_crashkernel()
/linux/drivers/edac/
A Dcpc925_edac.c266 unsigned long total_mem; member
300 pdata->total_mem = 0; in get_total_mem()
307 pdata->total_mem += size; in get_total_mem()
311 edac_dbg(0, "total_mem 0x%lx\n", pdata->total_mem); in get_total_mem()
A Daltera_edac.c211 unsigned long total_mem = 0; in get_total_mem() local
218 total_mem += resource_size(&res); in get_total_mem()
220 edac_dbg(0, "total_mem 0x%lx\n", total_mem); in get_total_mem()
221 return total_mem; in get_total_mem()
/linux/arch/arm/kernel/
A Dsetup.c1001 unsigned long long total_mem; in reserve_crashkernel() local
1004 total_mem = get_total_mem(); in reserve_crashkernel()
1005 ret = parse_crashkernel(boot_command_line, total_mem, in reserve_crashkernel()
1037 (unsigned long)(total_mem >> 20)); in reserve_crashkernel()
/linux/arch/x86/mm/
A Dmem_encrypt.c203 phys_addr_t total_mem = memblock_phys_mem_size(); in sev_setup_arch() local
227 size = total_mem * 6 / 100; in sev_setup_arch()
/linux/tools/perf/util/
A Denv.h61 unsigned long long total_mem; member
A Dheader.c1945 fprintf(fp, "# total memory : %llu kB\n", ff->ph->env.total_mem); in print_total_mem()
2369 u64 total_mem; in process_total_mem() local
2372 ret = do_read_u64(ff, &total_mem); in process_total_mem()
2375 ff->ph->env.total_mem = (unsigned long long)total_mem; in process_total_mem()
3309 FEAT_OPR(TOTAL_MEM, total_mem, false),
/linux/drivers/scsi/lpfc/
A Dlpfc_bsg.c3110 uint32_t total_mem; in lpfc_bsg_diag_loopback_run() local
3159 total_mem = full_size; in lpfc_bsg_diag_loopback_run()
3161 total_mem = 64 * 1024; in lpfc_bsg_diag_loopback_run()
3164 total_mem = BUF_SZ_4K; in lpfc_bsg_diag_loopback_run()
3166 dataout = kmalloc(total_mem, GFP_KERNEL); in lpfc_bsg_diag_loopback_run()
/linux/drivers/net/ethernet/broadcom/
A 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/drivers/net/ethernet/mellanox/mlx4/
A Dresource_tracker.c2731 int total_mem; in qp_get_mtt_size() local
2737 total_mem = sq_size + rq_size; in qp_get_mtt_size()
2738 tot = (total_mem + (page_offset << 6)) >> page_shift; in qp_get_mtt_size()

Completed in 54 milliseconds