Lines Matching refs:unix_sk
194 if (a->sk_state == TCP_LISTEN && unix_sk(b)->listener == a) in unix_recvq_lock_cmp_fn()
198 if (b->sk_state == TCP_LISTEN && unix_sk(a)->listener == b) in unix_recvq_lock_cmp_fn()
398 smp_store_release(&unix_sk(sk)->addr, addr); in __unix_set_addr_hash()
443 struct unix_sock *u = unix_sk(s); in __unix_find_socket_byname()
473 struct dentry *dentry = unix_sk(s)->path.dentry; in unix_find_socket_byinode()
518 __remove_wait_queue(&unix_sk(u->peer_wake.private)->peer_wait, in unix_dgram_peer_wake_relay()
535 u = unix_sk(sk); in unix_dgram_peer_wake_connect()
536 u_other = unix_sk(other); in unix_dgram_peer_wake_connect()
556 u = unix_sk(sk); in unix_dgram_peer_wake_disconnect()
557 u_other = unix_sk(other); in unix_dgram_peer_wake_disconnect()
631 wake_up_interruptible_all(&unix_sk(sk)->peer_wait); in unix_dgram_disconnected()
646 struct unix_sock *u = unix_sk(sk); in unix_sock_destructor()
671 struct unix_sock *u = unix_sk(sk); in unix_release_sock()
772 lockdep_assert_held(&unix_sk(peersk)->lock); in copy_peercred()
784 struct unix_sock *u = unix_sk(sk); in unix_listen()
850 u = unix_sk(skb->sk); in unix_count_nr_fds()
868 u = unix_sk(sk); in unix_show_fdinfo()
1040 u = unix_sk(sk); in unix_create1()
1171 dentry = unix_sk(sk)->path.dentry; in unix_find_abstract()
1173 touch_atime(&unix_sk(sk)->path); in unix_find_abstract()
1194 struct unix_sock *u = unix_sk(sk); in unix_autobind()
1259 struct unix_sock *u = unix_sk(sk); in unix_bind_bsd()
1326 struct unix_sock *u = unix_sk(sk); in unix_bind_abstract()
1436 !READ_ONCE(unix_sk(sk)->addr)) { in unix_dgram_connect()
1514 __releases(&unix_sk(other)->lock) in unix_wait_for_peer()
1516 struct unix_sock *u = unix_sk(other); in unix_wait_for_peer()
1540 struct unix_sock *u = unix_sk(sk), *newu, *otheru; in unix_stream_connect()
1653 newu = unix_sk(newsk); in unix_stream_connect()
1656 otheru = unix_sk(other); in unix_stream_connect()
1776 wake_up_interruptible(&unix_sk(sk)->peer_wait); in unix_accept()
1780 unix_update_edges(unix_sk(tsk)); in unix_accept()
1810 addr = smp_load_acquire(&unix_sk(sk)->addr); in unix_getname()
1941 struct unix_sock *u = unix_sk(sk); in scm_stat_add()
1952 struct unix_sock *u = unix_sk(sk); in scm_stat_del()
1969 struct unix_sock *u = unix_sk(sk); in unix_dgram_sendmsg()
2194 struct unix_sock *ousk = unix_sk(other); in queue_oob()
2407 struct unix_address *addr = smp_load_acquire(&unix_sk(sk)->addr); in unix_copy_addr()
2420 struct unix_sock *u = unix_sk(sk); in __unix_dgram_recvmsg()
2543 struct unix_sock *u = unix_sk(sk); in unix_read_skb()
2618 struct unix_sock *u = unix_sk(sk); in unix_stream_recv_urg()
2659 struct unix_sock *u = unix_sk(sk); in manage_oob()
2710 struct unix_sock *u = unix_sk(sk); in unix_stream_read_skb()
2760 struct unix_sock *u = unix_sk(sk); in unix_stream_read_generic()
3120 if (!smp_load_acquire(&unix_sk(sk)->addr)) in unix_open_file()
3123 path = unix_sk(sk)->path; in unix_open_file()
3171 struct unix_sock *u = unix_sk(sk); in unix_ioctl()
3236 if (READ_ONCE(unix_sk(sk)->oob_skb)) in unix_poll()
3411 struct unix_sock *u = unix_sk(s); in unix_seq_show()
3468 __bpf_md_ptr(struct unix_sock *, unix_sk);
3473 struct unix_sock *unix_sk, uid_t uid) in unix_prog_seq_show() argument
3479 ctx.unix_sk = unix_sk; in unix_prog_seq_show()
3721 struct unix_sock *unix_sk, uid_t uid) in DEFINE_BPF_ITER_FUNC() argument
3776 { offsetof(struct bpf_iter__unix, unix_sk),