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()
615 struct unix_sock *u = unix_sk(sk); in unix_listen()
672 struct unix_sock *u = unix_sk(sk); in unix_set_peek_off()
690 u = unix_sk(sock->sk); in unix_show_fdinfo()
797 u = unix_sk(sk); in unix_create1()
869 struct unix_sock *u = unix_sk(sk); in unix_autobind()
965 dentry = unix_sk(u)->path.dentry; in unix_find_other()
967 touch_atime(&unix_sk(u)->path); in unix_find_other()
1013 struct unix_sock *u = unix_sk(sk); in unix_bind()
1146 !unix_sk(sk)->addr && (err = unix_autobind(sock)) != 0) in unix_dgram_connect()
1206 __releases(&unix_sk(other)->lock) in unix_wait_for_peer()
1208 struct unix_sock *u = unix_sk(other); in unix_wait_for_peer()
1233 struct unix_sock *u = unix_sk(sk), *newu, *otheru; in unix_stream_connect()
1354 newu = unix_sk(newsk); in unix_stream_connect()
1356 otheru = unix_sk(other); in unix_stream_connect()
1476 wake_up_interruptible(&unix_sk(sk)->peer_wait); in unix_accept()
1509 addr = smp_load_acquire(&unix_sk(sk)->addr); in unix_getname()
1595 struct unix_sock *u = unix_sk(sk); in scm_stat_add()
1604 struct unix_sock *u = unix_sk(sk); in scm_stat_del()
1619 struct unix_sock *u = unix_sk(sk); in unix_dgram_sendmsg()
1942 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
1952 err = mutex_lock_interruptible(&unix_sk(other)->iolock); in unix_stream_sendpage()
2019 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2028 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2070 struct unix_address *addr = smp_load_acquire(&unix_sk(sk)->addr); in unix_copy_addr()
2083 struct unix_sock *u = unix_sk(sk); in unix_dgram_recvmsg()
2250 struct unix_sock *u = unix_sk(sk); in unix_stream_read_generic()
2584 if (!smp_load_acquire(&unix_sk(sk)->addr)) in unix_open_file()
2587 path = unix_sk(sk)->path; in unix_open_file()
2825 struct unix_sock *u = unix_sk(s); in unix_seq_show()