Lines Matching refs:unix_sk

215 #define unix_peer(sk) (unix_sk(sk)->peer)
320 smp_store_release(&unix_sk(sk)->addr, addr); in __unix_set_addr_hash()
365 struct unix_sock *u = unix_sk(s); in __unix_find_socket_byname()
395 struct dentry *dentry = unix_sk(s)->path.dentry; in unix_find_socket_byinode()
440 __remove_wait_queue(&unix_sk(u->peer_wake.private)->peer_wait, in unix_dgram_peer_wake_relay()
457 u = unix_sk(sk); in unix_dgram_peer_wake_connect()
458 u_other = unix_sk(other); in unix_dgram_peer_wake_connect()
478 u = unix_sk(sk); in unix_dgram_peer_wake_disconnect()
479 u_other = unix_sk(other); in unix_dgram_peer_wake_disconnect()
553 wake_up_interruptible_all(&unix_sk(sk)->peer_wait); in unix_dgram_disconnected()
569 struct unix_sock *u = unix_sk(sk); in unix_sock_destructor()
594 struct unix_sock *u = unix_sk(sk); in unix_release_sock()
719 struct unix_sock *u = unix_sk(sk); in unix_listen()
778 struct unix_sock *u = unix_sk(sk); in unix_set_peek_off()
799 u = unix_sk(skb->sk); in unix_count_nr_fds()
817 u = unix_sk(sk); in unix_show_fdinfo()
974 u = unix_sk(sk); in unix_create1()
1104 dentry = unix_sk(sk)->path.dentry; in unix_find_abstract()
1106 touch_atime(&unix_sk(sk)->path); in unix_find_abstract()
1128 struct unix_sock *u = unix_sk(sk); in unix_autobind()
1192 struct unix_sock *u = unix_sk(sk); in unix_bind_bsd()
1261 struct unix_sock *u = unix_sk(sk); in unix_bind_abstract()
1365 !unix_sk(sk)->addr) { in unix_dgram_connect()
1435 __releases(&unix_sk(other)->lock) in unix_wait_for_peer()
1437 struct unix_sock *u = unix_sk(other); in unix_wait_for_peer()
1461 struct unix_sock *u = unix_sk(sk), *newu, *otheru; in unix_stream_connect()
1587 newu = unix_sk(newsk); in unix_stream_connect()
1589 otheru = unix_sk(other); in unix_stream_connect()
1708 wake_up_interruptible(&unix_sk(sk)->peer_wait); in unix_accept()
1741 addr = smp_load_acquire(&unix_sk(sk)->addr); in unix_getname()
1872 struct unix_sock *u = unix_sk(sk); in scm_stat_add()
1881 struct unix_sock *u = unix_sk(sk); in scm_stat_del()
1896 struct unix_sock *u = unix_sk(sk); in unix_dgram_sendmsg()
2111 struct unix_sock *ousk = unix_sk(other); in queue_oob()
2295 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2305 err = mutex_lock_interruptible(&unix_sk(other)->iolock); in unix_stream_sendpage()
2372 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2381 mutex_unlock(&unix_sk(other)->iolock); in unix_stream_sendpage()
2423 struct unix_address *addr = smp_load_acquire(&unix_sk(sk)->addr); in unix_copy_addr()
2436 struct unix_sock *u = unix_sk(sk); in __unix_dgram_recvmsg()
2554 struct unix_sock *u = unix_sk(sk); in unix_read_skb()
2632 struct unix_sock *u = unix_sk(sk); in unix_stream_recv_urg()
2671 struct unix_sock *u = unix_sk(sk); in manage_oob()
2711 struct unix_sock *u = unix_sk(sk); in unix_stream_read_generic()
3084 if (!smp_load_acquire(&unix_sk(sk)->addr)) in unix_open_file()
3087 path = unix_sk(sk)->path; in unix_open_file()
3139 if (skb && skb == READ_ONCE(unix_sk(sk)->oob_skb)) in unix_ioctl()
3181 if (READ_ONCE(unix_sk(sk)->oob_skb)) in unix_poll()
3356 struct unix_sock *u = unix_sk(s); in unix_seq_show()
3413 __bpf_md_ptr(struct unix_sock *, unix_sk);
3418 struct unix_sock *unix_sk, uid_t uid) in unix_prog_seq_show() argument
3424 ctx.unix_sk = unix_sk; in unix_prog_seq_show()
3665 struct unix_sock *unix_sk, uid_t uid) in DEFINE_BPF_ITER_FUNC() argument
3720 { offsetof(struct bpf_iter__unix, unix_sk),