/linux/fs/nfsd/ |
H A D | nfssvc.c | 219 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_serv_try_get() 226 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_serv_put() 253 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_nrthreads() 265 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_init_socks() 381 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_startup_net() 435 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_shutdown_net() 459 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_inetaddr_event() 489 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_inet6addr_event() 524 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_destroy_serv() 622 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_shutdown_threads() [all …]
|
H A D | nfsctl.c | 147 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in exports_net_open() 180 struct nfsd_net *nn = net_generic(inode->i_sb->s_fs_info, nfsd_net_id); in nfsd_pool_stats_open() 552 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in __write_versions() 697 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_names() 713 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_addfd() 743 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in __write_ports_addxprt() 877 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_maxblksize() 928 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_maxconn() 1014 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_leasetime() 1030 struct nfsd_net *nn = net_generic(netns(file), nfsd_net_id); in write_gracetime() [all …]
|
H A D | stats.c | 33 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_show() 78 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd_proc_stat_init()
|
/linux/include/net/netns/ |
H A D | generic.h | 29 struct net_generic { struct 40 static inline void *net_generic(const struct net *net, unsigned int id) in net_generic() argument 42 struct net_generic *ng; in net_generic()
|
/linux/fs/nfs_common/ |
H A D | grace.c | 32 struct list_head *grace_list = net_generic(net, grace_net_id); in locks_start_grace() 66 struct list_head *grace_list = net_generic(net, grace_net_id); in __state_in_grace() 106 struct list_head *grace_list = net_generic(net, grace_net_id); in grace_init_net() 115 struct list_head *grace_list = net_generic(net, grace_net_id); in grace_exit_net()
|
/linux/fs/nfs/ |
H A D | client.c | 208 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_cleanup_cb_ident_idr() 216 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_cb_idr_remove_locked() 271 nn = net_generic(clp->cl_net, nfs_net_id); in nfs_put_client() 293 struct nfs_net *nn = net_generic(data->net, nfs_net_id); in nfs_match_client() 415 struct nfs_net *nn = net_generic(cl_init->net, nfs_net_id); in nfs_get_client() 516 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_create_rpc_client() 944 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_server_insert_lists() 962 nn = net_generic(clp->cl_net, nfs_net_id); in nfs_server_remove_lists() 1191 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_clients_init() 1208 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_clients_exit() [all …]
|
H A D | callback.c | 45 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4_callback_up_net() 133 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_callback_down_net() 145 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_callback_up_net()
|
/linux/net/ipv6/ila/ |
H A D | ila_xlat.c | 200 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_add_mapping() 279 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_del_mapping() 376 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_nl_cmd_flush() 458 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_nl_cmd_get_mapping() 503 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_nl_dump_start() 601 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_init_net() 619 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_pre_exit_net() 628 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_exit_net() 640 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_addr()
|
/linux/fs/nfs/blocklayout/ |
H A D | rpc_pipefs.c | 56 struct nfs_net *nn = net_generic(net, nfs_net_id); in bl_resolve_deviceid() 114 struct nfs_net *nn = net_generic(file_inode(filp)->i_sb->s_fs_info, in bl_pipe_downcall() 169 struct nfs_net *nn = net_generic(net, nfs_net_id); in rpc_pipefs_event() 234 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4blocklayout_net_init() 253 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs4blocklayout_net_exit()
|
/linux/net/netfilter/ |
H A D | xt_TEE.c | 65 struct tee_net *tn = net_generic(net, tee_net_id); in tee_netdev_event() 94 struct tee_net *tn = net_generic(par->net, tee_net_id); in tee_tg_check() 134 struct tee_net *tn = net_generic(par->net, tee_net_id); in tee_tg_destroy() 175 struct tee_net *tn = net_generic(net, tee_net_id); in tee_net_init()
|
H A D | xt_RATEEST.c | 65 struct xt_rateest_net *xn = net_generic(net, xt_rateest_id); in xt_rateest_lookup() 77 struct xt_rateest_net *xn = net_generic(net, xt_rateest_id); in xt_rateest_put() 109 struct xt_rateest_net *xn = net_generic(par->net, xt_rateest_id); in xt_rateest_tg_checkentry() 211 struct xt_rateest_net *xn = net_generic(net, xt_rateest_id); in xt_rateest_net_init()
|
/linux/net/8021q/ |
H A D | vlanproc.c | 94 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_proc_cleanup() 113 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_proc_init() 139 struct vlan_net *vn = net_generic(dev_net(vlandev), vlan_net_id); in vlan_proc_add_dev() 205 struct vlan_net *vn = net_generic(net, vlan_net_id); in vlan_seq_show()
|
/linux/net/smc/ |
H A D | smc_pnet.c | 112 sn = net_generic(net, smc_net_id); in smc_pnet_remove_by_pnetid() 194 sn = net_generic(net, smc_net_id); in smc_pnet_add_by_ndev() 226 sn = net_generic(net, smc_net_id); in smc_pnet_remove_by_ndev() 489 sn = net_generic(net, smc_net_id); in smc_pnet_enter() 610 sn = net_generic(net, smc_net_id); in _smc_pnet_dump() 728 struct smc_net *sn = net_generic(net, smc_net_id); in smc_pnet_is_ndev_pnetid() 747 struct smc_net *sn = net_generic(net, smc_net_id); in smc_pnet_add_pnetid() 773 struct smc_net *sn = net_generic(net, smc_net_id); in smc_pnet_remove_pnetid() 828 struct smc_net *sn = net_generic(net, smc_net_id); in smc_pnet_destroy_pnetids_list() 879 struct smc_net *sn = net_generic(net, smc_net_id); in smc_pnet_net_init() [all …]
|
/linux/fs/lockd/ |
H A D | procfs.c | 25 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()
|
H A D | svc.c | 110 struct lockd_net *ln = net_generic(net, lockd_net_id); in set_grace_period() 125 struct lockd_net *ln = net_generic(net, lockd_net_id); in lockd() 225 struct lockd_net *ln = net_generic(net, lockd_net_id); in lockd_up_net() 249 struct lockd_net *ln = net_generic(net, lockd_net_id); in lockd_down_net() 549 struct lockd_net *ln = net_generic(net, lockd_net_id); in lockd_init_net() 560 struct lockd_net *ln = net_generic(net, lockd_net_id); in lockd_exit_net()
|
/linux/net/sunrpc/ |
H A D | svcauth_unix.c | 332 sn = net_generic(net, sunrpc_net_id); in svcauth_unix_purge() 347 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_get() 381 sn = net_generic(xprt->xpt_net, sunrpc_net_id); in ip_map_cached_put() 395 sn = net_generic(xpt->xpt_net, sunrpc_net_id); in svcauth_unix_info_release() 602 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in unix_gid_cache_create() 620 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in unix_gid_cache_destroy() 647 struct sunrpc_net *sn = net_generic(rqstp->rq_xprt->xpt_net, in unix_gid_find() 678 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in svcauth_unix_set_client() 1037 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in ip_map_cache_create() 1055 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in ip_map_cache_destroy()
|
H A D | stats.c | 293 sn = net_generic(net, sunrpc_net_id); in do_register() 309 sn = net_generic(net, sunrpc_net_id); in rpc_proc_unregister() 326 sn = net_generic(net, sunrpc_net_id); in svc_proc_unregister() 336 sn = net_generic(net, sunrpc_net_id); in rpc_proc_init()
|
H A D | sunrpc_syms.c | 36 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_init_net() 71 struct sunrpc_net *sn = net_generic(net, sunrpc_net_id); in sunrpc_exit_net()
|
/linux/net/kcm/ |
H A D | kcmproc.c | 21 struct kcm_net *knet = net_generic(net, kcm_net_id); in kcm_get_first() 38 struct kcm_net *knet = net_generic(net, kcm_net_id); in kcm_get_idx() 86 struct kcm_net *knet = net_generic(net, kcm_net_id); in kcm_format_mux_header() 250 struct kcm_net *knet = net_generic(net, kcm_net_id); in kcm_stats_seq_show()
|
/linux/net/bridge/ |
H A D | br_netfilter_hooks.c | 93 struct brnf_net *brnet = net_generic(net, brnf_net_id); in is_vlan_ip() 101 struct brnf_net *brnet = net_generic(net, brnf_net_id); in is_vlan_ipv6() 109 struct brnf_net *brnet = net_generic(net, brnf_net_id); in is_vlan_arp() 122 struct brnf_net *brnet = net_generic(net, brnf_net_id); in is_pppoe_ip() 131 struct brnf_net *brnet = net_generic(net, brnf_net_id); in is_pppoe_ipv6() 463 struct brnf_net *brnet = net_generic(net, brnf_net_id); in brnf_get_logical_dev() 524 brnet = net_generic(state->net, brnf_net_id); in br_nf_pre_routing() 767 brnet = net_generic(state->net, brnf_net_id); in br_nf_forward_arp() 1135 brnet = net_generic(net, brnf_net_id); in brnf_device_event() 1277 brnet = net_generic(net, brnf_net_id); in br_netfilter_sysctl_init_net() [all …]
|
/linux/net/handshake/ |
H A D | netlink.c | 175 struct handshake_net *hn = net_generic(net, handshake_net_id); in handshake_net_init() 197 struct handshake_net *hn = net_generic(net, handshake_net_id); in handshake_net_exit() 241 net_generic(net, handshake_net_id) : NULL; in handshake_pernet()
|
/linux/net/ipv6/ |
H A D | ip6_vti.c | 94 struct vti6_net *ip6n = net_generic(net, vti6_net_id); in vti6_tnl_lookup() 181 struct vti6_net *ip6n = net_generic(net, vti6_net_id); in vti6_tnl_create2() 257 struct vti6_net *ip6n = net_generic(net, vti6_net_id); in vti6_locate() 285 struct vti6_net *ip6n = net_generic(t->net, vti6_net_id); in vti6_dev_uninit() 726 struct vti6_net *ip6n = net_generic(net, vti6_net_id); in vti6_update() 803 struct vti6_net *ip6n = net_generic(net, vti6_net_id); in vti6_siocdevprivate() 959 struct vti6_net *ip6n = net_generic(net, vti6_net_id); in vti6_fb_tnl_dev_init() 1021 struct vti6_net *ip6n = net_generic(net, vti6_net_id); in vti6_dellink() 1034 struct vti6_net *ip6n = net_generic(net, vti6_net_id); in vti6_changelink() 1133 struct vti6_net *ip6n = net_generic(net, vti6_net_id); in vti6_init_net() [all …]
|
/linux/net/rds/ |
H A D | tcp.c | 512 rtn = net_generic(net, rds_tcp_netid); in rds_tcp_tune() 538 struct rds_tcp_net *rtn = net_generic(net, rds_tcp_netid); in rds_tcp_accept_work() 545 struct rds_tcp_net *rtn = net_generic(net, rds_tcp_netid); in rds_tcp_init_net() 609 struct rds_tcp_net *rtn = net_generic(net, rds_tcp_netid); in rds_tcp_kill_sock() 634 struct rds_tcp_net *rtn = net_generic(net, rds_tcp_netid); in rds_tcp_exit_net() 654 struct rds_tcp_net *rtn = net_generic(net, rds_tcp_netid); in rds_tcp_listen_sock_def_readable()
|
/linux/net/ipv4/netfilter/ |
H A D | iptable_nat.c | 66 xt_nat_net = net_generic(net, iptable_nat_net_id); in ipt_nat_register_lookups() 93 struct iptable_nat_pernet *xt_nat_net = net_generic(net, iptable_nat_net_id); in ipt_nat_unregister_lookups()
|
/linux/net/ipv6/netfilter/ |
H A D | ip6table_nat.c | 72 xt_nat_net = net_generic(net, ip6table_nat_net_id); in ip6t_nat_register_lookups() 95 struct ip6table_nat_pernet *xt_nat_net = net_generic(net, ip6table_nat_net_id); in ip6t_nat_unregister_lookups()
|