• Home
  • Raw
  • Download

Lines Matching refs:sock

32 static int hash_alloc_result(struct sock *sk, struct hash_ctx *ctx)  in hash_alloc_result()
50 static void hash_free_result(struct sock *sk, struct hash_ctx *ctx) in hash_free_result()
63 static int hash_sendmsg(struct socket *sock, struct msghdr *msg, in hash_sendmsg() argument
67 struct sock *sk = sock->sk; in hash_sendmsg()
131 static ssize_t hash_sendpage(struct socket *sock, struct page *page, in hash_sendpage() argument
134 struct sock *sk = sock->sk; in hash_sendpage()
183 static int hash_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in hash_recvmsg() argument
186 struct sock *sk = sock->sk; in hash_recvmsg()
230 static int hash_accept(struct socket *sock, struct socket *newsock, int flags, in hash_accept() argument
233 struct sock *sk = sock->sk; in hash_accept()
238 struct sock *sk2; in hash_accept()
294 static int hash_check_key(struct socket *sock) in hash_check_key() argument
297 struct sock *psk; in hash_check_key()
300 struct sock *sk = sock->sk; in hash_check_key()
332 static int hash_sendmsg_nokey(struct socket *sock, struct msghdr *msg, in hash_sendmsg_nokey() argument
337 err = hash_check_key(sock); in hash_sendmsg_nokey()
341 return hash_sendmsg(sock, msg, size); in hash_sendmsg_nokey()
344 static ssize_t hash_sendpage_nokey(struct socket *sock, struct page *page, in hash_sendpage_nokey() argument
349 err = hash_check_key(sock); in hash_sendpage_nokey()
353 return hash_sendpage(sock, page, offset, size, flags); in hash_sendpage_nokey()
356 static int hash_recvmsg_nokey(struct socket *sock, struct msghdr *msg, in hash_recvmsg_nokey() argument
361 err = hash_check_key(sock); in hash_recvmsg_nokey()
365 return hash_recvmsg(sock, msg, ignored, flags); in hash_recvmsg_nokey()
368 static int hash_accept_nokey(struct socket *sock, struct socket *newsock, in hash_accept_nokey() argument
373 err = hash_check_key(sock); in hash_accept_nokey()
377 return hash_accept(sock, newsock, flags, kern); in hash_accept_nokey()
416 static void hash_sock_destruct(struct sock *sk) in hash_sock_destruct()
426 static int hash_accept_parent_nokey(void *private, struct sock *sk) in hash_accept_parent_nokey()
453 static int hash_accept_parent(void *private, struct sock *sk) in hash_accept_parent()