Home
last modified time | relevance | path

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

/linux-6.1.9/crypto/
Dalgif_skcipher.c95 areq->tsgl = sock_kmalloc(sk, array_size(sizeof(*areq->tsgl), in _skcipher_recvmsg()
329 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in skcipher_accept_parent_nokey()
334 ctx->iv = sock_kmalloc(sk, crypto_skcipher_ivsize(tfm), in skcipher_accept_parent_nokey()
Dalgif_aead.c254 areq->tsgl = sock_kmalloc(sk, array_size(sizeof(*areq->tsgl), in _aead_recvmsg()
544 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in aead_accept_parent_nokey()
549 ctx->iv = sock_kmalloc(sk, ivlen, GFP_KERNEL); in aead_accept_parent_nokey()
Dalgif_hash.c41 ctx->result = sock_kmalloc(sk, ds, GFP_KERNEL); in hash_alloc_result()
427 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in hash_accept_parent_nokey()
Daf_alg.c209 key = sock_kmalloc(sk, keylen, GFP_KERNEL); in alg_setkey()
506 sgl = sock_kmalloc(sk, in af_alg_alloc_tsgl()
1120 struct af_alg_async_req *areq = sock_kmalloc(sk, areqlen, GFP_KERNEL); in af_alg_alloc_areq()
1171 rsgl = sock_kmalloc(sk, sizeof(*rsgl), GFP_KERNEL); in af_alg_get_rsgl()
Dalgif_rng.c249 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in rng_accept_parent()
/linux-6.1.9/net/mptcp/
Dpm_userspace.c60 e = sock_kmalloc(sk, sizeof(*e), GFP_ATOMIC); in mptcp_userspace_pm_append_new_local_addr()
/linux-6.1.9/net/ipv6/
Danycast.c86 pac = sock_kmalloc(sk, sizeof(struct ipv6_ac_socklist), GFP_KERNEL); in ipv6_sock_ac_join()
Dexthdrs.c1237 opt2 = sock_kmalloc(sk, opt->tot_len, GFP_ATOMIC); in ipv6_dup_options()
1318 opt2 = sock_kmalloc(sk, tot_len, GFP_ATOMIC); in ipv6_renew_options()
Dmcast.c189 mc_lst = sock_kmalloc(sk, sizeof(struct ipv6_mc_socklist), GFP_KERNEL); in __ipv6_sock_mc_join()
450 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, count), in ip6_mc_source()
530 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, in ip6_mc_msfilter()
Dipv6_sockglue.c718 opt = sock_kmalloc(sk, sizeof(*opt) + optlen, GFP_KERNEL); in do_ipv6_setsockopt()
/linux-6.1.9/net/
Dcompat.c175 kcmsg_base = kcmsg = sock_kmalloc(sk, kcmlen, GFP_KERNEL); in cmsghdr_from_user_compat_to_kern()
Dsocket.c2455 ctl_buf = sock_kmalloc(sock->sk, ctl_len, GFP_KERNEL); in ____sys_sendmsg()
/linux-6.1.9/net/ipv4/
Digmp.c2204 iml = sock_kmalloc(sk, sizeof(*iml), GFP_KERNEL); in __ip_mc_join_group()
2399 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, count), in ip_mc_source()
2488 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, in ip_mc_msfilter()
Dtcp_ipv4.c1206 key = sock_kmalloc(sk, sizeof(*key), gfp | __GFP_ZERO); in tcp_md5_do_add()
/linux-6.1.9/net/sctp/
Dprotocol.c186 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in sctp_v4_copy_ip_options()
/linux-6.1.9/net/core/
Dsock.c2609 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority) in sock_kmalloc() function
2627 EXPORT_SYMBOL(sock_kmalloc);
/linux-6.1.9/include/net/
Dsock.h1887 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority);