Lines Matching refs:unix_sk
136 #define UNIX_ABSTRACT(sk) (unix_sk(sk)->addr->hash < UNIX_HASH_SIZE)
180 #define unix_peer(sk) (unix_sk(sk)->peer)
286 struct unix_sock *u = unix_sk(s); in __unix_find_socket_byname()
320 struct dentry *dentry = unix_sk(s)->path.dentry; in unix_find_socket_byinode()
366 __remove_wait_queue(&unix_sk(u->peer_wake.private)->peer_wait, in unix_dgram_peer_wake_relay()
383 u = unix_sk(sk); in unix_dgram_peer_wake_connect()
384 u_other = unix_sk(other); in unix_dgram_peer_wake_connect()
404 u = unix_sk(sk); in unix_dgram_peer_wake_disconnect()
405 u_other = unix_sk(other); in unix_dgram_peer_wake_disconnect()
479 wake_up_interruptible_all(&unix_sk(sk)->peer_wait); in unix_dgram_disconnected()
494 struct unix_sock *u = unix_sk(sk); in unix_sock_destructor()
521 struct unix_sock *u = unix_sk(sk); in unix_release_sock()
638 struct unix_sock *u = unix_sk(sk); in unix_listen()
695 struct unix_sock *u = unix_sk(sk); in unix_set_peek_off()
713 u = unix_sk(sock->sk); in unix_show_fdinfo()
820 u = unix_sk(sk); in unix_create1()
892 struct unix_sock *u = unix_sk(sk); in unix_autobind()
988 dentry = unix_sk(u)->path.dentry; in unix_find_other()
990 touch_atime(&unix_sk(u)->path); in unix_find_other()
1036 struct unix_sock *u = unix_sk(sk); in unix_bind()
1169 !unix_sk(sk)->addr && (err = unix_autobind(sock)) != 0) in unix_dgram_connect()
1229 __releases(&unix_sk(other)->lock) in unix_wait_for_peer()
1231 struct unix_sock *u = unix_sk(other); in unix_wait_for_peer()
1256 struct unix_sock *u = unix_sk(sk), *newu, *otheru; in unix_stream_connect()
1377 newu = unix_sk(newsk); in unix_stream_connect()
1379 otheru = unix_sk(other); in unix_stream_connect()
1499 wake_up_interruptible(&unix_sk(sk)->peer_wait); in unix_accept()
1532 addr = smp_load_acquire(&unix_sk(sk)->addr); in unix_getname()
1665 struct unix_sock *u = unix_sk(sk); in scm_stat_add()
1674 struct unix_sock *u = unix_sk(sk); in scm_stat_del()
1689 struct unix_sock *u = unix_sk(sk); in unix_dgram_sendmsg()
2012 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2022 err = mutex_lock_interruptible(&unix_sk(other)->iolock); in unix_stream_sendpage()
2089 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2098 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2140 struct unix_address *addr = smp_load_acquire(&unix_sk(sk)->addr); in unix_copy_addr()
2153 struct unix_sock *u = unix_sk(sk); in unix_dgram_recvmsg()
2320 struct unix_sock *u = unix_sk(sk); in unix_stream_read_generic()
2654 if (!smp_load_acquire(&unix_sk(sk)->addr)) in unix_open_file()
2657 path = unix_sk(sk)->path; in unix_open_file()
2895 struct unix_sock *u = unix_sk(s); in unix_seq_show()