Home
last modified time | relevance | path

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

/linux/fs/nfsd/
H A Dstats.c39 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_HITS]), in nfsd_show()
40 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_MISSES]), in nfsd_show()
41 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_NOCACHE]), in nfsd_show()
42 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_FH_STALE]), in nfsd_show()
43 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_IO_READ]), in nfsd_show()
44 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_IO_WRITE])); in nfsd_show()
65 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_NFS4_OP(i)])); in nfsd_show()
68 percpu_counter_sum_positive(&nn->cb_counter[OP_CB_GETATTR])); in nfsd_show()
H A Dnfscache.c658 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_DRC_MEM_USAGE])); in nfsd_reply_cache_stats_show()
660 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_HITS])); in nfsd_reply_cache_stats_show()
662 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_MISSES])); in nfsd_reply_cache_stats_show()
664 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_NOCACHE])); in nfsd_reply_cache_stats_show()
666 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_PAYLOAD_MISSES])); in nfsd_reply_cache_stats_show()
H A Dnfsctl.c2634 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_HITS]), in nfsd_nl_unlock_ip_doit()
2637 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_MISSES]), in nfsd_nl_unlock_ip_doit()
2640 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_NOCACHE]), in nfsd_nl_unlock_ip_doit()
2645 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_FH_STALE]), in nfsd_nl_unlock_ip_doit()
2650 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_IO_READ]),
2653 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_IO_WRITE]),
2717 u64 cnt = percpu_counter_sum_positive( in nfsd_nl_unlock_export_doit()
2741 u64 cnt = percpu_counter_sum_positive(&nn->cb_counter[op]);
H A Dexport.c1494 percpu_counter_sum_positive(&counter[EXP_STATS_FH_STALE])); in svc_export_show()
1496 percpu_counter_sum_positive(&counter[EXP_STATS_IO_READ])); in svc_export_show()
1498 percpu_counter_sum_positive(&counter[EXP_STATS_IO_WRITE])); in svc_export_show()
/linux/include/linux/
H A Dpercpu_counter.h97 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive() function
245 static inline s64 percpu_counter_sum_positive(struct percpu_counter *fbc) in percpu_counter_sum_positive() function
H A Dmm.h3680 return percpu_counter_sum_positive(&mm->rss_stat[member]); in mm_pgtables_bytes()
/linux/include/net/
H A Ddst_ops.h53 return percpu_counter_sum_positive(&dst->pcpuc_entries); in dst_entries_get_slow()
H A Dsock.h1477 return percpu_counter_sum_positive(prot->sockets_allocated);
/linux/fs/smb/server/
H A Dstats.h113 return percpu_counter_sum_positive(&ksmbd_counters.counters[type]); in ksmbd_counter_sum()
/linux/fs/btrfs/
H A Dspace-info.c732 delalloc_bytes = percpu_counter_sum_positive(&fs_info->delalloc_bytes); in shrink_delalloc()
733 ordered_bytes = percpu_counter_sum_positive(&fs_info->ordered_bytes); in shrink_delalloc()
839 delalloc_bytes = percpu_counter_sum_positive( in shrink_delalloc()
841 ordered_bytes = percpu_counter_sum_positive( in shrink_delalloc()
1743 u64 ordered = percpu_counter_sum_positive(&fs_info->ordered_bytes); in maybe_clamp_preempt()
1744 u64 delalloc = percpu_counter_sum_positive(&fs_info->delalloc_bytes); in maybe_clamp_preempt()
H A Dextent_map.c1329 s64 nr = percpu_counter_sum_positive(&fs_info->evictable_extent_maps); in btrfs_extent_map_shrinker_worker()
1369 s64 nr = percpu_counter_sum_positive(&fs_info->evictable_extent_maps); in btrfs_free_extent_maps()
H A Ddisk-io.c1260 ASSERT(percpu_counter_sum_positive(em_counter) == 0);
/linux/fs/
H A Dfile_table.c133 files_stat.nr_files = percpu_counter_sum_positive(&nr_files); in proc_nr_files()
258 if (percpu_counter_sum_positive(&nr_files) >= files_stat.max_files) in alloc_empty_file()
/linux/net/sunrpc/
H A Dsvc_xprt.c1588 percpu_counter_sum_positive(&pool->sp_messages_arrived), in svc_pool_stats_open()
1589 percpu_counter_sum_positive(&pool->sp_sockets_queued), in svc_pool_stats_open()
1590 percpu_counter_sum_positive(&pool->sp_threads_woken)); in svc_pool_stats_open()
/linux/fs/ext4/
H A Dballoc.c646 free_clusters = percpu_counter_sum_positive(fcc); in ext4_has_free_clusters()
647 dirty_clusters = percpu_counter_sum_positive(dcc); in ext4_has_free_clusters()
H A Dextents_status.c1835 percpu_counter_sum_positive(&es_stats->es_stats_all_cnt), in ext4_es_register_shrinker()
1836 percpu_counter_sum_positive(&es_stats->es_stats_shk_cnt)); in ext4_es_register_shrinker()
1838 percpu_counter_sum_positive(&es_stats->es_stats_cache_hits), in ext4_es_register_shrinker()
1839 percpu_counter_sum_positive(&es_stats->es_stats_cache_misses)); in ext4_es_register_shrinker()
H A Dsuper.c6393 EXT4_C2B(sbi, percpu_counter_sum_positive( in ext4_mark_recovery_complete()
6397 cpu_to_le32(percpu_counter_sum_positive( in ext4_mark_recovery_complete()
7112 bfree = percpu_counter_sum_positive(&sbi->s_freeclusters_counter) - in ext4_release_dquot()
7113 percpu_counter_sum_positive(&sbi->s_dirtyclusters_counter); in ext4_release_dquot()
7121 buf->f_ffree = percpu_counter_sum_positive(&sbi->s_freeinodes_counter); in ext4_release_dquot()
/linux/fs/f2fs/
H A Drecovery.c52 s64 nalloc = percpu_counter_sum_positive(&sbi->alloc_valid_block_count); in f2fs_space_for_roll_forward()
57 percpu_counter_sum_positive(&sbi->rf_node_block_count) >= in f2fs_space_for_roll_forward()
H A Ddebug.c727 percpu_counter_sum_positive( in stat_show()
H A Df2fs.h3148 return percpu_counter_sum_positive(&sbi->total_valid_inode_count); in f2fs_folio_put()
/linux/include/trace/events/
H A Dkmem.h451 __entry->size = (percpu_counter_sum_positive(&mm->rss_stat[member])
H A Dbtrfs.h3105 __entry->delalloc_bytes = percpu_counter_sum_positive(&fs_info->delalloc_bytes);
3106 __entry->ordered_bytes = percpu_counter_sum_positive(&fs_info->ordered_bytes);
/linux/fs/xfs/
H A Dxfs_mount.h736 return percpu_counter_sum_positive(&mp->m_free[ctr].count); in xfs_sum_freecounter()
/linux/fs/xfs/libxfs/
H A Dxfs_sb.c1337 mp->m_sb.sb_icount = percpu_counter_sum_positive(&mp->m_icount); in xfs_log_sb()
1339 percpu_counter_sum_positive(&mp->m_ifree), in xfs_log_sb()
/linux/block/
H A Dbfq-cgroup.c55 return percpu_counter_sum_positive(&stat->cpu_cnt); in bfq_stat_read()