Lines Matching refs:nn
33 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_show() local
37 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_HITS]), in nfsd_show()
38 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_MISSES]), in nfsd_show()
39 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_RC_NOCACHE]), in nfsd_show()
40 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_FH_STALE]), in nfsd_show()
41 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_IO_READ]), in nfsd_show()
42 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_IO_WRITE])); in nfsd_show()
55 svc_seq_show(seq, &nn->nfsd_svcstats); in nfsd_show()
63 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_NFS4_OP(i)])); in nfsd_show()
66 percpu_counter_sum_positive(&nn->counter[NFSD_STATS_WDELEG_GETATTR])); in nfsd_show()
108 int nfsd_stat_counters_init(struct nfsd_net *nn) in nfsd_stat_counters_init() argument
110 return nfsd_percpu_counters_init(nn->counter, NFSD_STATS_COUNTERS_NUM); in nfsd_stat_counters_init()
113 void nfsd_stat_counters_destroy(struct nfsd_net *nn) in nfsd_stat_counters_destroy() argument
115 nfsd_percpu_counters_destroy(nn->counter, NFSD_STATS_COUNTERS_NUM); in nfsd_stat_counters_destroy()
120 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_proc_stat_init() local
122 svc_proc_register(net, &nn->nfsd_svcstats, &nfsd_proc_ops); in nfsd_proc_stat_init()