Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/
Dsocket.c173 static const struct net_proto_family __rcu *net_families[NPROTO] __read_mostly; variable
1396 if (rcu_access_pointer(net_families[family]) == NULL) in __sock_create()
1401 pf = rcu_dereference(net_families[family]); in __sock_create()
2984 if (rcu_dereference_protected(net_families[ops->family], in sock_register()
2988 rcu_assign_pointer(net_families[ops->family], ops); in sock_register()
3016 RCU_INIT_POINTER(net_families[family], NULL); in sock_unregister()
3027 return family < NPROTO && rcu_access_pointer(net_families[family]); in sock_is_registered()