Lines Matching refs:nlk_sk
354 &nlk_sk(sk)->state)) { in netlink_overrun()
364 struct netlink_sock *nlk = nlk_sk(sk); in netlink_rcv_wake()
405 WARN_ON(nlk_sk(sk)->groups); in netlink_sock_destruct()
507 netlink_compare_arg_init(&arg, sock_net(sk), nlk_sk(sk)->portid); in __netlink_insert()
509 &nlk_sk(sk)->node, in __netlink_insert()
544 if (i < NLGRPLONGS(nlk_sk(sk)->ngroups)) in netlink_update_listeners()
545 mask |= nlk_sk(sk)->groups[i]; in netlink_update_listeners()
560 err = nlk_sk(sk)->portid == portid ? 0 : -EBUSY; in netlink_insert()
561 if (nlk_sk(sk)->bound) in netlink_insert()
565 WRITE_ONCE(nlk_sk(sk)->portid, portid); in netlink_insert()
587 WRITE_ONCE(nlk_sk(sk)->bound, portid); in netlink_insert()
599 if (!rhashtable_remove_fast(&table->hash, &nlk_sk(sk)->node, in netlink_remove()
606 if (nlk_sk(sk)->subscriptions) { in netlink_remove()
636 nlk = nlk_sk(sk); in __netlink_create()
697 nlk = nlk_sk(sock->sk); in netlink_create()
734 nlk = nlk_sk(sk); in netlink_release()
929 struct netlink_sock *nlk = nlk_sk(sk); in netlink_update_subscriptions()
940 struct netlink_sock *nlk = nlk_sk(sk); in netlink_realloc_groups()
974 struct netlink_sock *nlk = nlk_sk(sk); in netlink_undo_bind()
990 struct netlink_sock *nlk = nlk_sk(sk); in netlink_bind()
1078 struct netlink_sock *nlk = nlk_sk(sk); in netlink_connect()
1124 struct netlink_sock *nlk = nlk_sk(sk); in netlink_getname()
1162 nlk = nlk_sk(sock); in netlink_getsockbyportid()
1165 READ_ONCE(nlk->dst_portid) != nlk_sk(ssk)->portid) { in netlink_getsockbyportid()
1228 nlk = nlk_sk(sk); in netlink_attachskb()
1315 struct netlink_sock *nlk = nlk_sk(sk); in netlink_unicast_kernel()
1395 struct netlink_sock *nlk = nlk_sk(sk); in netlink_broadcast_deliver()
1424 struct netlink_sock *nlk = nlk_sk(sk); in do_one_broadcast()
1571 struct netlink_sock *nlk = nlk_sk(sk); in do_one_set_err()
1646 struct netlink_sock *nlk = nlk_sk(sk); in netlink_setsockopt()
1722 struct netlink_sock *nlk = nlk_sk(sk); in netlink_getsockopt()
1812 struct netlink_sock *nlk = nlk_sk(sk); in netlink_sendmsg()
1903 struct netlink_sock *nlk = nlk_sk(sk); in netlink_recvmsg()
2032 nlk_sk(sk)->netlink_rcv = cfg->input; in __netlink_kernel_create()
2037 nlk = nlk_sk(sk); in __netlink_kernel_create()
2134 netlink_update_socket_mc(nlk_sk(sk), group, 0); in __netlink_clear_multicast_users()
2185 struct netlink_sock *nlk = nlk_sk(sk); in netlink_dump()
2327 nlk = nlk_sk(sk); in __netlink_dump_start()
2457 struct netlink_sock *nlk = nlk_sk(NETLINK_CB(in_skb).sk); in netlink_ack()
2688 struct netlink_sock *nlk = nlk_sk(s); in netlink_native_seq_show()
2723 ctx.sk = nlk_sk((struct sock *)v); in DEFINE_BPF_ITER_FUNC()