Lines Matching defs:sk
138 #define UNIX_ABSTRACT(sk) (unix_sk(sk)->addr->hash < UNIX_HASH_SIZE) argument
182 #define unix_peer(sk) (unix_sk(sk)->peer) argument
184 static inline int unix_our_peer(struct sock *sk, struct sock *osk) in unix_our_peer()
189 static inline int unix_may_send(struct sock *sk, struct sock *osk) in unix_may_send()
194 static inline int unix_recvq_full(struct sock const *sk) in unix_recvq_full()
248 static void __unix_remove_socket(struct sock *sk) in __unix_remove_socket()
253 static void __unix_insert_socket(struct hlist_head *list, struct sock *sk) in __unix_insert_socket()
259 static inline void unix_remove_socket(struct sock *sk) in unix_remove_socket()
266 static inline void unix_insert_socket(struct hlist_head *list, struct sock *sk) in unix_insert_socket()
374 static int unix_dgram_peer_wake_connect(struct sock *sk, struct sock *other) in unix_dgram_peer_wake_connect()
395 static void unix_dgram_peer_wake_disconnect(struct sock *sk, in unix_dgram_peer_wake_disconnect()
412 static void unix_dgram_peer_wake_disconnect_wakeup(struct sock *sk, in unix_dgram_peer_wake_disconnect_wakeup()
426 static int unix_dgram_peer_wake_me(struct sock *sk, struct sock *other) in unix_dgram_peer_wake_me()
441 static int unix_writable(const struct sock *sk) in unix_writable()
447 static void unix_write_space(struct sock *sk) in unix_write_space()
466 static void unix_dgram_disconnected(struct sock *sk, struct sock *other) in unix_dgram_disconnected()
483 static void unix_sock_destructor(struct sock *sk) in unix_sock_destructor()
510 static void unix_release_sock(struct sock *sk, int embrion) in unix_release_sock()
584 static void init_peercred(struct sock *sk) in init_peercred()
593 static void copy_peercred(struct sock *sk, struct sock *peersk) in copy_peercred()
605 struct sock *sk = sock->sk; in unix_listen() local
660 static int unix_set_peek_off(struct sock *sk, int val) in unix_set_peek_off()
757 struct sock *sk = NULL; in unix_create1() local
829 struct sock *sk = sock->sk; in unix_release() local
842 struct sock *sk = sock->sk; in unix_autobind() local
975 struct sock *sk = sock->sk; in unix_bind() local
1112 struct sock *sk = sock->sk; in unix_dgram_connect() local
1210 struct sock *sk = sock->sk; in unix_stream_connect() local
1413 struct sock *sk = sock->sk; in unix_accept() local
1457 struct sock *sk = sock->sk; in unix_getname() local
1543 struct sock *sk = unix_get_socket(scm->fp->fp[i]); in unix_attach_fds() local
1644 struct sock *sk = sock->sk; in unix_dgram_sendmsg() local
1854 struct sock *sk = sock->sk; in unix_stream_sendmsg() local
1961 struct sock *other, *sk = socket->sk; in unix_stream_sendpage() local
2074 struct sock *sk = sock->sk; in unix_seqpacket_sendmsg() local
2092 struct sock *sk = sock->sk; in unix_seqpacket_recvmsg() local
2100 static void unix_copy_addr(struct msghdr *msg, struct sock *sk) in unix_copy_addr()
2114 struct sock *sk = sock->sk; in unix_dgram_recvmsg() local
2209 static long unix_stream_data_wait(struct sock *sk, long timeo, in unix_stream_data_wait()
2265 struct sock *sk = sock->sk; in unix_stream_read_generic() local
2485 static ssize_t skb_unix_socket_splice(struct sock *sk, in skb_unix_socket_splice()
2533 struct sock *sk = sock->sk; in unix_shutdown() local
2577 long unix_inq_len(struct sock *sk) in unix_inq_len()
2601 long unix_outq_len(struct sock *sk) in unix_outq_len()
2609 struct sock *sk = sock->sk; in unix_ioctl() local
2634 struct sock *sk = sock->sk; in unix_poll() local
2670 struct sock *sk = sock->sk, *other; in unix_dgram_poll() local
2736 struct sock *sk; in unix_from_bucket() local
2750 struct sock *sk, in unix_next_socket()