Home
last modified time | relevance | path

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

/lib/
Dkobject_uevent.c40 struct sock *sk; member
318 struct sock *uevent_sock = ue_sk->sk; in uevent_net_broadcast_untagged()
411 ret = uevent_net_broadcast_tagged(net->uevent_sock->sk, env, in kobject_uevent_net_broadcast()
738 net = sock_net(NETLINK_CB(skb).sk); in uevent_net_rcv_skb()
745 ret = uevent_net_broadcast(net->uevent_sock->sk, skb, extack); in uevent_net_rcv_skb()
769 ue_sk->sk = netlink_kernel_create(net, NETLINK_KOBJECT_UEVENT, &cfg); in uevent_net_init()
770 if (!ue_sk->sk) { in uevent_net_init()
779 if (sock_net(ue_sk->sk)->user_ns == &init_user_ns) { in uevent_net_init()
792 if (sock_net(ue_sk->sk)->user_ns == &init_user_ns) { in uevent_net_exit()
798 netlink_kernel_release(ue_sk->sk); in uevent_net_exit()
Dkobject.c1095 const void *kobj_ns_netlink(enum kobj_ns_type type, struct sock *sk) in kobj_ns_netlink() argument
1102 ns = kobj_ns_ops_tbl[type]->netlink_ns(sk); in kobj_ns_netlink()