• Home
  • Raw
  • Download

Lines Matching refs:nlk_sk

85 	return nlk_sk(sk)->flags & NETLINK_F_KERNEL_SOCKET;  in netlink_is_kernel()
350 struct netlink_sock *nlk = nlk_sk(sk); in netlink_overrun()
354 &nlk_sk(sk)->state)) { in netlink_overrun()
364 struct netlink_sock *nlk = nlk_sk(sk); in netlink_rcv_wake()
396 struct netlink_sock *nlk = nlk_sk(sk); in netlink_sock_destruct()
414 WARN_ON(nlk_sk(sk)->groups); in netlink_sock_destruct()
524 netlink_compare_arg_init(&arg, sock_net(sk), nlk_sk(sk)->portid); in __netlink_insert()
526 &nlk_sk(sk)->node, in __netlink_insert()
561 if (i < NLGRPLONGS(nlk_sk(sk)->ngroups)) in netlink_update_listeners()
562 mask |= nlk_sk(sk)->groups[i]; in netlink_update_listeners()
577 err = nlk_sk(sk)->portid == portid ? 0 : -EBUSY; in netlink_insert()
578 if (nlk_sk(sk)->bound) in netlink_insert()
582 WRITE_ONCE(nlk_sk(sk)->portid, portid); in netlink_insert()
604 WRITE_ONCE(nlk_sk(sk)->bound, portid); in netlink_insert()
616 if (!rhashtable_remove_fast(&table->hash, &nlk_sk(sk)->node, in netlink_remove()
623 if (nlk_sk(sk)->subscriptions) { in netlink_remove()
653 nlk = nlk_sk(sk); in __netlink_create()
718 nlk = nlk_sk(sock->sk); in netlink_create()
760 nlk = nlk_sk(sk); in netlink_release()
936 struct netlink_sock *nlk = nlk_sk(sk); in netlink_update_subscriptions()
947 struct netlink_sock *nlk = nlk_sk(sk); in netlink_realloc_groups()
981 struct netlink_sock *nlk = nlk_sk(sk); in netlink_undo_bind()
997 struct netlink_sock *nlk = nlk_sk(sk); in netlink_bind()
1085 struct netlink_sock *nlk = nlk_sk(sk); in netlink_connect()
1131 struct netlink_sock *nlk = nlk_sk(sk); in netlink_getname()
1169 nlk = nlk_sk(sock); in netlink_getsockbyportid()
1172 READ_ONCE(nlk->dst_portid) != nlk_sk(ssk)->portid) { in netlink_getsockbyportid()
1235 nlk = nlk_sk(sk); in netlink_attachskb()
1322 struct netlink_sock *nlk = nlk_sk(sk); in netlink_unicast_kernel()
1396 const struct netlink_sock *nlk = nlk_sk(NETLINK_CB(skb).sk); in netlink_strict_get_check()
1404 struct netlink_sock *nlk = nlk_sk(sk); in netlink_broadcast_deliver()
1433 struct netlink_sock *nlk = nlk_sk(sk); in do_one_broadcast()
1576 struct netlink_sock *nlk = nlk_sk(sk); in do_one_set_err()
1654 struct netlink_sock *nlk = nlk_sk(sk); in netlink_setsockopt()
1755 struct netlink_sock *nlk = nlk_sk(sk); in netlink_getsockopt()
1845 struct netlink_sock *nlk = nlk_sk(sk); in netlink_sendmsg()
1936 struct netlink_sock *nlk = nlk_sk(sk); in netlink_recvmsg()
2065 nlk_sk(sk)->netlink_rcv = cfg->input; in __netlink_kernel_create()
2070 nlk = nlk_sk(sk); in __netlink_kernel_create()
2167 netlink_update_socket_mc(nlk_sk(sk), group, 0); in __netlink_clear_multicast_users()
2218 struct netlink_sock *nlk = nlk_sk(sk); in netlink_dump()
2347 nlk = nlk_sk(sk); in __netlink_dump_start()
2370 nlk2 = nlk_sk(NETLINK_CB(skb).sk); in __netlink_dump_start()
2415 struct netlink_sock *nlk = nlk_sk(NETLINK_CB(in_skb).sk); in netlink_ack()
2656 struct netlink_sock *nlk = nlk_sk(s); in netlink_native_seq_show()
2691 ctx.sk = nlk_sk((struct sock *)v); in DEFINE_BPF_ITER_FUNC()