Searched refs:percpu_counter_read_positive (Results 1 – 20 of 20) sorted by relevance
79 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive() function155 static inline s64 percpu_counter_read_positive(struct percpu_counter *fbc) in percpu_counter_read_positive() function162 return percpu_counter_read_positive(fbc); in percpu_counter_sum_positive()
88 return percpu_counter_read_positive(&wb->stat[item]); in wb_stat()
150 den = percpu_counter_read_positive(&p->events); in fprop_fraction_single()237 num = percpu_counter_read_positive(&pl->events); in fprop_fraction_percpu()238 den = percpu_counter_read_positive(&p->events); in fprop_fraction_percpu()
293 cnt->allocino = percpu_counter_read_positive(&mp->m_icount); in xfs_fs_counts()294 cnt->freeino = percpu_counter_read_positive(&mp->m_ifree); in xfs_fs_counts()295 cnt->freedata = percpu_counter_read_positive(&mp->m_fdblocks) - in xfs_fs_counts()
461 freesp = percpu_counter_read_positive(&mp->m_fdblocks); in xfs_iomap_prealloc_size()
47 return percpu_counter_read_positive(&dst->pcpuc_entries); in dst_entries_get_fast()
1297 return percpu_counter_read_positive(sk->sk_prot->sockets_allocated); in sk_sockets_allocated_read_positive()
293 int orphans = percpu_counter_read_positive(ocp); in tcp_too_many_orphans()
272 freei = percpu_counter_read_positive(&sbi->s_freeinodes_counter); in find_group_orlov()274 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter); in find_group_orlov()276 ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter); in find_group_orlov()
1185 free_blocks = percpu_counter_read_positive(&sbi->s_freeblocks_counter); in ext2_has_free_blocks()
45 committed = percpu_counter_read_positive(&vm_committed_as); in meminfo_proc_show()
767 return percpu_counter_read_positive(&vm_committed_as); in vm_memory_committed()825 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
66 return percpu_counter_read_positive(&nr_files); in get_nr_files()
554 free_clusters = percpu_counter_read_positive(fcc); in ext4_has_free_clusters()555 dirty_clusters = percpu_counter_read_positive(dcc); in ext4_has_free_clusters()
441 freei = percpu_counter_read_positive(&sbi->s_freeinodes_counter); in find_group_orlov()444 percpu_counter_read_positive(&sbi->s_freeclusters_counter)); in find_group_orlov()447 ndirs = percpu_counter_read_positive(&sbi->s_dirs_counter); in find_group_orlov()
1540 nr = percpu_counter_read_positive(&sbi->s_es_stats.es_stats_shk_cnt); in ext4_es_count()1553 ret = percpu_counter_read_positive(&sbi->s_es_stats.es_stats_shk_cnt); in ext4_es_scan()
2988 percpu_counter_read_positive(&sbi->s_freeclusters_counter); in ext4_nonda_switch()2990 percpu_counter_read_positive(&sbi->s_dirtyclusters_counter); in ext4_nonda_switch()
643 percpu_counter_read_positive(&args.mp->m_icount) + newlen > in xfs_ialloc_ag_alloc()1724 percpu_counter_read_positive(&mp->m_icount) + igeo->ialloc_inos in xfs_dialloc()
741 percpu_counter_read_positive(&dqstats.counter[DQST_FREE_DQUOTS])); in dqcache_shrink_count()
6215 return percpu_counter_read_positive(&kvm_total_used_mmu_pages); in mmu_shrink_count()