Home
last modified time | relevance | path

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

/linux-6.1.9/arch/s390/appldata/
Dappldata_mem.c48 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/
Dget_size.c105 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/
Dmeminfo.c58 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/
Dsysinfo.h11 __kernel_ulong_t totalram; /* Total usable main memory size */ member
/linux-6.1.9/drivers/gpu/drm/ttm/
Dttm_device.c87 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/
Dsys.c2683 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/
Dnode.c399 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/
Dprofile.c108 (si.totalram << 1) >> log_mtts_per_seg))); in mlx4_make_profile()
/linux-6.1.9/fs/notify/inotify/
Dinotify_user.c842 watches_max = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) / in inotify_user_setup()
/linux-6.1.9/fs/nfsd/
Dnfssvc.c599 target = (i.totalram - i.totalhigh) << PAGE_SHIFT; in nfsd_get_default_max_blksize()
Dnfs4state.c4400 max_clients = (u64)si.totalram * si.mem_unit / (1024 * 1024 * 1024); in nfsd4_init_leases_net()
/linux-6.1.9/drivers/virtio/
Dvirtio_balloon.c345 pages_to_bytes(i.totalram)); in update_balloon_stats()
/linux-6.1.9/net/rds/
Dib_recv.c1063 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/
Dcore.c1059 return i.freeram * 1000 / i.totalram; in damos_wmark_metric_value()
/linux-6.1.9/fs/jfs/
Djfs_txnmgr.c236 if (si.totalram > (256 * 1024)) /* 1 GB */ in txInit()
239 nTxLock = si.totalram >> 2; in txInit()
/linux-6.1.9/drivers/edac/
Dsynopsys_edac.c737 return inf.totalram * inf.mem_unit; in get_memsize()
/linux-6.1.9/fs/notify/fanotify/
Dfanotify_user.c1858 max_marks = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) / in fanotify_user_setup()
/linux-6.1.9/fs/
Deventpoll.c2395 max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) / in eventpoll_init()
/linux-6.1.9/kernel/debug/kdb/
Dkdb_main.c2536 K(val.totalram), K(val.freeram), K(val.bufferram)); in kdb_summary()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c1788 (u64)si.totalram * si.mem_unit / 2); in amdgpu_ttm_init()
Damdgpu_vm.c1939 phys_ram_gb = ((uint64_t)si.totalram * si.mem_unit + in amdgpu_vm_adjust_size()
Damdgpu_device.c1440 total_memory = (uint64_t)si.totalram * si.mem_unit; in amdgpu_device_check_smu_prv_buffer_size()
/linux-6.1.9/mm/
Dpage_alloc.c5981 val->totalram = totalram_pages(); in si_meminfo()
6003 val->totalram = managed_pages; in si_meminfo_node()
/linux-6.1.9/fs/f2fs/
Dnode.c60 avail_ram = val.totalram - val.totalhigh; in f2fs_available_free_memory()
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_base.c3025 ioc->dma_mask, convert_to_kb(s.totalram)); in _base_config_dma_addressing()