Lines Matching refs:nn
16 static inline void nfsd_stats_rc_hits_inc(struct nfsd_net *nn) in nfsd_stats_rc_hits_inc() argument
18 percpu_counter_inc(&nn->counter[NFSD_STATS_RC_HITS]); in nfsd_stats_rc_hits_inc()
21 static inline void nfsd_stats_rc_misses_inc(struct nfsd_net *nn) in nfsd_stats_rc_misses_inc() argument
23 percpu_counter_inc(&nn->counter[NFSD_STATS_RC_MISSES]); in nfsd_stats_rc_misses_inc()
26 static inline void nfsd_stats_rc_nocache_inc(struct nfsd_net *nn) in nfsd_stats_rc_nocache_inc() argument
28 percpu_counter_inc(&nn->counter[NFSD_STATS_RC_NOCACHE]); in nfsd_stats_rc_nocache_inc()
31 static inline void nfsd_stats_fh_stale_inc(struct nfsd_net *nn, in nfsd_stats_fh_stale_inc() argument
34 percpu_counter_inc(&nn->counter[NFSD_STATS_FH_STALE]); in nfsd_stats_fh_stale_inc()
39 static inline void nfsd_stats_io_read_add(struct nfsd_net *nn, in nfsd_stats_io_read_add() argument
42 percpu_counter_add(&nn->counter[NFSD_STATS_IO_READ], amount); in nfsd_stats_io_read_add()
47 static inline void nfsd_stats_io_write_add(struct nfsd_net *nn, in nfsd_stats_io_write_add() argument
50 percpu_counter_add(&nn->counter[NFSD_STATS_IO_WRITE], amount); in nfsd_stats_io_write_add()
55 static inline void nfsd_stats_payload_misses_inc(struct nfsd_net *nn) in nfsd_stats_payload_misses_inc() argument
57 percpu_counter_inc(&nn->counter[NFSD_STATS_PAYLOAD_MISSES]); in nfsd_stats_payload_misses_inc()
60 static inline void nfsd_stats_drc_mem_usage_add(struct nfsd_net *nn, s64 amount) in nfsd_stats_drc_mem_usage_add() argument
62 percpu_counter_add(&nn->counter[NFSD_STATS_DRC_MEM_USAGE], amount); in nfsd_stats_drc_mem_usage_add()
65 static inline void nfsd_stats_drc_mem_usage_sub(struct nfsd_net *nn, s64 amount) in nfsd_stats_drc_mem_usage_sub() argument
67 percpu_counter_sub(&nn->counter[NFSD_STATS_DRC_MEM_USAGE], amount); in nfsd_stats_drc_mem_usage_sub()
71 static inline void nfsd_stats_wdeleg_getattr_inc(struct nfsd_net *nn) in nfsd_stats_wdeleg_getattr_inc() argument
73 percpu_counter_inc(&nn->counter[NFSD_STATS_WDELEG_GETATTR]); in nfsd_stats_wdeleg_getattr_inc()