Lines Matching refs:nn
16 int nfsd_stat_counters_init(struct nfsd_net *nn);
17 void nfsd_stat_counters_destroy(struct nfsd_net *nn);
21 static inline void nfsd_stats_rc_hits_inc(struct nfsd_net *nn) in nfsd_stats_rc_hits_inc() argument
23 percpu_counter_inc(&nn->counter[NFSD_STATS_RC_HITS]); in nfsd_stats_rc_hits_inc()
26 static inline void nfsd_stats_rc_misses_inc(struct nfsd_net *nn) in nfsd_stats_rc_misses_inc() argument
28 percpu_counter_inc(&nn->counter[NFSD_STATS_RC_MISSES]); in nfsd_stats_rc_misses_inc()
31 static inline void nfsd_stats_rc_nocache_inc(struct nfsd_net *nn) in nfsd_stats_rc_nocache_inc() argument
33 percpu_counter_inc(&nn->counter[NFSD_STATS_RC_NOCACHE]); in nfsd_stats_rc_nocache_inc()
36 static inline void nfsd_stats_fh_stale_inc(struct nfsd_net *nn, in nfsd_stats_fh_stale_inc() argument
39 percpu_counter_inc(&nn->counter[NFSD_STATS_FH_STALE]); in nfsd_stats_fh_stale_inc()
44 static inline void nfsd_stats_io_read_add(struct nfsd_net *nn, in nfsd_stats_io_read_add() argument
47 percpu_counter_add(&nn->counter[NFSD_STATS_IO_READ], amount); in nfsd_stats_io_read_add()
52 static inline void nfsd_stats_io_write_add(struct nfsd_net *nn, in nfsd_stats_io_write_add() argument
55 percpu_counter_add(&nn->counter[NFSD_STATS_IO_WRITE], amount); in nfsd_stats_io_write_add()
60 static inline void nfsd_stats_payload_misses_inc(struct nfsd_net *nn) in nfsd_stats_payload_misses_inc() argument
62 percpu_counter_inc(&nn->counter[NFSD_STATS_PAYLOAD_MISSES]); in nfsd_stats_payload_misses_inc()
65 static inline void nfsd_stats_drc_mem_usage_add(struct nfsd_net *nn, s64 amount) in nfsd_stats_drc_mem_usage_add() argument
67 percpu_counter_add(&nn->counter[NFSD_STATS_DRC_MEM_USAGE], amount); in nfsd_stats_drc_mem_usage_add()
70 static inline void nfsd_stats_drc_mem_usage_sub(struct nfsd_net *nn, s64 amount) in nfsd_stats_drc_mem_usage_sub() argument
72 percpu_counter_sub(&nn->counter[NFSD_STATS_DRC_MEM_USAGE], amount); in nfsd_stats_drc_mem_usage_sub()
76 static inline void nfsd_stats_wdeleg_getattr_inc(struct nfsd_net *nn) in nfsd_stats_wdeleg_getattr_inc() argument
78 percpu_counter_inc(&nn->counter[NFSD_STATS_WDELEG_GETATTR]); in nfsd_stats_wdeleg_getattr_inc()