Home
last modified time | relevance | path

Searched refs:totalram (Results 1 – 24 of 24) sorted by relevance

/Linux-v4.19/arch/s390/appldata/
Dappldata_mem.c52 u64 totalram; /* total main memory size */ member
101 mem_data->totalram = P2K(val.totalram); in appldata_get_mem_data()
/Linux-v4.19/tools/testing/selftests/size/
Dget_size.c94 used = info.totalram - info.freeram - info.bufferram; in _start()
97 print_k_value(" Total: ", info.totalram, info.mem_unit); in _start()
/Linux-v4.19/net/ipv4/
Dinetpeer.c84 if (si.totalram <= (32768*1024)/PAGE_SIZE) in inet_initpeers()
86 if (si.totalram <= (16384*1024)/PAGE_SIZE) in inet_initpeers()
88 if (si.totalram <= (8192*1024)/PAGE_SIZE) in inet_initpeers()
/Linux-v4.19/fs/proc/
Dmeminfo.c57 show_val_kb(m, "MemTotal: ", i.totalram); in meminfo_proc_show()
77 show_val_kb(m, "LowTotal: ", i.totalram - i.totalhigh); in meminfo_proc_show()
/Linux-v4.19/include/uapi/linux/
Dsysinfo.h11 __kernel_ulong_t totalram; /* Total usable main memory size */ member
/Linux-v4.19/drivers/gpu/drm/ttm/
Dttm_memory.c315 mem = si->totalram - si->totalhigh; in ttm_mem_init_kernel_zone()
351 mem = si->totalram; in ttm_mem_init_highmem_zone()
383 mem = si->totalram; in ttm_mem_init_dma32_zone()
/Linux-v4.19/drivers/base/
Dnode.c84 nid, K(i.totalram), in node_read_meminfo()
86 nid, K(i.totalram - i.freeram), in node_read_meminfo()
106 nid, K(i.totalram - i.totalhigh), in node_read_meminfo()
/Linux-v4.19/kernel/
Dsys.c2530 mem_total = info->totalram + info->totalswap; in do_sysinfo()
2531 if (mem_total < info->totalram || mem_total < info->totalswap) in do_sysinfo()
2552 info->totalram <<= bitcount; in do_sysinfo()
2581 u32 totalram; member
2604 if (upper_32_bits(s.totalram) || upper_32_bits(s.totalswap)) { in COMPAT_SYSCALL_DEFINE1()
2612 s.totalram >>= bitcount; in COMPAT_SYSCALL_DEFINE1()
2627 __put_user(s.totalram, &info->totalram) || in COMPAT_SYSCALL_DEFINE1()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dprofile.c108 (si.totalram << 1) >> log_mtts_per_seg))); in mlx4_make_profile()
/Linux-v4.19/drivers/edac/
Dsynopsys_edac.c324 return inf.totalram * inf.mem_unit; in synps_edac_get_memsize()
/Linux-v4.19/drivers/virtio/
Dvirtio_balloon.c279 pages_to_bytes(i.totalram)); in update_balloon_stats()
/Linux-v4.19/fs/nfsd/
Dnfssvc.c472 target = (i.totalram - i.totalhigh) << PAGE_SHIFT; in nfsd_get_default_max_blksize()
/Linux-v4.19/drivers/misc/
Dvmw_balloon.c382 limit = b->sysinfo.totalram; in vmballoon_send_get_target()
/Linux-v4.19/net/rds/
Dib_recv.c1042 rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE; in rds_ib_recv_init()
/Linux-v4.19/fs/jfs/
Djfs_txnmgr.c249 if (si.totalram > (256 * 1024)) /* 1 GB */ in txInit()
252 nTxLock = si.totalram >> 2; in txInit()
/Linux-v4.19/fs/f2fs/
Dnode.c59 avail_ram = val.totalram - val.totalhigh; in f2fs_available_free_memory()
96 res = mem_size < (val.totalram / 5); in f2fs_available_free_memory()
/Linux-v4.19/fs/
Deventpoll.c2307 max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) / in eventpoll_init()
/Linux-v4.19/kernel/debug/kdb/
Dkdb_main.c2573 K(val.totalram), K(val.freeram), K(val.bufferram)); in kdb_summary()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gpuvm.c102 mem = si.totalram - si.totalhigh; in amdgpu_amdkfd_gpuvm_init_mem_limits()
Damdgpu_ttm.c1791 ((uint64_t)si.totalram * si.mem_unit * 3/4)); in amdgpu_ttm_init()
Damdgpu_device.c929 total_memory = (uint64_t)si.totalram * si.mem_unit; in amdgpu_device_check_smu_prv_buffer_size()
Damdgpu_vm.c2529 phys_ram_gb = ((uint64_t)si.totalram * si.mem_unit + in amdgpu_vm_adjust_size()
/Linux-v4.19/mm/
Dpage_alloc.c4751 val->totalram = totalram_pages; in si_meminfo()
4773 val->totalram = managed_pages; in si_meminfo_node()
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_base.c2603 ioc->name, ioc->dma_mask, convert_to_kb(s.totalram)); in _base_config_dma_addressing()