Home
last modified time | relevance | path

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

/Linux-v5.10/net/
Dsocket.c173 static const struct net_proto_family __rcu *net_families[NPROTO] __read_mostly; variable
1407 if (rcu_access_pointer(net_families[family]) == NULL) in __sock_create()
1412 pf = rcu_dereference(net_families[family]); in __sock_create()
2995 if (rcu_dereference_protected(net_families[ops->family], in sock_register()
2999 rcu_assign_pointer(net_families[ops->family], ops); in sock_register()
3027 RCU_INIT_POINTER(net_families[family], NULL); in sock_unregister()
3038 return family < NPROTO && rcu_access_pointer(net_families[family]); in sock_is_registered()