Home
last modified time | relevance | path

Searched refs:net_generic (Results 1 – 25 of 148) sorted by relevance

123456

/linux-6.12.1/net/core/
Dfib_notifier.c32 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in call_fib_notifiers()
42 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_seq_sum()
63 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_net_dump()
87 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_dump_is_consistent()
123 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in unregister_fib_notifier()
132 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in __fib_notifier_ops_register()
173 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_notifier_net_init()
182 struct fib_notifier_net *fn_net = net_generic(net, fib_notifier_net_id); in fib_notifier_net_exit()
/linux-6.12.1/fs/nfsd/
Dnfssvc.c219 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 …]
Dnfs4recover.c199 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_create_clid_dir()
391 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_remove_clid_dir()
508 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd4_recdir_load()
527 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd4_init_recdir()
561 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd4_shutdown_recdir()
572 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfs4_legacy_state_init()
591 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfs4_legacy_state_shutdown()
641 struct nfsd_net *nn = net_generic(net, nfsd_net_id); in nfsd4_legacy_tracking_exit()
681 struct nfsd_net *nn = net_generic(clp->net, nfsd_net_id); in nfsd4_check_legacy_client()
873 struct nfsd_net *nn = net_generic(file_inode(filp)->i_sb->s_fs_info, in cld_pipe_downcall()
[all …]
Dnfsctl.c147 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 …]
Dstats.c33 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-6.12.1/include/net/netns/
Dgeneric.h29 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-6.12.1/fs/nfs_common/
Dgrace.c32 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-6.12.1/fs/nfs/blocklayout/
Drpc_pipefs.c56 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-6.12.1/fs/nfs/
Dclient.c204 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_cleanup_cb_ident_idr()
212 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_cb_idr_remove_locked()
267 nn = net_generic(clp->cl_net, nfs_net_id); in nfs_put_client()
289 struct nfs_net *nn = net_generic(data->net, nfs_net_id); in nfs_match_client()
411 struct nfs_net *nn = net_generic(cl_init->net, nfs_net_id); in nfs_get_client()
512 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_create_rpc_client()
940 struct nfs_net *nn = net_generic(clp->cl_net, nfs_net_id); in nfs_server_insert_lists()
958 nn = net_generic(clp->cl_net, nfs_net_id); in nfs_server_remove_lists()
1187 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_clients_init()
1204 struct nfs_net *nn = net_generic(net, nfs_net_id); in nfs_clients_exit()
[all …]
/linux-6.12.1/net/ipv6/ila/
Dila_xlat.c205 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_add_mapping()
284 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_del_mapping()
381 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_nl_cmd_flush()
463 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_nl_cmd_get_mapping()
508 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_nl_dump_start()
606 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_init_net()
624 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_pre_exit_net()
633 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_exit_net()
645 struct ila_net *ilan = net_generic(net, ila_net_id); in ila_xlat_addr()
/linux-6.12.1/drivers/net/ipvlan/
Dipvlan_l3s.c134 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid); in ipvlan_register_nf_hook()
151 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid); in ipvlan_unregister_nf_hook()
168 old_vnet = net_generic(oldnet, ipvlan_netid); in ipvlan_migrate_l3s_hook()
178 struct ipvlan_netns *vnet = net_generic(net, ipvlan_netid); in ipvlan_ns_exit()
/linux-6.12.1/net/8021q/
Dvlanproc.c94 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-6.12.1/net/netfilter/
Dxt_TEE.c65 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()
Dxt_RATEEST.c65 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-6.12.1/fs/lockd/
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()
Dsvc.c110 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-6.12.1/net/smc/
Dsmc_pnet.c112 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-6.12.1/net/sunrpc/
Dsunrpc_syms.c36 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()
Dsvcauth_unix.c332 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()
Dstats.c293 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()
/linux-6.12.1/net/kcm/
Dkcmproc.c21 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-6.12.1/net/handshake/
Dnetlink.c175 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-6.12.1/net/bridge/
Dbr_netfilter_hooks.c93 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()
460 struct brnf_net *brnet = net_generic(net, brnf_net_id); in brnf_get_logical_dev()
521 brnet = net_generic(state->net, brnf_net_id); in br_nf_pre_routing()
764 brnet = net_generic(state->net, brnf_net_id); in br_nf_forward_arp()
1132 brnet = net_generic(net, brnf_net_id); in brnf_device_event()
1274 brnet = net_generic(net, brnf_net_id); in br_netfilter_sysctl_init_net()
[all …]
/linux-6.12.1/net/ipv6/
Dip6_vti.c94 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-6.12.1/net/rds/
Dtcp.c512 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()

123456