/fs/nfsd/ |
D | nfssvc.c | 182 nfsd_netns_free_versions(struct nfsd_net *nn) in nfsd_netns_free_versions() 191 nfsd_netns_init_versions(struct nfsd_net *nn) in nfsd_netns_init_versions() 201 int nfsd_vers(struct nfsd_net *nn, int vers, enum vers_op change) in nfsd_vers() 226 nfsd_adjust_nfsd_versions4(struct nfsd_net *nn) in nfsd_adjust_nfsd_versions4() 237 int nfsd_minorversion(struct nfsd_net *nn, u32 minorversion, enum vers_op change) in nfsd_minorversion() 277 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_nrthreads() 289 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_init_socks() 341 static bool nfsd_needs_lockd(struct nfsd_net *nn) in nfsd_needs_lockd() 354 void nfsd_copy_write_verifier(__be32 verf[2], struct nfsd_net *nn) in nfsd_copy_write_verifier() 365 static void nfsd_reset_write_verifier_locked(struct nfsd_net *nn) in nfsd_reset_write_verifier_locked() [all …]
|
D | nfscache.c | 89 struct nfsd_net *nn) in nfsd_reply_cache_alloc() 115 struct nfsd_net *nn) in nfsd_reply_cache_free_locked() 132 struct nfsd_net *nn) in nfsd_reply_cache_free() 151 static int nfsd_reply_cache_stats_init(struct nfsd_net *nn) in nfsd_reply_cache_stats_init() 156 static void nfsd_reply_cache_stats_destroy(struct nfsd_net *nn) in nfsd_reply_cache_stats_destroy() 161 int nfsd_reply_cache_init(struct nfsd_net *nn) in nfsd_reply_cache_init() 205 void nfsd_reply_cache_shutdown(struct nfsd_net *nn) in nfsd_reply_cache_shutdown() 240 nfsd_cache_bucket_find(__be32 xid, struct nfsd_net *nn) in nfsd_cache_bucket_find() 247 static long prune_bucket(struct nfsd_drc_bucket *b, struct nfsd_net *nn, in prune_bucket() 270 static long nfsd_prune_bucket(struct nfsd_drc_bucket *b, struct nfsd_net *nn) in nfsd_prune_bucket() [all …]
|
D | nfs4recover.c | 61 void (*grace_done)(struct nfsd_net *); 170 const char *dname, int len, struct nfsd_net *nn) in __nfsd4_create_reclaim_record_grace() 198 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_create_clid_dir() 257 typedef int (recdir_func)(struct dentry *, struct dentry *, struct nfsd_net *); 289 nfsd4_list_rec_dir(recdir_func *f, struct nfsd_net *nn) in nfsd4_list_rec_dir() 339 nfsd4_unlink_clid_dir(char *name, int namlen, struct nfsd_net *nn) in nfsd4_unlink_clid_dir() 366 struct nfsd_net *nn) in __nfsd4_remove_reclaim_record_grace() 390 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_remove_clid_dir() 425 purge_old(struct dentry *parent, struct dentry *child, struct nfsd_net *nn) in purge_old() 458 nfsd4_recdir_purge_old(struct nfsd_net *nn) in nfsd4_recdir_purge_old() [all …]
|
D | state.h | 666 struct nfsd_net; 675 struct nfs4_stid **s, struct nfsd_net *nn); 678 int nfs4_init_copy_state(struct nfsd_net *nn, struct nfsd4_copy *copy); 680 struct nfs4_cpntf_state *nfs4_alloc_init_cpntf_state(struct nfsd_net *nn, 685 void nfs4_remove_reclaim_record(struct nfs4_client_reclaim *, struct nfsd_net *); 686 extern void nfs4_release_reclaim(struct nfsd_net *); 688 struct nfsd_net *nn); 701 struct xdr_netobj princhash, struct nfsd_net *nn); 702 extern bool nfs4_has_reclaimed_state(struct xdr_netobj name, struct nfsd_net *nn); 707 extern void nfs4_put_cpntf_state(struct nfsd_net *nn, [all …]
|
D | nfsd.h | 110 struct dentry *nfsd_client_mkdir(struct nfsd_net *nn, 130 struct nfsd_net; 133 int nfsd_vers(struct nfsd_net *nn, int vers, enum vers_op change); 134 int nfsd_minorversion(struct nfsd_net *nn, u32 minorversion, enum vers_op change); 135 void nfsd_reset_versions(struct nfsd_net *nn); 505 extern void nfsd4_ssc_init_umount_work(struct nfsd_net *nn); 508 extern int nfsd4_init_leases_net(struct nfsd_net *nn); 509 extern void nfsd4_leases_net_shutdown(struct nfsd_net *nn); 517 static inline int nfsd4_init_leases_net(struct nfsd_net *nn) { return 0; }; in nfsd4_init_leases_net() 518 static inline void nfsd4_leases_net_shutdown(struct nfsd_net *nn) {}; in nfsd4_leases_net_shutdown()
|
D | nfsctl.c | 147 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in exports_net_open() 524 nfsd_print_version_support(struct nfsd_net *nn, char *buf, int remaining, in nfsd_print_version_support() 551 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in __write_versions() 691 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_names() 707 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_addfd() 736 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_addxprt() 869 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_maxblksize() 918 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_maxconn() 934 time64_t *time, struct nfsd_net *nn) in __nfsd4_write_time() 966 time64_t *time, struct nfsd_net *nn) in nfsd4_write_time() [all …]
|
D | netns.h | 42 struct nfsd_net { struct 204 extern void nfsd_netns_free_versions(struct nfsd_net *nn); argument 208 void nfsd_copy_write_verifier(__be32 verf[2], struct nfsd_net *nn); 209 void nfsd_reset_write_verifier(struct nfsd_net *nn);
|
D | nfs4state.c | 85 void nfsd4_end_grace(struct nfsd_net *nn); 86 static void _free_cpntf_state_locked(struct nfsd_net *nn, struct nfs4_cpntf_state *cps); 163 static void nfsd4_dec_courtesy_client_count(struct nfsd_net *nn, in nfsd4_dec_courtesy_client_count() 172 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in get_client_locked() 188 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in renew_client_locked() 207 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in put_client_renew_locked() 221 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in put_client_renew() 248 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_put_session_locked() 260 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_put_session() 269 struct nfsd_net *nn) in find_blocked_lock() [all …]
|
D | stats.h | 81 static inline void nfsd_stats_payload_misses_inc(struct nfsd_net *nn) in nfsd_stats_payload_misses_inc() 86 static inline void nfsd_stats_drc_mem_usage_add(struct nfsd_net *nn, s64 amount) in nfsd_stats_drc_mem_usage_add() 91 static inline void nfsd_stats_drc_mem_usage_sub(struct nfsd_net *nn, s64 amount) in nfsd_stats_drc_mem_usage_sub()
|
D | cache.h | 83 int nfsd_reply_cache_init(struct nfsd_net *); 84 void nfsd_reply_cache_shutdown(struct nfsd_net *);
|
D | nfs4idmap.c | 467 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_idmap_init() 497 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_idmap_shutdown() 545 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in idmap_name_to_id() 585 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in idmap_id_to_name()
|
D | export.c | 982 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in exp_rootfh() 1023 struct nfsd_net *nn = net_generic(cd->net, nfsd_net_id); in exp_find() 1081 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in rqst_exp_get_by_name() 1112 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in rqst_exp_find() 1334 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_init() 1370 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_flush() 1382 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_export_shutdown()
|
D | nfs4proc.c | 499 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd4_open() 1310 static __be32 nfsd4_ssc_setup_dul(struct nfsd_net *nn, char *ipaddr, in nfsd4_ssc_setup_dul() 1363 static void nfsd4_ssc_update_dul(struct nfsd_net *nn, in nfsd4_ssc_update_dul() 1374 static void nfsd4_ssc_cancel_dul(struct nfsd_net *nn, in nfsd4_ssc_cancel_dul() 1400 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd4_interssc_connect() 1524 struct nfsd_net *nn = net_generic(dst->nf_net, nfsd_net_id); in nfsd4_cleanup_inter_ssc() 1799 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd4_copy() 1875 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd4_offload_cancel() 1890 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd4_copy_notify() 2595 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd4_proc_compound()
|
D | filecache.c | 485 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_file_list_add_disposal() 938 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_free_fcache_disposal_net() 947 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_file_cache_start_net()
|
D | trace.h | 669 TP_PROTO(const struct nfsd_net *nn), 682 TP_PROTO(const struct nfsd_net *nn), \ 690 const struct nfsd_net *nn, 1160 const struct nfsd_net *nn, 1183 const struct nfsd_net *nn,
|
D | vfs.c | 574 struct nfsd_net *nn = net_generic(nf_dst->nf_net, in nfsd4_clone_file_range() 1011 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd_vfs_write() 1178 struct nfsd_net *nn; in nfsd_commit()
|
D | xdr4.h | 820 struct nfsd4_open *open, struct nfsd_net *nn);
|
D | nfs4layouts.c | 657 struct nfsd_net *nn; in nfsd4_cb_layout_done()
|
D | nfs4callback.c | 825 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in max_cb_time()
|
D | nfs4xdr.c | 2900 struct nfsd_net *nn = net_generic(SVC_NET(rqstp), nfsd_net_id); in nfsd4_encode_fattr() 4395 struct nfsd_net *nn = net_generic(SVC_NET(resp->rqstp), nfsd_net_id); in nfsd4_encode_exchange_id()
|