/linux-master/include/uapi/linux/ |
H A D | sysinfo.h | 11 __kernel_ulong_t totalram; /* Total usable main memory size */ member in struct:sysinfo
|
/linux-master/tools/testing/selftests/size/ |
H A D | get_size.c | 105 used = info.totalram - info.freeram - info.bufferram; 108 print_k_value(" Total: ", info.totalram, info.mem_unit);
|
/linux-master/arch/s390/appldata/ |
H A D | appldata_mem.c | 48 u64 totalram; /* total main memory size */ member in struct:appldata_mem_data 97 mem_data->totalram = P2K(val.totalram);
|
/linux-master/tools/testing/selftests/cgroup/ |
H A D | test_zswap.c | 351 if (sys_info.totalram > 5000000000) 359 min_free_kb_high = sys_info.totalram / 2000; 360 min_free_kb_low = sys_info.totalram / 500000; 361 values->target_alloc_bytes = (sys_info.totalram - min_free_kb_high * 1000) + 362 sys_info.totalram * 5 / 100; 363 stored_pages_threshold = sys_info.totalram / 5 / 4096; 364 trigger_allocation_size = sys_info.totalram / 20;
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_ttm_sys_mgr.c | 108 gtt_size = (u64)si.totalram * si.mem_unit;
|
/linux-master/fs/proc/ |
H A D | meminfo.c | 60 show_val_kb(m, "MemTotal: ", i.totalram); 80 show_val_kb(m, "LowTotal: ", i.totalram - i.totalhigh);
|
/linux-master/drivers/gpu/drm/ttm/ |
H A D | ttm_device.c | 87 num_pages = ((u64)si.totalram * si.mem_unit) >> PAGE_SHIFT; 91 num_dma32 = (u64)(si.totalram - si.totalhigh) * si.mem_unit
|
/linux-master/mm/ |
H A D | show_mem.c | 77 val->totalram = totalram_pages(); 99 val->totalram = managed_pages;
|
/linux-master/net/handshake/ |
H A D | netlink.c | 185 tmp = si.totalram / (25 * si.mem_unit);
|
/linux-master/kernel/ |
H A D | sys.c | 2815 mem_total = info->totalram + info->totalswap; 2816 if (mem_total < info->totalram || mem_total < info->totalswap) 2837 info->totalram <<= bitcount; 2866 u32 totalram; member in struct:compat_sysinfo 2890 if (upper_32_bits(s.totalram) || upper_32_bits(s.totalswap)) { 2898 s.totalram >>= bitcount; 2913 s_32.totalram = s.totalram;
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | profile.c | 108 (si.totalram << 1) >> log_mtts_per_seg)));
|
/linux-master/drivers/base/ |
H A D | node.c | 399 nid, K(i.totalram), 401 nid, K(i.totalram - i.freeram), 422 nid, K(i.totalram - i.totalhigh),
|
/linux-master/fs/notify/inotify/ |
H A D | inotify_user.c | 841 watches_max = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) /
|
/linux-master/drivers/mmc/host/ |
H A D | sdhci-xenon.c | 467 if (si.totalram * si.mem_unit > SZ_2G) {
|
/linux-master/net/rds/ |
H A D | ib_recv.c | 1064 rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE;
|
/linux-master/drivers/virtio/ |
H A D | virtio_balloon.c | 350 pages_to_bytes(i.totalram));
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_acpi.c | 881 numa_info->size = info.totalram * info.mem_unit;
|
H A D | amdgpu_amdkfd_gpuvm.c | 122 mem = si.totalram - si.totalhigh;
|
/linux-master/fs/nfsd/ |
H A D | nfssvc.c | 614 target = (i.totalram - i.totalhigh) << PAGE_SHIFT;
|
/linux-master/fs/bcachefs/ |
H A D | backpointers.c | 725 u64 mem_bytes = i.totalram * i.mem_unit;
|
/linux-master/fs/jfs/ |
H A D | jfs_txnmgr.c | 236 if (si.totalram > (256 * 1024)) /* 1 GB */ 239 nTxLock = si.totalram >> 2;
|
/linux-master/kernel/debug/kdb/ |
H A D | kdb_main.c | 2533 K(val.totalram), K(val.freeram), K(val.bufferram));
|
/linux-master/drivers/edac/ |
H A D | synopsys_edac.c | 736 return inf.totalram * inf.mem_unit;
|
/linux-master/fs/notify/fanotify/ |
H A D | fanotify_user.c | 2008 max_marks = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) /
|
/linux-master/fs/ |
H A D | eventpoll.c | 2565 max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) /
|