Home
last modified time | relevance | path

Searched refs:percpu_counter_sum_positive (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/include/linux/
Dpercpu_counter.h58 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive() function
160 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive() function
Dblk-cgroup.h209 percpu_counter_sum_positive(&rwstat->cpu_cnt[idx]); in blkg_rwstat_read_counter()
649 percpu_counter_sum_positive(&rwstat->cpu_cnt[i]); in blkg_rwstat_read()
696 sum[i] = percpu_counter_sum_positive(&from->cpu_cnt[i]); in blkg_rwstat_add_aux()
Dbacking-dev.h93 return percpu_counter_sum_positive(&wb->stat[item]); in wb_stat_sum()
/Linux-v5.4/include/net/
Ddst_ops.h52 return percpu_counter_sum_positive(&dst->pcpuc_entries); in dst_entries_get_slow()
Dsock.h1303 return percpu_counter_sum_positive(prot->sockets_allocated); in proto_sockets_allocated_sum_positive()
Dtcp.h296 orphans = percpu_counter_sum_positive(ocp); in tcp_too_many_orphans()
/Linux-v5.4/fs/btrfs/
Dspace-info.c375 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()
377 dio_bytes = percpu_counter_sum_positive(&fs_info->dio_bytes); in shrink_delalloc()
443 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()
445 dio_bytes = percpu_counter_sum_positive(&fs_info->dio_bytes); in shrink_delalloc()
/Linux-v5.4/fs/
Dfile_table.c147 if (percpu_counter_sum_positive(&nr_files) >= files_stat.max_files) in alloc_empty_file()
/Linux-v5.4/fs/ext4/
Dballoc.c567 free_clusters = percpu_counter_sum_positive(fcc); in ext4_has_free_clusters()
568 dirty_clusters = percpu_counter_sum_positive(dcc); in ext4_has_free_clusters()
Dextents_status.c1587 percpu_counter_sum_positive(&es_stats->es_stats_all_cnt), in ext4_seq_es_shrinker_info_show()
1588 percpu_counter_sum_positive(&es_stats->es_stats_shk_cnt)); in ext4_seq_es_shrinker_info_show()
1590 percpu_counter_sum_positive(&es_stats->es_stats_cache_hits), in ext4_seq_es_shrinker_info_show()
1591 percpu_counter_sum_positive(&es_stats->es_stats_cache_misses)); in ext4_seq_es_shrinker_info_show()
Dsuper.c5017 EXT4_C2B(EXT4_SB(sb), percpu_counter_sum_positive( in ext4_commit_super()
5021 cpu_to_le32(percpu_counter_sum_positive( in ext4_commit_super()
5593 bfree = percpu_counter_sum_positive(&sbi->s_freeclusters_counter) - in ext4_statfs()
5594 percpu_counter_sum_positive(&sbi->s_dirtyclusters_counter); in ext4_statfs()
5602 buf->f_ffree = percpu_counter_sum_positive(&sbi->s_freeinodes_counter); in ext4_statfs()
/Linux-v5.4/net/ipv4/
Dproc.c55 orphans = percpu_counter_sum_positive(&tcp_orphan_count); in sockstat_seq_show()
/Linux-v5.4/fs/f2fs/
Drecovery.c49 s64 nalloc = percpu_counter_sum_positive(&sbi->alloc_valid_block_count); in f2fs_space_for_roll_forward()
Df2fs.h2124 return percpu_counter_sum_positive(&sbi->total_valid_inode_count); in valid_inode_count()
/Linux-v5.4/block/
Dbfq-cgroup.c55 return percpu_counter_sum_positive(&stat->cpu_cnt); in bfq_stat_read()
/Linux-v5.4/fs/quota/
Ddquot.c2867 percpu_counter_sum_positive(&dqstats.counter[type]); in do_proc_dqstats()