Lines Matching refs:unix_sk
214 #define unix_peer(sk) (unix_sk(sk)->peer)
319 smp_store_release(&unix_sk(sk)->addr, addr); in __unix_set_addr_hash()
364 struct unix_sock *u = unix_sk(s); in __unix_find_socket_byname()
394 struct dentry *dentry = unix_sk(s)->path.dentry; in unix_find_socket_byinode()
439 __remove_wait_queue(&unix_sk(u->peer_wake.private)->peer_wait, in unix_dgram_peer_wake_relay()
456 u = unix_sk(sk); in unix_dgram_peer_wake_connect()
457 u_other = unix_sk(other); in unix_dgram_peer_wake_connect()
477 u = unix_sk(sk); in unix_dgram_peer_wake_disconnect()
478 u_other = unix_sk(other); in unix_dgram_peer_wake_disconnect()
552 wake_up_interruptible_all(&unix_sk(sk)->peer_wait); in unix_dgram_disconnected()
568 struct unix_sock *u = unix_sk(sk); in unix_sock_destructor()
593 struct unix_sock *u = unix_sk(sk); in unix_release_sock()
718 struct unix_sock *u = unix_sk(sk); in unix_listen()
777 struct unix_sock *u = unix_sk(sk); in unix_set_peek_off()
798 u = unix_sk(skb->sk); in unix_count_nr_fds()
814 u = unix_sk(sk); in unix_show_fdinfo()
973 u = unix_sk(sk); in unix_create1()
1103 dentry = unix_sk(sk)->path.dentry; in unix_find_abstract()
1105 touch_atime(&unix_sk(sk)->path); in unix_find_abstract()
1127 struct unix_sock *u = unix_sk(sk); in unix_autobind()
1191 struct unix_sock *u = unix_sk(sk); in unix_bind_bsd()
1260 struct unix_sock *u = unix_sk(sk); in unix_bind_abstract()
1364 !unix_sk(sk)->addr) { in unix_dgram_connect()
1434 __releases(&unix_sk(other)->lock) in unix_wait_for_peer()
1436 struct unix_sock *u = unix_sk(other); in unix_wait_for_peer()
1460 struct unix_sock *u = unix_sk(sk), *newu, *otheru; in unix_stream_connect()
1586 newu = unix_sk(newsk); in unix_stream_connect()
1588 otheru = unix_sk(other); in unix_stream_connect()
1707 wake_up_interruptible(&unix_sk(sk)->peer_wait); in unix_accept()
1740 addr = smp_load_acquire(&unix_sk(sk)->addr); in unix_getname()
1871 struct unix_sock *u = unix_sk(sk); in scm_stat_add()
1880 struct unix_sock *u = unix_sk(sk); in scm_stat_del()
1895 struct unix_sock *u = unix_sk(sk); in unix_dgram_sendmsg()
2102 struct unix_sock *ousk = unix_sk(other); in queue_oob()
2281 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2291 err = mutex_lock_interruptible(&unix_sk(other)->iolock); in unix_stream_sendpage()
2358 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2367 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2409 struct unix_address *addr = smp_load_acquire(&unix_sk(sk)->addr); in unix_copy_addr()
2422 struct unix_sock *u = unix_sk(sk); in __unix_dgram_recvmsg()
2540 struct unix_sock *u = unix_sk(sk); in unix_read_skb()
2618 struct unix_sock *u = unix_sk(sk); in unix_stream_recv_urg()
2657 struct unix_sock *u = unix_sk(sk); in manage_oob()
2697 struct unix_sock *u = unix_sk(sk); in unix_stream_read_generic()
3070 if (!smp_load_acquire(&unix_sk(sk)->addr)) in unix_open_file()
3073 path = unix_sk(sk)->path; in unix_open_file()
3125 if (skb && skb == READ_ONCE(unix_sk(sk)->oob_skb)) in unix_ioctl()
3167 if (READ_ONCE(unix_sk(sk)->oob_skb)) in unix_poll()
3342 struct unix_sock *u = unix_sk(s); in unix_seq_show()
3399 __bpf_md_ptr(struct unix_sock *, unix_sk);
3404 struct unix_sock *unix_sk, uid_t uid) in unix_prog_seq_show() argument
3410 ctx.unix_sk = unix_sk; in unix_prog_seq_show()
3651 struct unix_sock *unix_sk, uid_t uid) in DEFINE_BPF_ITER_FUNC() argument
3706 { offsetof(struct bpf_iter__unix, unix_sk),