/Linux-v4.19/arch/s390/appldata/ |
D | appldata_mem.c | 52 u64 totalram; /* total main memory size */ member 101 mem_data->totalram = P2K(val.totalram); in appldata_get_mem_data()
|
/Linux-v4.19/tools/testing/selftests/size/ |
D | get_size.c | 94 used = info.totalram - info.freeram - info.bufferram; in _start() 97 print_k_value(" Total: ", info.totalram, info.mem_unit); in _start()
|
/Linux-v4.19/net/ipv4/ |
D | inetpeer.c | 84 if (si.totalram <= (32768*1024)/PAGE_SIZE) in inet_initpeers() 86 if (si.totalram <= (16384*1024)/PAGE_SIZE) in inet_initpeers() 88 if (si.totalram <= (8192*1024)/PAGE_SIZE) in inet_initpeers()
|
/Linux-v4.19/fs/proc/ |
D | meminfo.c | 57 show_val_kb(m, "MemTotal: ", i.totalram); in meminfo_proc_show() 77 show_val_kb(m, "LowTotal: ", i.totalram - i.totalhigh); in meminfo_proc_show()
|
/Linux-v4.19/include/uapi/linux/ |
D | sysinfo.h | 11 __kernel_ulong_t totalram; /* Total usable main memory size */ member
|
/Linux-v4.19/drivers/gpu/drm/ttm/ |
D | ttm_memory.c | 315 mem = si->totalram - si->totalhigh; in ttm_mem_init_kernel_zone() 351 mem = si->totalram; in ttm_mem_init_highmem_zone() 383 mem = si->totalram; in ttm_mem_init_dma32_zone()
|
/Linux-v4.19/drivers/base/ |
D | node.c | 84 nid, K(i.totalram), in node_read_meminfo() 86 nid, K(i.totalram - i.freeram), in node_read_meminfo() 106 nid, K(i.totalram - i.totalhigh), in node_read_meminfo()
|
/Linux-v4.19/kernel/ |
D | sys.c | 2530 mem_total = info->totalram + info->totalswap; in do_sysinfo() 2531 if (mem_total < info->totalram || mem_total < info->totalswap) in do_sysinfo() 2552 info->totalram <<= bitcount; in do_sysinfo() 2581 u32 totalram; member 2604 if (upper_32_bits(s.totalram) || upper_32_bits(s.totalswap)) { in COMPAT_SYSCALL_DEFINE1() 2612 s.totalram >>= bitcount; in COMPAT_SYSCALL_DEFINE1() 2627 __put_user(s.totalram, &info->totalram) || in COMPAT_SYSCALL_DEFINE1()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | profile.c | 108 (si.totalram << 1) >> log_mtts_per_seg))); in mlx4_make_profile()
|
/Linux-v4.19/drivers/edac/ |
D | synopsys_edac.c | 324 return inf.totalram * inf.mem_unit; in synps_edac_get_memsize()
|
/Linux-v4.19/drivers/virtio/ |
D | virtio_balloon.c | 279 pages_to_bytes(i.totalram)); in update_balloon_stats()
|
/Linux-v4.19/fs/nfsd/ |
D | nfssvc.c | 472 target = (i.totalram - i.totalhigh) << PAGE_SHIFT; in nfsd_get_default_max_blksize()
|
/Linux-v4.19/drivers/misc/ |
D | vmw_balloon.c | 382 limit = b->sysinfo.totalram; in vmballoon_send_get_target()
|
/Linux-v4.19/net/rds/ |
D | ib_recv.c | 1042 rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE; in rds_ib_recv_init()
|
/Linux-v4.19/fs/jfs/ |
D | jfs_txnmgr.c | 249 if (si.totalram > (256 * 1024)) /* 1 GB */ in txInit() 252 nTxLock = si.totalram >> 2; in txInit()
|
/Linux-v4.19/fs/f2fs/ |
D | node.c | 59 avail_ram = val.totalram - val.totalhigh; in f2fs_available_free_memory() 96 res = mem_size < (val.totalram / 5); in f2fs_available_free_memory()
|
/Linux-v4.19/fs/ |
D | eventpoll.c | 2307 max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) / in eventpoll_init()
|
/Linux-v4.19/kernel/debug/kdb/ |
D | kdb_main.c | 2573 K(val.totalram), K(val.freeram), K(val.bufferram)); in kdb_summary()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gpuvm.c | 102 mem = si.totalram - si.totalhigh; in amdgpu_amdkfd_gpuvm_init_mem_limits()
|
D | amdgpu_ttm.c | 1791 ((uint64_t)si.totalram * si.mem_unit * 3/4)); in amdgpu_ttm_init()
|
D | amdgpu_device.c | 929 total_memory = (uint64_t)si.totalram * si.mem_unit; in amdgpu_device_check_smu_prv_buffer_size()
|
D | amdgpu_vm.c | 2529 phys_ram_gb = ((uint64_t)si.totalram * si.mem_unit + in amdgpu_vm_adjust_size()
|
/Linux-v4.19/mm/ |
D | page_alloc.c | 4751 val->totalram = totalram_pages; in si_meminfo() 4773 val->totalram = managed_pages; in si_meminfo_node()
|
/Linux-v4.19/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 2603 ioc->name, ioc->dma_mask, convert_to_kb(s.totalram)); in _base_config_dma_addressing()
|