Searched refs:sock (Results 1 – 5 of 5) sorted by relevance
/crypto/ |
D | algif_skcipher.c | 37 static int skcipher_sendmsg(struct socket *sock, struct msghdr *msg, in skcipher_sendmsg() argument 40 struct sock *sk = sock->sk; in skcipher_sendmsg() 42 struct sock *psk = ask->parent; in skcipher_sendmsg() 47 return af_alg_sendmsg(sock, msg, size, ivsize); in skcipher_sendmsg() 50 static int _skcipher_recvmsg(struct socket *sock, struct msghdr *msg, in _skcipher_recvmsg() argument 53 struct sock *sk = sock->sk; in _skcipher_recvmsg() 55 struct sock *psk = ask->parent; in _skcipher_recvmsg() 153 static int skcipher_recvmsg(struct socket *sock, struct msghdr *msg, in skcipher_recvmsg() argument 156 struct sock *sk = sock->sk; in skcipher_recvmsg() 161 int err = _skcipher_recvmsg(sock, msg, ignored, flags); in skcipher_recvmsg() [all …]
|
D | algif_hash.c | 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() [all …]
|
D | algif_aead.c | 44 static inline bool aead_sufficient_data(struct sock *sk) in aead_sufficient_data() 47 struct sock *psk = ask->parent; in aead_sufficient_data() 61 static int aead_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in aead_sendmsg() argument 63 struct sock *sk = sock->sk; in aead_sendmsg() 65 struct sock *psk = ask->parent; in aead_sendmsg() 71 return af_alg_sendmsg(sock, msg, size, ivsize); in aead_sendmsg() 88 static int _aead_recvmsg(struct socket *sock, struct msghdr *msg, in _aead_recvmsg() argument 91 struct sock *sk = sock->sk; in _aead_recvmsg() 93 struct sock *psk = ask->parent; in _aead_recvmsg() 322 static int aead_recvmsg(struct socket *sock, struct msghdr *msg, in aead_recvmsg() argument [all …]
|
D | af_alg.c | 118 int af_alg_release(struct socket *sock) in af_alg_release() argument 120 if (sock->sk) { in af_alg_release() 121 sock_put(sock->sk); in af_alg_release() 122 sock->sk = NULL; in af_alg_release() 128 void af_alg_release_parent(struct sock *sk) in af_alg_release_parent() 150 static int alg_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in alg_bind() argument 153 struct sock *sk = sock->sk; in alg_bind() 160 if (sock->state == SS_CONNECTED) in alg_bind() 206 static int alg_setkey(struct sock *sk, char __user *ukey, in alg_setkey() 230 static int alg_setsockopt(struct socket *sock, int level, int optname, in alg_setsockopt() argument [all …]
|
D | algif_rng.c | 58 static int rng_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in rng_recvmsg() argument 61 struct sock *sk = sock->sk; in rng_recvmsg() 126 static void rng_sock_destruct(struct sock *sk) in rng_sock_destruct() 135 static int rng_accept_parent(void *private, struct sock *sk) in rng_accept_parent()
|