Home
last modified time | relevance | path

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

/Linux-v4.19/crypto/
Dalgif_skcipher.c103 areq->tsgl = sock_kmalloc(sk, array_size(sizeof(*areq->tsgl), in _skcipher_recvmsg()
344 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in skcipher_accept_parent_nokey()
348 ctx->iv = sock_kmalloc(sk, crypto_skcipher_ivsize(tfm), in skcipher_accept_parent_nokey()
Dalgif_aead.c258 areq->tsgl = sock_kmalloc(sk, array_size(sizeof(*areq->tsgl), in _aead_recvmsg()
554 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in aead_accept_parent_nokey()
559 ctx->iv = sock_kmalloc(sk, ivlen, GFP_KERNEL); in aead_accept_parent_nokey()
Dalgif_rng.c141 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in rng_accept_parent()
Dalgif_hash.c46 ctx->result = sock_kmalloc(sk, ds, GFP_KERNEL); in hash_alloc_result()
438 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in hash_accept_parent_nokey()
Daf_alg.c215 key = sock_kmalloc(sk, keylen, GFP_KERNEL); in alg_setkey()
503 sgl = sock_kmalloc(sk, in af_alg_alloc_tsgl()
1097 struct af_alg_async_req *areq = sock_kmalloc(sk, areqlen, GFP_KERNEL); in af_alg_alloc_areq()
1148 rsgl = sock_kmalloc(sk, sizeof(*rsgl), GFP_KERNEL); in af_alg_get_rsgl()
/Linux-v4.19/net/ipv6/
Dexthdrs.c1000 opt2 = sock_kmalloc(sk, opt->tot_len, GFP_ATOMIC); in ipv6_dup_options()
1082 opt2 = sock_kmalloc(sk, tot_len, GFP_ATOMIC); in ipv6_renew_options()
Danycast.c76 pac = sock_kmalloc(sk, sizeof(struct ipv6_ac_socklist), GFP_KERNEL); in ipv6_sock_ac_join()
Dmcast.c161 mc_lst = sock_kmalloc(sk, sizeof(struct ipv6_mc_socklist), GFP_KERNEL); in __ipv6_sock_mc_join()
427 newpsl = sock_kmalloc(sk, IP6_SFLSIZE(count), GFP_ATOMIC); in ip6_mc_source()
509 newpsl = sock_kmalloc(sk, IP6_SFLSIZE(gsf->gf_numsrc), in ip6_mc_msfilter()
Dipv6_sockglue.c519 opt = sock_kmalloc(sk, sizeof(*opt) + optlen, GFP_KERNEL); in do_ipv6_setsockopt()
/Linux-v4.19/net/rds/
Drdma.c592 iovs = sock_kmalloc(rds_rs_to_sk(rs), iov_size, GFP_KERNEL); in rds_cmsg_rdma_args()
/Linux-v4.19/net/ipv4/
Digmp.c2176 iml = sock_kmalloc(sk, sizeof(*iml), GFP_KERNEL); in __ip_mc_join_group()
2371 newpsl = sock_kmalloc(sk, IP_SFLSIZE(count), GFP_KERNEL); in ip_mc_source()
2457 newpsl = sock_kmalloc(sk, IP_SFLSIZE(msf->imsf_numsrc), in ip_mc_msfilter()
Dtcp_ipv4.c1083 key = sock_kmalloc(sk, sizeof(*key), gfp); in tcp_md5_do_add()
/Linux-v4.19/net/
Dcompat.c159 kcmsg_base = kcmsg = sock_kmalloc(sk, kcmlen, GFP_KERNEL); in cmsghdr_from_user_compat_to_kern()
Dsocket.c2083 ctl_buf = sock_kmalloc(sock->sk, ctl_len, GFP_KERNEL); in ___sys_sendmsg()
/Linux-v4.19/net/core/
Dsock.c1974 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority) in sock_kmalloc() function
1990 EXPORT_SYMBOL(sock_kmalloc);
/Linux-v4.19/net/sctp/
Dprotocol.c201 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in sctp_v4_copy_ip_options()
/Linux-v4.19/include/net/
Dsock.h1592 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority);