/linux-6.1.9/arch/s390/appldata/ |
D | appldata_mem.c | 48 u64 totalram; /* total main memory size */ member 97 mem_data->totalram = P2K(val.totalram); in appldata_get_mem_data()
|
/linux-6.1.9/tools/testing/selftests/size/ |
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()
|
/linux-6.1.9/fs/proc/ |
D | meminfo.c | 58 show_val_kb(m, "MemTotal: ", i.totalram); in meminfo_proc_show() 78 show_val_kb(m, "LowTotal: ", i.totalram - i.totalhigh); in meminfo_proc_show()
|
/linux-6.1.9/include/uapi/linux/ |
D | sysinfo.h | 11 __kernel_ulong_t totalram; /* Total usable main memory size */ member
|
/linux-6.1.9/drivers/gpu/drm/ttm/ |
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()
|
/linux-6.1.9/kernel/ |
D | sys.c | 2683 mem_total = info->totalram + info->totalswap; in do_sysinfo() 2684 if (mem_total < info->totalram || mem_total < info->totalswap) in do_sysinfo() 2705 info->totalram <<= bitcount; in do_sysinfo() 2734 u32 totalram; member 2758 if (upper_32_bits(s.totalram) || upper_32_bits(s.totalswap)) { in COMPAT_SYSCALL_DEFINE1() 2766 s.totalram >>= bitcount; in COMPAT_SYSCALL_DEFINE1() 2781 s_32.totalram = s.totalram; in COMPAT_SYSCALL_DEFINE1()
|
/linux-6.1.9/drivers/base/ |
D | node.c | 399 nid, K(i.totalram), in node_read_meminfo() 401 nid, K(i.totalram - i.freeram), in node_read_meminfo() 422 nid, K(i.totalram - i.totalhigh), in node_read_meminfo()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | profile.c | 108 (si.totalram << 1) >> log_mtts_per_seg))); in mlx4_make_profile()
|
/linux-6.1.9/fs/notify/inotify/ |
D | inotify_user.c | 842 watches_max = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) / in inotify_user_setup()
|
/linux-6.1.9/fs/nfsd/ |
D | nfssvc.c | 599 target = (i.totalram - i.totalhigh) << PAGE_SHIFT; in nfsd_get_default_max_blksize()
|
D | nfs4state.c | 4400 max_clients = (u64)si.totalram * si.mem_unit / (1024 * 1024 * 1024); in nfsd4_init_leases_net()
|
/linux-6.1.9/drivers/virtio/ |
D | virtio_balloon.c | 345 pages_to_bytes(i.totalram)); in update_balloon_stats()
|
/linux-6.1.9/net/rds/ |
D | ib_recv.c | 1063 rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE; in rds_ib_recv_init()
|
/linux-6.1.9/mm/damon/ |
D | core.c | 1059 return i.freeram * 1000 / i.totalram; in damos_wmark_metric_value()
|
/linux-6.1.9/fs/jfs/ |
D | jfs_txnmgr.c | 236 if (si.totalram > (256 * 1024)) /* 1 GB */ in txInit() 239 nTxLock = si.totalram >> 2; in txInit()
|
/linux-6.1.9/drivers/edac/ |
D | synopsys_edac.c | 737 return inf.totalram * inf.mem_unit; in get_memsize()
|
/linux-6.1.9/fs/notify/fanotify/ |
D | fanotify_user.c | 1858 max_marks = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) / in fanotify_user_setup()
|
/linux-6.1.9/fs/ |
D | eventpoll.c | 2395 max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) / in eventpoll_init()
|
/linux-6.1.9/kernel/debug/kdb/ |
D | kdb_main.c | 2536 K(val.totalram), K(val.freeram), K(val.bufferram)); in kdb_summary()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ttm.c | 1788 (u64)si.totalram * si.mem_unit / 2); in amdgpu_ttm_init()
|
D | amdgpu_vm.c | 1939 phys_ram_gb = ((uint64_t)si.totalram * si.mem_unit + in amdgpu_vm_adjust_size()
|
D | amdgpu_device.c | 1440 total_memory = (uint64_t)si.totalram * si.mem_unit; in amdgpu_device_check_smu_prv_buffer_size()
|
/linux-6.1.9/mm/ |
D | page_alloc.c | 5981 val->totalram = totalram_pages(); in si_meminfo() 6003 val->totalram = managed_pages; in si_meminfo_node()
|
/linux-6.1.9/fs/f2fs/ |
D | node.c | 60 avail_ram = val.totalram - val.totalhigh; in f2fs_available_free_memory()
|
/linux-6.1.9/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 3025 ioc->dma_mask, convert_to_kb(s.totalram)); in _base_config_dma_addressing()
|