Home
last modified time | relevance | path

Searched refs:net_ns (Results 1 - 25 of 111) sorted by relevance

12345

/kernel/linux/linux-6.6/fs/afs/
H A Dmntpt.c80 if (fc->net_ns != src_as->net_ns) { in afs_mntpt_set_params()
81 put_net(fc->net_ns); in afs_mntpt_set_params()
82 fc->net_ns = get_net(src_as->net_ns); in afs_mntpt_set_params()
H A Dmain.c67 static int __net_init afs_net_init(struct net *net_ns) in afs_net_init() argument
70 struct afs_net *net = afs_net(net_ns); in afs_net_init()
73 net->net = net_ns; in afs_net_init()
150 static void __net_exit afs_net_exit(struct net *net_ns) in afs_net_exit() argument
152 struct afs_net *net = afs_net(net_ns); in afs_net_exit()
H A Dsuper.c425 return (as->net_ns == fc->net_ns && in afs_test_super()
436 return (as->net_ns == fc->net_ns && in afs_dynroot_test_super()
513 as->net_ns = get_net(fc->net_ns); in afs_alloc_sbi()
529 struct afs_net *net = afs_net(as->net_ns); in afs_destroy_sbi()
532 put_net(as->net_ns); in afs_destroy_sbi()
641 ctx->net = afs_net(fc->net_ns); in afs_init_fs_context()
/kernel/linux/common_modules/container_escape_detection/include/
H A Dced_detection_points.h38 struct net *net_ns; member
46 info->net_ns = nsproxy->net_ns; in ns_info_record()
/kernel/linux/linux-5.10/fs/afs/
H A Dmain.c67 static int __net_init afs_net_init(struct net *net_ns) in afs_net_init() argument
70 struct afs_net *net = afs_net(net_ns); in afs_net_init()
73 net->net = net_ns; in afs_net_init()
150 static void __net_exit afs_net_exit(struct net *net_ns) in afs_net_exit() argument
152 struct afs_net *net = afs_net(net_ns); in afs_net_exit()
H A Dmntpt.c80 if (fc->net_ns != src_as->net_ns) { in afs_mntpt_set_params()
81 put_net(fc->net_ns); in afs_mntpt_set_params()
82 fc->net_ns = get_net(src_as->net_ns); in afs_mntpt_set_params()
H A Dsuper.c424 return (as->net_ns == fc->net_ns && in afs_test_super()
435 return (as->net_ns == fc->net_ns && in afs_dynroot_test_super()
512 as->net_ns = get_net(fc->net_ns); in afs_alloc_sbi()
528 struct afs_net *net = afs_net(as->net_ns); in afs_destroy_sbi()
531 put_net(as->net_ns); in afs_destroy_sbi()
640 ctx->net = afs_net(fc->net_ns); in afs_init_fs_context()
/kernel/linux/linux-5.10/kernel/
H A Dnsproxy.c42 .net_ns = &init_net,
111 new_nsp->net_ns = copy_net_ns(flags, user_ns, tsk->nsproxy->net_ns); in create_new_namespaces()
112 if (IS_ERR(new_nsp->net_ns)) { in create_new_namespaces()
113 err = PTR_ERR(new_nsp->net_ns); in create_new_namespaces()
128 put_net(new_nsp->net_ns); in create_new_namespaces()
209 put_net(ns->net_ns); in free_nsproxy()
471 ret = validate_ns(nsset, &nsp->net_ns->ns); in validate_nsset()
/kernel/linux/linux-6.6/kernel/
H A Dnsproxy.c42 .net_ns = &init_net,
111 new_nsp->net_ns = copy_net_ns(flags, user_ns, tsk->nsproxy->net_ns); in create_new_namespaces()
112 if (IS_ERR(new_nsp->net_ns)) { in create_new_namespaces()
113 err = PTR_ERR(new_nsp->net_ns); in create_new_namespaces()
128 put_net(new_nsp->net_ns); in create_new_namespaces()
206 put_net(ns->net_ns); in free_nsproxy()
485 ret = validate_ns(nsset, &nsp->net_ns->ns); in validate_nsset()
/kernel/linux/linux-5.10/fs/lockd/
H A Dprocfs.c25 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_write()
52 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_read()
/kernel/linux/linux-6.6/fs/lockd/
H A Dprocfs.c25 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_write()
52 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_read()
/kernel/linux/linux-5.10/net/
H A Dsysctl_net.c33 return &current->nsproxy->net_ns->sysctls; in net_ctl_header_lookup()
38 return &current->nsproxy->net_ns->sysctls == set; in is_seen()
/kernel/linux/linux-6.6/net/
H A Dsysctl_net.c33 return &current->nsproxy->net_ns->sysctls; in net_ctl_header_lookup()
38 return &current->nsproxy->net_ns->sysctls == set; in is_seen()
/kernel/linux/linux-6.6/net/sctp/
H A Dsysctl.c394 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_hmac_alg()
439 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_min()
467 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_max()
505 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_auth()
534 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_udp_port()
575 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_probe_interval()
/kernel/linux/linux-5.10/fs/nfs/
H A Dnamespace.c172 if (fc->net_ns != client->cl_net) { in nfs_d_automount()
173 put_net(fc->net_ns); in nfs_d_automount()
174 fc->net_ns = get_net(client->cl_net); in nfs_d_automount()
/kernel/linux/linux-6.6/fs/nfs/
H A Dnamespace.c172 if (fc->net_ns != client->cl_net) { in nfs_d_automount()
173 put_net(fc->net_ns); in nfs_d_automount()
174 fc->net_ns = get_net(client->cl_net); in nfs_d_automount()
/kernel/linux/linux-5.10/net/sctp/
H A Dsysctl.c353 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_hmac_alg()
398 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_min()
426 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_rto_max()
464 struct net *net = current->nsproxy->net_ns; in proc_sctp_do_auth()
/kernel/linux/linux-6.6/kernel/bpf/
H A Dtcx.c13 struct net *net = current->nsproxy->net_ns; in tcx_prog_attach()
62 struct net *net = current->nsproxy->net_ns; in tcx_prog_detach()
125 struct net *net = current->nsproxy->net_ns; in tcx_prog_query()
312 struct net *net = current->nsproxy->net_ns; in tcx_link_attach()
/kernel/linux/linux-5.10/net/rxrpc/
H A DMakefile23 net_ns.o \
/kernel/linux/linux-6.6/net/rxrpc/
H A DMakefile25 net_ns.o \
/kernel/linux/linux-5.10/include/linux/
H A Dnsproxy.h37 struct net *net_ns; member
/kernel/linux/linux-5.10/fs/cifs/
H A Ddns_resolve.c80 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len, in dns_resolve_server_name_to_ip()
/kernel/linux/linux-6.6/fs/smb/client/
H A Ddns_resolve.c68 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len, in dns_resolve_server_name_to_ip()
/kernel/linux/linux-6.6/include/linux/
H A Dnsproxy.h37 struct net *net_ns; member
/kernel/linux/linux-5.10/fs/
H A Dfs_context.c266 fc->net_ns = get_net(current->nsproxy->net_ns); in alloc_fs_context()
358 get_net(fc->net_ns); in vfs_dup_fs_context()
472 put_net(fc->net_ns); in put_fs_context()

Completed in 12 milliseconds

12345