Home
last modified time | relevance | path

Searched refs:percpu_counter_sum_positive (Results 1 – 23 of 23) 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.c657 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_DRC_MEM_USAGE])); in nfsd_reply_cache_stats_show()
659 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_HITS])); in nfsd_reply_cache_stats_show()
661 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_MISSES])); in nfsd_reply_cache_stats_show()
663 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_NOCACHE])); in nfsd_reply_cache_stats_show()
665 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_PAYLOAD_MISSES])); in nfsd_reply_cache_stats_show()
H A Dnfsctl.c2359 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_HITS]), in nfsd_nl_server_stats_scalars()
2362 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_MISSES]), in nfsd_nl_server_stats_scalars()
2365 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_NOCACHE]), in nfsd_nl_server_stats_scalars()
2370 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_FH_STALE]), in nfsd_nl_server_stats_scalars()
2375 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_IO_READ]), in nfsd_nl_server_stats_scalars()
2378 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_IO_WRITE]), in nfsd_nl_server_stats_scalars()
2442 u64 cnt = percpu_counter_sum_positive( in nfsd_nl_server_stats_nfs4ops()
2466 u64 cnt = percpu_counter_sum_positive(&nn->cb_counter[op]); in nfsd_nl_server_stats_cbops()
H A Dexport.c1492 percpu_counter_sum_positive(&counter[EXP_STATS_FH_STALE])); in svc_export_show()
1494 percpu_counter_sum_positive(&counter[EXP_STATS_IO_READ])); in svc_export_show()
1496 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.h3460 return percpu_counter_sum_positive(&mm->rss_stat[member]); in get_mm_counter_sum()
/linux/include/net/
H A Ddst_ops.h53 return percpu_counter_sum_positive(&dst->pcpuc_entries); in dst_entries_get_slow()
H A Dsock.h1473 return percpu_counter_sum_positive(prot->sockets_allocated); in proto_sockets_allocated_sum_positive()
/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()
1744 u64 ordered = percpu_counter_sum_positive(&fs_info->ordered_bytes); in maybe_clamp_preempt()
1745 u64 delalloc = percpu_counter_sum_positive(&fs_info->delalloc_bytes); in maybe_clamp_preempt()
H A Dextent_map.c1321 s64 nr = percpu_counter_sum_positive(&fs_info->evictable_extent_maps); in btrfs_extent_map_shrinker_worker()
1361 s64 nr = percpu_counter_sum_positive(&fs_info->evictable_extent_maps); in btrfs_extent_map_shrinker_worker()
H A Ddisk-io.c1236 ASSERT(percpu_counter_sum_positive(em_counter) == 0); in btrfs_free_fs_info()
/linux/net/sunrpc/
H A Dsvc_xprt.c1565 percpu_counter_sum_positive(&pool->sp_messages_arrived), in svc_pool_stats_show()
1566 percpu_counter_sum_positive(&pool->sp_sockets_queued), in svc_pool_stats_show()
1567 percpu_counter_sum_positive(&pool->sp_threads_woken)); in svc_pool_stats_show()
/linux/fs/ext4/
H A Dballoc.c644 free_clusters = percpu_counter_sum_positive(fcc); in ext4_has_free_clusters()
645 dirty_clusters = percpu_counter_sum_positive(dcc); in ext4_has_free_clusters()
H A Dsuper.c6275 EXT4_C2B(sbi, percpu_counter_sum_positive( in ext4_update_super()
6279 cpu_to_le32(percpu_counter_sum_positive( in ext4_update_super()
7001 bfree = percpu_counter_sum_positive(&sbi->s_freeclusters_counter) - in ext4_statfs()
7002 percpu_counter_sum_positive(&sbi->s_dirtyclusters_counter); in ext4_statfs()
7010 buf->f_ffree = percpu_counter_sum_positive(&sbi->s_freeinodes_counter); in ext4_statfs()
/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.c715 percpu_counter_sum_positive( in stat_show()
H A Df2fs.h3093 return percpu_counter_sum_positive(&sbi->total_valid_inode_count); in valid_inode_count()
/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.h728 return percpu_counter_sum_positive(&mp->m_free[ctr].count); in xfs_sum_freecounter()
/linux/fs/xfs/libxfs/
H A Dxfs_sb.c1338 mp->m_sb.sb_icount = percpu_counter_sum_positive(&mp->m_icount); in xfs_log_sb()
1340 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()