Lines Matching refs:sock

42 static int hash_sendmsg(struct socket *sock, struct msghdr *msg,  in hash_sendmsg()  argument
46 struct sock *sk = sock->sk; in hash_sendmsg()
104 static ssize_t hash_sendpage(struct socket *sock, struct page *page, in hash_sendpage() argument
107 struct sock *sk = sock->sk; in hash_sendpage()
149 static int hash_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in hash_recvmsg() argument
152 struct sock *sk = sock->sk; in hash_recvmsg()
181 static int hash_accept(struct socket *sock, struct socket *newsock, int flags) in hash_accept() argument
183 struct sock *sk = sock->sk; in hash_accept()
188 struct sock *sk2; in hash_accept()
237 static int hash_check_key(struct socket *sock) in hash_check_key() argument
240 struct sock *psk; in hash_check_key()
243 struct sock *sk = sock->sk; in hash_check_key()
275 static int hash_sendmsg_nokey(struct socket *sock, struct msghdr *msg, in hash_sendmsg_nokey() argument
280 err = hash_check_key(sock); in hash_sendmsg_nokey()
284 return hash_sendmsg(sock, msg, size); in hash_sendmsg_nokey()
287 static ssize_t hash_sendpage_nokey(struct socket *sock, struct page *page, in hash_sendpage_nokey() argument
292 err = hash_check_key(sock); in hash_sendpage_nokey()
296 return hash_sendpage(sock, page, offset, size, flags); in hash_sendpage_nokey()
299 static int hash_recvmsg_nokey(struct socket *sock, struct msghdr *msg, in hash_recvmsg_nokey() argument
304 err = hash_check_key(sock); in hash_recvmsg_nokey()
308 return hash_recvmsg(sock, msg, ignored, flags); in hash_recvmsg_nokey()
311 static int hash_accept_nokey(struct socket *sock, struct socket *newsock, in hash_accept_nokey() argument
316 err = hash_check_key(sock); in hash_accept_nokey()
320 return hash_accept(sock, newsock, flags); in hash_accept_nokey()
384 static void hash_sock_destruct(struct sock *sk) in hash_sock_destruct()
395 static int hash_accept_parent_nokey(void *private, struct sock *sk) in hash_accept_parent_nokey()
431 static int hash_accept_parent(void *private, struct sock *sk) in hash_accept_parent()