Searched refs:percpu_counter_read_positive (Results 1 – 21 of 21) sorted by relevance
80 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive() function156 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive() function163 return percpu_counter_read_positive(fbc); in percpu_counter_sum_positive()
85 return percpu_counter_read_positive(&wb->stat[item]); in wb_stat()
150 den = percpu_counter_read_positive(&p->events); in fprop_fraction_single()238 num = percpu_counter_read_positive(&pl->events); in fprop_fraction_percpu()239 den = percpu_counter_read_positive(&p->events); in fprop_fraction_percpu()
347 cnt->allocino = percpu_counter_read_positive(&mp->m_icount); in xfs_fs_counts()348 cnt->freeino = percpu_counter_read_positive(&mp->m_ifree); in xfs_fs_counts()349 cnt->freedata = percpu_counter_read_positive(&mp->m_fdblocks) - in xfs_fs_counts()
429 freesp = percpu_counter_read_positive(&mp->m_fdblocks); in xfs_iomap_prealloc_size()
48 return percpu_counter_read_positive(&dst->pcpuc_entries); in dst_entries_get_fast()
1397 return percpu_counter_read_positive(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_read_positive()
273 freei = percpu_counter_read_positive(&sbi->s_freeinodes_counter); in find_group_orlov()275 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter); in find_group_orlov()277 ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter); in find_group_orlov()
1160 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter); in ext2_has_free_blocks()
576 free_clusters = percpu_counter_read_positive(fcc); in ext4_has_free_clusters()577 dirty_clusters = percpu_counter_read_positive(dcc); in ext4_has_free_clusters()
449 freei = percpu_counter_read_positive(&sbi->s_freeinodes_counter); in find_group_orlov()451 freec = percpu_counter_read_positive(&sbi->s_freeclusters_counter); in find_group_orlov()454 ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter); in find_group_orlov()
1561 nr = percpu_counter_read_positive(&sbi->s_es_stats.es_stats_shk_cnt); in ext4_es_count()1574 ret = percpu_counter_read_positive(&sbi->s_es_stats.es_stats_shk_cnt); in ext4_es_scan()1579 ret = percpu_counter_read_positive(&sbi->s_es_stats.es_stats_shk_cnt); in ext4_es_scan()
2904 percpu_counter_read_positive(&sbi->s_freeclusters_counter); in ext4_nonda_switch()2906 percpu_counter_read_positive(&sbi->s_dirtyclusters_counter); in ext4_nonda_switch()
66 return percpu_counter_read_positive(&nr_files); in get_nr_files()
828 ordered = percpu_counter_read_positive(&fs_info->ordered_bytes) >> 1; in need_preemptive_reclaim()829 delalloc = percpu_counter_read_positive(&fs_info->delalloc_bytes); in need_preemptive_reclaim()
935 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
1300 count = percpu_counter_read_positive(&journal->j_checkpoint_jh_count); in jbd2_journal_shrink_scan()1305 count = percpu_counter_read_positive(&journal->j_checkpoint_jh_count); in jbd2_journal_shrink_scan()1322 count = percpu_counter_read_positive(&journal->j_checkpoint_jh_count); in jbd2_journal_shrink_count()
648 percpu_counter_read_positive(&args.mp->m_icount) + newlen > in xfs_ialloc_ag_alloc()1765 percpu_counter_read_positive(&mp->m_icount) + igeo->ialloc_inos in xfs_dialloc()
739 percpu_counter_read_positive(&dqstats.counter[DQST_FREE_DQUOTS])); in dqcache_shrink_count()
2680 if (unlikely(percpu_counter_read_positive(&cc->n_allocated_pages) >= dm_crypt_pages_per_client) && in crypt_page_alloc()
6061 return percpu_counter_read_positive(&kvm_total_used_mmu_pages); in mmu_shrink_count()
Completed in 86 milliseconds