totalram_pages 280 arch/powerpc/platforms/pseries/cmm.c signed long total_pages = totalram_pages() + loaned_pages; totalram_pages 311 arch/powerpc/platforms/pseries/cmm.c oom_freed_pages, totalram_pages()); totalram_pages 68 arch/s390/mm/init.c while (order > 2 && (totalram_pages() >> 10) < (1UL << order)) totalram_pages 55 arch/um/kernel/mem.c max_low_pfn = totalram_pages(); totalram_pages 434 arch/x86/kernel/cpu/microcode/core.c unsigned long nr_pages = totalram_pages(); totalram_pages 118 drivers/char/agp/backend.c memory = totalram_pages() >> (20 - PAGE_SHIFT); totalram_pages 120 drivers/char/agp/backend.c memory = totalram_pages() << (PAGE_SHIFT - 20); totalram_pages 55 drivers/gpu/drm/i915/gem/i915_gem_shmem.c if (page_count > totalram_pages()) totalram_pages 174 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c limit = totalram_pages() << PAGE_SHIFT; totalram_pages 1250 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c const u64 limit = totalram_pages() << PAGE_SHIFT; totalram_pages 1091 drivers/hv/hv_balloon.c unsigned long nr_pages = totalram_pages(); totalram_pages 1931 drivers/md/dm-bufio.c mem = (__u64)mult_frac(totalram_pages() - totalhigh_pages(), totalram_pages 2079 drivers/md/dm-crypt.c unsigned long pages = (totalram_pages() - totalhigh_pages()) * DM_CRYPT_MEMORY_PERCENT / 100; totalram_pages 3323 drivers/md/dm-integrity.c if (journal_pages >= totalram_pages() - totalhigh_pages() || journal_desc_size > ULONG_MAX) { totalram_pages 88 drivers/md/dm-stats.c if (a >> PAGE_SHIFT > totalram_pages() / DM_STATS_MEMORY_FACTOR) totalram_pages 850 drivers/media/platform/mtk-vpu/mtk_vpu.c vpu->enable_4GB = !!(totalram_pages() > (SZ_2G >> PAGE_SHIFT)); totalram_pages 641 drivers/misc/vmw_balloon.c limit = totalram_pages(); totalram_pages 1244 drivers/parisc/ccio-dma.c iova_space_size = (u32) (totalram_pages() / count_parisc_driver(&ccio_driver)); totalram_pages 1283 drivers/parisc/ccio-dma.c (unsigned long) totalram_pages() >> (20 - PAGE_SHIFT), totalram_pages 1400 drivers/parisc/sba_iommu.c iova_space_size = (u32) (totalram_pages()/global_ioc_cnt); totalram_pages 1425 drivers/parisc/sba_iommu.c (unsigned long) totalram_pages() >> (20 - PAGE_SHIFT), totalram_pages 113 drivers/staging/android/ion/ion_system_heap.c if (size / PAGE_SIZE > totalram_pages() / 2) totalram_pages 849 fs/ceph/super.h congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); totalram_pages 393 fs/file_table.c unsigned long nr_pages = totalram_pages(); totalram_pages 832 fs/fuse/inode.c *limit = ((totalram_pages() << PAGE_SHIFT) >> 13) / 392; totalram_pages 2169 fs/nfs/write.c nfs_congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); totalram_pages 70 fs/nfsd/nfscache.c unsigned long low_pages = totalram_pages() - totalhigh_pages(); totalram_pages 36 fs/ntfs/malloc.h if (likely((size >> PAGE_SHIFT) < totalram_pages())) totalram_pages 550 fs/proc/base.c unsigned long totalpages = totalram_pages() + total_swap_pages; totalram_pages 760 kernel/fork.c unsigned long nr_pages = totalram_pages(); totalram_pages 153 kernel/kexec_core.c unsigned long nr_pages = totalram_pages(); totalram_pages 106 kernel/power/snapshot.c image_size = ((totalram_pages() * 2) / 5) * PAGE_SIZE; totalram_pages 430 mm/huge_memory.c if (totalram_pages() < (512 << (20 - PAGE_SHIFT))) { totalram_pages 240 mm/kasan/quarantine.c total_size = (totalram_pages() << PAGE_SHIFT) / totalram_pages 150 mm/mm_init.c memsized_batch = min_t(u64, (totalram_pages()/nr)/256, 0x7fffffff); totalram_pages 266 mm/oom_kill.c oc->totalpages = totalram_pages() + total_swap_pages; totalram_pages 5146 mm/page_alloc.c val->totalram = totalram_pages(); totalram_pages 7580 mm/page_alloc.c (physpages - totalram_pages() - totalcma_pages) << (PAGE_SHIFT - 10), totalram_pages 128 mm/shmem.c return totalram_pages() / 2; totalram_pages 133 mm/shmem.c unsigned long nr_pages = totalram_pages(); totalram_pages 3429 mm/shmem.c size *= totalram_pages(); totalram_pages 1209 mm/slab.c if (!slab_max_order_set && totalram_pages() > (32 << 20) >> PAGE_SHIFT) totalram_pages 1074 mm/swap.c unsigned long megs = totalram_pages() >> (20 - PAGE_SHIFT); totalram_pages 762 mm/util.c allowed = ((totalram_pages() - hugetlb_total_pages()) totalram_pages 822 mm/util.c if (pages > totalram_pages() + total_swap_pages) totalram_pages 2378 mm/vmalloc.c if (count > totalram_pages()) totalram_pages 2489 mm/vmalloc.c if (!size || (size >> PAGE_SHIFT) > totalram_pages()) totalram_pages 551 mm/workingset.c max_order = fls_long(totalram_pages() - 1); totalram_pages 213 mm/zswap.c return totalram_pages() * zswap_max_pool_percent / 100 < totalram_pages 1130 net/dccp/proto.c unsigned long nr_pages = totalram_pages(); totalram_pages 1863 net/decnet/dn_route.c goal = totalram_pages() >> (26 - PAGE_SHIFT); totalram_pages 994 net/ipv4/tcp_metrics.c if (totalram_pages() >= 128 * 1024) totalram_pages 2438 net/netfilter/nf_conntrack_core.c unsigned long nr_pages = totalram_pages(); totalram_pages 284 net/netfilter/xt_hashlimit.c unsigned long nr_pages = totalram_pages(); totalram_pages 1375 net/sctp/protocol.c unsigned long nr_pages = totalram_pages(); totalram_pages 105 security/integrity/ima/ima_kexec.c ((kexec_segment_size >> PAGE_SHIFT) > totalram_pages() / 2)) {