/openbmc/linux/tools/testing/selftests/cgroup/ |
H A D | test_zswap.c | 164 if (sys_info.totalram > 5000000000) in test_no_kmem_bypass() 172 min_free_kb_high = sys_info.totalram / 2000; in test_no_kmem_bypass() 173 min_free_kb_low = sys_info.totalram / 500000; in test_no_kmem_bypass() 174 values->target_alloc_bytes = (sys_info.totalram - min_free_kb_high * 1000) + in test_no_kmem_bypass() 175 sys_info.totalram * 5 / 100; in test_no_kmem_bypass() 176 stored_pages_threshold = sys_info.totalram / 5 / 4096; in test_no_kmem_bypass() 177 trigger_allocation_size = sys_info.totalram / 20; in test_no_kmem_bypass()
|
/openbmc/linux/arch/s390/appldata/ |
H A D | appldata_mem.c | 48 u64 totalram; /* total main memory size */ member 97 mem_data->totalram = P2K(val.totalram); in appldata_get_mem_data()
|
/openbmc/linux/tools/testing/selftests/size/ |
H A D | get_size.c | 105 used = info.totalram - info.freeram - info.bufferram; in _start() 108 print_k_value(" Total: ", info.totalram, info.mem_unit); in _start()
|
/openbmc/linux/fs/proc/ |
H A D | meminfo.c | 60 show_val_kb(m, "MemTotal: ", i.totalram); in meminfo_proc_show() 80 show_val_kb(m, "LowTotal: ", i.totalram - i.totalhigh); in meminfo_proc_show()
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | sysinfo.h | 11 unsigned long totalram; /* Total usable main memory size */ member
|
/openbmc/linux/include/uapi/linux/ |
H A D | sysinfo.h | 11 __kernel_ulong_t totalram; /* Total usable main memory size */ member
|
/openbmc/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_device.c | 87 num_pages = ((u64)si.totalram * si.mem_unit) >> PAGE_SHIFT; in ttm_global_init() 91 num_dma32 = (u64)(si.totalram - si.totalhigh) * si.mem_unit in ttm_global_init()
|
/openbmc/linux/mm/ |
H A D | show_mem.c | 80 val->totalram = totalram_pages(); in si_meminfo() 102 val->totalram = managed_pages; in si_meminfo_node()
|
/openbmc/linux/kernel/ |
H A D | sys.c | 2802 mem_total = info->totalram + info->totalswap; in do_sysinfo() 2803 if (mem_total < info->totalram || mem_total < info->totalswap) in do_sysinfo() 2824 info->totalram <<= bitcount; in do_sysinfo() 2853 u32 totalram; member 2877 if (upper_32_bits(s.totalram) || upper_32_bits(s.totalswap)) { in COMPAT_SYSCALL_DEFINE1() 2885 s.totalram >>= bitcount; in COMPAT_SYSCALL_DEFINE1() 2900 s_32.totalram = s.totalram; in COMPAT_SYSCALL_DEFINE1()
|
/openbmc/linux/drivers/base/ |
H A D | node.c | 398 nid, K(i.totalram), in node_read_meminfo() 400 nid, K(i.totalram - i.freeram), in node_read_meminfo() 421 nid, K(i.totalram - i.totalhigh), in node_read_meminfo()
|
/openbmc/linux/net/handshake/ |
H A D | netlink.c | 185 tmp = si.totalram / (25 * si.mem_unit); in handshake_net_init()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | profile.c | 108 (si.totalram << 1) >> log_mtts_per_seg))); in mlx4_make_profile()
|
/openbmc/linux/fs/notify/inotify/ |
H A D | inotify_user.c | 842 watches_max = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) / in inotify_user_setup()
|
/openbmc/linux/fs/nfsd/ |
H A D | nfssvc.c | 619 target = (i.totalram - i.totalhigh) << PAGE_SHIFT; in nfsd_get_default_max_blksize()
|
/openbmc/linux/net/rds/ |
H A D | ib_recv.c | 1064 rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE; in rds_ib_recv_init()
|
/openbmc/linux/drivers/virtio/ |
H A D | virtio_balloon.c | 345 pages_to_bytes(i.totalram)); in update_balloon_stats()
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_txnmgr.c | 236 if (si.totalram > (256 * 1024)) /* 1 GB */ in txInit() 239 nTxLock = si.totalram >> 2; in txInit()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_acpi.c | 891 numa_info->size = info.totalram * info.mem_unit; in amdgpu_acpi_get_numa_info()
|
H A D | amdgpu_vm.c | 2072 phys_ram_gb = ((uint64_t)si.totalram * si.mem_unit + in amdgpu_vm_adjust_size()
|
/openbmc/linux/drivers/edac/ |
H A D | synopsys_edac.c | 783 return inf.totalram * inf.mem_unit; in get_memsize()
|
/openbmc/linux/mm/damon/ |
H A D | core.c | 1318 return i.freeram * 1000 / i.totalram; in damos_wmark_metric_value()
|
/openbmc/linux/fs/notify/fanotify/ |
H A D | fanotify_user.c | 1940 max_marks = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) / in fanotify_user_setup()
|
/openbmc/linux/fs/ |
H A D | eventpoll.c | 2496 max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) / in eventpoll_init()
|
/openbmc/linux/kernel/debug/kdb/ |
H A D | kdb_main.c | 2534 K(val.totalram), K(val.freeram), K(val.bufferram)); in kdb_summary()
|
/openbmc/qemu/linux-user/ |
H A D | syscall_defs.h | 2520 abi_ulong totalram; /* Total usable main memory size */ member
|