Lines Matching defs:sk

138 #define UNIX_ABSTRACT(sk)	(unix_sk(sk)->addr->hash < UNIX_HASH_SIZE)  argument
172 #define unix_peer(sk) (unix_sk(sk)->peer) argument
174 static inline int unix_our_peer(struct sock *sk, struct sock *osk) in unix_our_peer()
179 static inline int unix_may_send(struct sock *sk, struct sock *osk) in unix_may_send()
184 static inline int unix_recvq_full(struct sock const *sk) in unix_recvq_full()
238 static void __unix_remove_socket(struct sock *sk) in __unix_remove_socket()
243 static void __unix_insert_socket(struct hlist_head *list, struct sock *sk) in __unix_insert_socket()
249 static inline void unix_remove_socket(struct sock *sk) in unix_remove_socket()
256 static inline void unix_insert_socket(struct hlist_head *list, struct sock *sk) in unix_insert_socket()
364 static int unix_dgram_peer_wake_connect(struct sock *sk, struct sock *other) in unix_dgram_peer_wake_connect()
385 static void unix_dgram_peer_wake_disconnect(struct sock *sk, in unix_dgram_peer_wake_disconnect()
402 static void unix_dgram_peer_wake_disconnect_wakeup(struct sock *sk, in unix_dgram_peer_wake_disconnect_wakeup()
416 static int unix_dgram_peer_wake_me(struct sock *sk, struct sock *other) in unix_dgram_peer_wake_me()
431 static inline int unix_writable(struct sock *sk) in unix_writable()
436 static void unix_write_space(struct sock *sk) in unix_write_space()
455 static void unix_dgram_disconnected(struct sock *sk, struct sock *other) in unix_dgram_disconnected()
472 static void unix_sock_destructor(struct sock *sk) in unix_sock_destructor()
499 static void unix_release_sock(struct sock *sk, int embrion) in unix_release_sock()
572 static void init_peercred(struct sock *sk) in init_peercred()
581 static void copy_peercred(struct sock *sk, struct sock *peersk) in copy_peercred()
593 struct sock *sk = sock->sk; in unix_listen() local
643 static int unix_set_peek_off(struct sock *sk, int val) in unix_set_peek_off()
739 struct sock *sk = NULL; in unix_create1() local
811 struct sock *sk = sock->sk; in unix_release() local
824 struct sock *sk = sock->sk; in unix_autobind() local
969 struct sock *sk = sock->sk; in unix_bind() local
1080 struct sock *sk = sock->sk; in unix_dgram_connect() local
1178 struct sock *sk = sock->sk; in unix_stream_connect() local
1381 struct sock *sk = sock->sk; in unix_accept() local
1425 struct sock *sk = sock->sk; in unix_getname() local
1511 struct sock *sk = unix_get_socket(scm->fp->fp[i]); in unix_attach_fds() local
1576 struct sock *sk = sock->sk; in unix_dgram_sendmsg() local
1787 struct sock *sk = sock->sk; in unix_stream_sendmsg() local
1891 struct sock *sk = sock->sk; in unix_seqpacket_sendmsg() local
1909 struct sock *sk = sock->sk; in unix_seqpacket_recvmsg() local
1917 static void unix_copy_addr(struct msghdr *msg, struct sock *sk) in unix_copy_addr()
1931 struct sock *sk = sock->sk; in unix_dgram_recvmsg() local
2026 static long unix_stream_data_wait(struct sock *sk, long timeo, in unix_stream_data_wait()
2068 struct sock *sk = sock->sk; in unix_stream_recvmsg() local
2235 struct sock *sk = sock->sk; in unix_shutdown() local
2279 long unix_inq_len(struct sock *sk) in unix_inq_len()
2303 long unix_outq_len(struct sock *sk) in unix_outq_len()
2311 struct sock *sk = sock->sk; in unix_ioctl() local
2336 struct sock *sk = sock->sk; in unix_poll() local
2372 struct sock *sk = sock->sk, *other; in unix_dgram_poll() local
2438 struct sock *sk; in unix_from_bucket() local
2452 struct sock *sk, in unix_next_socket()