Home
last modified time | relevance | path

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

/linux/arch/s390/appldata/
H A Dappldata_mem.c48 u64 totalram; /* total main memory size */ member
97 mem_data->totalram = P2K(val.totalram); in appldata_get_mem_data()
/linux/tools/testing/selftests/cgroup/
H A Dtest_zswap.c574 if (sys_info.totalram > GB(4)) { in test_no_kmem_bypass()
577 (double)sys_info.totalram / GB(1)); in test_no_kmem_bypass()
590 min_free_kb_high = sys_info.totalram / 2000; in test_no_kmem_bypass()
591 min_free_kb_low = sys_info.totalram / 500000; in test_no_kmem_bypass()
592 values->target_alloc_bytes = (sys_info.totalram - min_free_kb_high * 1000) + in test_no_kmem_bypass()
593 sys_info.totalram * 5 / 100; in test_no_kmem_bypass()
594 stored_pages_threshold = sys_info.totalram / 5 / page_size; in test_no_kmem_bypass()
595 trigger_allocation_size = sys_info.totalram / 20; in test_no_kmem_bypass()
/linux/tools/testing/selftests/size/
H A 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/include/uapi/linux/
H A Dsysinfo.h11 __kernel_ulong_t totalram; /* Total usable main memory size */ member
/linux/drivers/gpu/drm/xe/
H A Dxe_ttm_sys_mgr.c111 gtt_size = (u64)si.totalram * si.mem_unit; in xe_ttm_sys_mgr_init()
H A Dxe_sriov_vf_ccs.c129 sys_mem_size = si.totalram * si.mem_unit; in get_ccs_bb_pool_size()
/linux/net/handshake/
H A Dnetlink.c181 tmp = si.totalram / (25 * si.mem_unit); in handshake_net_init()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dprofile.c108 (si.totalram << 1) >> log_mtts_per_seg))); in mlx4_make_profile()
/linux/fs/notify/inotify/
H A Dinotify_user.c815 watches_max = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) / in inotify_user_setup()
/linux/fs/nfsd/
H A Dnfssvc.c563 target = (i.totalram - i.totalhigh) << PAGE_SHIFT; in nfsd_get_default_max_blksize()
H A Dnfs4state.c5564 max_clients = (u64)si.totalram * si.mem_unit / (1024 * 1024 * 1024); in nfsd4_init_leases_net()
/linux/drivers/virtio/
H A Dvirtio_balloon.c414 pages_to_bytes(i.totalram)); in update_balloon_stats()
/linux/drivers/edac/
H A Dsynopsys_edac.c776 return inf.totalram * inf.mem_unit; in get_memsize()
/linux/kernel/debug/kdb/
H A Dkdb_main.c2418 K(val.totalram), K(val.freeram), K(val.bufferram)); in kdb_summary()
/linux/fs/notify/fanotify/
H A Dfanotify_user.c2175 max_marks = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) / in fanotify_user_setup()
/linux/fs/
H A Deventpoll.c3006 max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) / in eventpoll_init()
/linux/drivers/net/wireless/ath/ath12k/
H A Dcore.c1759 total_ram = si.totalram * si.mem_unit; in ath12k_core_get_memory_mode()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c3067 ioc->dma_mask, convert_to_kb(s.totalram)); in _base_config_dma_addressing()