Searched refs:percpu_counter_read_positive (Results 1 – 23 of 23) sorted by relevance
118 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive() function240 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive() function247 return percpu_counter_read_positive(fbc); in percpu_counter_sum_positive()
81 return percpu_counter_read_positive(&wb->stat[item]); in wb_stat()
2592 return percpu_counter_read_positive(&mm->rss_stat[member]); in get_mm_counter()
157 num = percpu_counter_read_positive(&pl->events); in fprop_fraction_percpu()158 den = percpu_counter_read_positive(&p->events); in fprop_fraction_percpu()
48 return percpu_counter_read_positive(&dst->pcpuc_entries); in dst_entries_get_fast()
1407 return percpu_counter_read_positive(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_read_positive()
268 freei = percpu_counter_read_positive(&sbi->s_freeinodes_counter); in find_group_orlov()270 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter); in find_group_orlov()272 ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter); in find_group_orlov()
1162 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter); in ext2_has_free_blocks()
1132 .allocino = percpu_counter_read_positive(&mp->m_icount), in xfs_ioctl_fs_counts()1133 .freeino = percpu_counter_read_positive(&mp->m_ifree), in xfs_ioctl_fs_counts()1134 .freedata = percpu_counter_read_positive(&mp->m_fdblocks) - in xfs_ioctl_fs_counts()1136 .freertx = percpu_counter_read_positive(&mp->m_frextents), in xfs_ioctl_fs_counts()
406 freesp = percpu_counter_read_positive(counter); in xfs_iomap_freesp()
627 free_clusters = percpu_counter_read_positive(fcc); in ext4_has_free_clusters()628 dirty_clusters = percpu_counter_read_positive(dcc); in ext4_has_free_clusters()
447 freei = percpu_counter_read_positive(&sbi->s_freeinodes_counter); in find_group_orlov()449 freec = percpu_counter_read_positive(&sbi->s_freeclusters_counter); in find_group_orlov()452 ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter); in find_group_orlov()
1652 nr = percpu_counter_read_positive(&sbi->s_es_stats.es_stats_shk_cnt); in ext4_es_count()1664 ret = percpu_counter_read_positive(&sbi->s_es_stats.es_stats_shk_cnt); in ext4_es_scan()1669 ret = percpu_counter_read_positive(&sbi->s_es_stats.es_stats_shk_cnt); in ext4_es_scan()
2878 percpu_counter_read_positive(&sbi->s_freeclusters_counter); in ext4_nonda_switch()2880 percpu_counter_read_positive(&sbi->s_dirtyclusters_counter); in ext4_nonda_switch()
82 return percpu_counter_read_positive(&nr_files); in get_nr_files()
972 ordered = percpu_counter_read_positive(&fs_info->ordered_bytes) >> 1; in need_preemptive_reclaim()973 delalloc = percpu_counter_read_positive(&fs_info->delalloc_bytes); in need_preemptive_reclaim()
1261 count = percpu_counter_read_positive(&journal->j_checkpoint_jh_count); in jbd2_journal_shrink_scan()1266 count = percpu_counter_read_positive(&journal->j_checkpoint_jh_count); in jbd2_journal_shrink_scan()1285 count = percpu_counter_read_positive(&journal->j_checkpoint_jh_count); in jbd2_journal_shrink_count()
1067 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
733 percpu_counter_read_positive(&args.mp->m_icount) + newlen > in xfs_ialloc_ag_alloc()1897 percpu_counter_read_positive(&mp->m_icount) + igeo->ialloc_inos in xfs_dialloc()1910 if (percpu_counter_read_positive(&mp->m_fdblocks) < in xfs_dialloc()
1732 if (unlikely(percpu_counter_read_positive(&cc->n_allocated_pages) + in crypt_alloc_buffer()2764 if (unlikely(percpu_counter_read_positive(&cc->n_allocated_pages) >= dm_crypt_pages_per_client) && in crypt_page_alloc()
804 percpu_counter_read_positive(&dqstats.counter[DQST_FREE_DQUOTS])); in dqcache_shrink_count()
2379 return percpu_counter_read_positive(&tctx->inflight); in current_pending_io()
7213 return percpu_counter_read_positive(&kvm_total_used_mmu_pages); in mmu_shrink_count()