Home
last modified time | relevance | path

Searched refs:sock_kmalloc (Results 1 – 15 of 15) sorted by relevance

/linux/crypto/
H A Dalgif_skcipher.c69 ctx->state = sock_kmalloc(sk, statesize, GFP_ATOMIC); in algif_skcipher_export()
144 areq->tsgl = sock_kmalloc(sk, array_size(sizeof(*areq->tsgl), in _skcipher_recvmsg()
381 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in skcipher_accept_parent_nokey()
386 ctx->iv = sock_kmalloc(sk, crypto_skcipher_ivsize(tfm), in skcipher_accept_parent_nokey()
H A Dalgif_aead.c256 areq->tsgl = sock_kmalloc(sk, array_size(sizeof(*areq->tsgl), in _aead_recvmsg()
532 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in aead_accept_parent_nokey()
537 ctx->iv = sock_kmalloc(sk, ivlen, GFP_KERNEL); in aead_accept_parent_nokey()
H A Daf_alg.c215 key = sock_kmalloc(sk, keylen, GFP_KERNEL); in alg_setkey()
327 key_data = sock_kmalloc(&ask->sk, key_datalen, GFP_KERNEL); in alg_setkey_by_key_serial()
617 sgl = sock_kmalloc(sk, in af_alg_alloc_tsgl()
1203 areq = sock_kmalloc(sk, areqlen, GFP_KERNEL); in af_alg_alloc_areq()
1256 rsgl = sock_kmalloc(sk, sizeof(*rsgl), GFP_KERNEL); in af_alg_get_rsgl()
H A Dalgif_hash.c41 ctx->result = sock_kmalloc(sk, ds, GFP_KERNEL); in hash_alloc_result()
419 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in hash_accept_parent_nokey()
H A Dalgif_rng.c247 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in rng_accept_parent()
/linux/net/ipv6/
H A Dexthdrs.c1207 opt2 = sock_kmalloc(sk, opt->tot_len, GFP_ATOMIC); in ipv6_dup_options()
1288 opt2 = sock_kmalloc(sk, tot_len, GFP_ATOMIC); in ipv6_renew_options()
H A Dmcast.c192 mc_lst = sock_kmalloc(sk, sizeof(struct ipv6_mc_socklist), GFP_KERNEL); in __ipv6_sock_mc_join()
453 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, count), in ip6_mc_source()
533 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, in ip6_mc_msfilter()
H A Dipv6_sockglue.c853 opt = sock_kmalloc(sk, sizeof(*opt) + optlen, GFP_KERNEL); in do_ipv6_setsockopt()
/linux/net/
H A Dcompat.c176 kcmsg_base = kcmsg = sock_kmalloc(sk, kcmlen, GFP_KERNEL); in cmsghdr_from_user_compat_to_kern()
H A Dsocket.c2545 ctl_buf = sock_kmalloc(sock->sk, ctl_len, GFP_KERNEL); in ____sys_sendmsg()
/linux/net/ipv4/
H A Dtcp_ao.c249 new_key = sock_kmalloc(sk, tcp_ao_sizeof_key(key), in tcp_ao_copy_key()
1581 key = sock_kmalloc(sk, size, GFP_KERNEL); in tcp_ao_key_alloc()
H A Dtcp_ipv4.c1390 key = sock_kmalloc(sk, sizeof(*key), gfp | __GFP_ZERO);
/linux/net/core/
H A Dsock.c2804 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority) in sock_kmalloc() function
2822 EXPORT_SYMBOL(sock_kmalloc);
/linux/include/net/
H A Dsock.h1808 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority);
/linux/net/mptcp/
H A Dprotocol.c3288 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in mptcp_copy_ip_options()