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

12

/linux-master/include/uapi/linux/
H A Dsysinfo.h11 __kernel_ulong_t totalram; /* Total usable main memory size */ member in struct:sysinfo
/linux-master/tools/testing/selftests/size/
H A Dget_size.c105 used = info.totalram - info.freeram - info.bufferram;
108 print_k_value(" Total: ", info.totalram, info.mem_unit);
/linux-master/arch/s390/appldata/
H A Dappldata_mem.c48 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 Dtest_zswap.c351 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 Dxe_ttm_sys_mgr.c108 gtt_size = (u64)si.totalram * si.mem_unit;
/linux-master/fs/proc/
H A Dmeminfo.c60 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 Dttm_device.c87 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 Dshow_mem.c77 val->totalram = totalram_pages();
99 val->totalram = managed_pages;
/linux-master/net/handshake/
H A Dnetlink.c185 tmp = si.totalram / (25 * si.mem_unit);
/linux-master/kernel/
H A Dsys.c2815 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 Dprofile.c108 (si.totalram << 1) >> log_mtts_per_seg)));
/linux-master/drivers/base/
H A Dnode.c399 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 Dinotify_user.c841 watches_max = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) /
/linux-master/drivers/mmc/host/
H A Dsdhci-xenon.c467 if (si.totalram * si.mem_unit > SZ_2G) {
/linux-master/net/rds/
H A Dib_recv.c1064 rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE;
/linux-master/drivers/virtio/
H A Dvirtio_balloon.c350 pages_to_bytes(i.totalram));
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acpi.c881 numa_info->size = info.totalram * info.mem_unit;
H A Damdgpu_amdkfd_gpuvm.c122 mem = si.totalram - si.totalhigh;
/linux-master/fs/nfsd/
H A Dnfssvc.c614 target = (i.totalram - i.totalhigh) << PAGE_SHIFT;
/linux-master/fs/bcachefs/
H A Dbackpointers.c725 u64 mem_bytes = i.totalram * i.mem_unit;
/linux-master/fs/jfs/
H A Djfs_txnmgr.c236 if (si.totalram > (256 * 1024)) /* 1 GB */
239 nTxLock = si.totalram >> 2;
/linux-master/kernel/debug/kdb/
H A Dkdb_main.c2533 K(val.totalram), K(val.freeram), K(val.bufferram));
/linux-master/drivers/edac/
H A Dsynopsys_edac.c736 return inf.totalram * inf.mem_unit;
/linux-master/fs/notify/fanotify/
H A Dfanotify_user.c2008 max_marks = (((si.totalram - si.totalhigh) / 100) << PAGE_SHIFT) /
/linux-master/fs/
H A Deventpoll.c2565 max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) /

Completed in 314 milliseconds

12