Home
last modified time | relevance | path

Searched refs:netns (Results 1 – 4 of 4) sorted by relevance

/fs/sysfs/
Dmount.c58 struct net *netns; in sysfs_init_fs_context() local
69 kfc->ns_tag = netns = kobj_ns_grab_current(KOBJ_NS_TYPE_NET); in sysfs_init_fs_context()
74 if (netns) { in sysfs_init_fs_context()
76 fc->user_ns = get_user_ns(netns->user_ns); in sysfs_init_fs_context()
/fs/nfs/
Dsysfs.c170 void nfs_netns_sysfs_setup(struct nfs_net *netns, struct net *net) in nfs_netns_sysfs_setup() argument
176 netns->nfs_client = clp; in nfs_netns_sysfs_setup()
181 void nfs_netns_sysfs_destroy(struct nfs_net *netns) in nfs_netns_sysfs_destroy() argument
183 struct nfs_netns_client *clp = netns->nfs_client; in nfs_netns_sysfs_destroy()
189 netns->nfs_client = NULL; in nfs_netns_sysfs_destroy()
Dsysfs.h22 void nfs_netns_sysfs_setup(struct nfs_net *netns, struct net *net);
23 void nfs_netns_sysfs_destroy(struct nfs_net *netns);
/fs/nfsd/
Dnfsctl.c237 static inline struct net *netns(struct file *file) in netns() function
262 struct net *net = netns(file); in write_unlock_ip()
394 len = exp_rootfh(netns(file), dom, path, &fh, maxsize); in write_filehandle()
438 struct net *net = netns(file); in write_threads()
489 struct net *net = netns(file); in write_pool_threads()
572 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in __write_versions()
866 rv = __write_ports(file, buf, size, netns(file)); in write_ports()
898 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_maxblksize()
947 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_maxconn()
1028 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_leasetime()
[all …]