Home
last modified time | relevance | path

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

/linux-6.6.21/net/
Dsocket.c228 static const struct net_proto_family __rcu *net_families[NPROTO] __read_mostly; variable
1551 if (rcu_access_pointer(net_families[family]) == NULL) in __sock_create()
1556 pf = rcu_dereference(net_families[family]); in __sock_create()
3192 if (rcu_dereference_protected(net_families[ops->family], in sock_register()
3196 rcu_assign_pointer(net_families[ops->family], ops); in sock_register()
3224 RCU_INIT_POINTER(net_families[family], NULL); in sock_unregister()
3235 return family < NPROTO && rcu_access_pointer(net_families[family]); in sock_is_registered()