Home
last modified time | relevance | path

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

/linux-6.12.1/net/
Dsocket.c227 static const struct net_proto_family __rcu *net_families[NPROTO] __read_mostly; variable
1556 if (rcu_access_pointer(net_families[family]) == NULL) in __sock_create()
1561 pf = rcu_dereference(net_families[family]); in __sock_create()
3239 if (rcu_dereference_protected(net_families[ops->family], in sock_register()
3243 rcu_assign_pointer(net_families[ops->family], ops); in sock_register()
3271 RCU_INIT_POINTER(net_families[family], NULL); in sock_unregister()
3282 return family < NPROTO && rcu_access_pointer(net_families[family]); in sock_is_registered()