Home
last modified time | relevance | path

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

/linux-6.1.9/net/
Dsocket.c224 static const struct net_proto_family __rcu *net_families[NPROTO] __read_mostly; variable
1495 if (rcu_access_pointer(net_families[family]) == NULL) in __sock_create()
1500 pf = rcu_dereference(net_families[family]); in __sock_create()
3114 if (rcu_dereference_protected(net_families[ops->family], in sock_register()
3118 rcu_assign_pointer(net_families[ops->family], ops); in sock_register()
3146 RCU_INIT_POINTER(net_families[family], NULL); in sock_unregister()
3157 return family < NPROTO && rcu_access_pointer(net_families[family]); in sock_is_registered()