Home
last modified time | relevance | path

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

/linux-6.6.21/crypto/
Dalgif_skcipher.c95 areq->tsgl = sock_kmalloc(sk, array_size(sizeof(*areq->tsgl), in _skcipher_recvmsg()
315 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in skcipher_accept_parent_nokey()
320 ctx->iv = sock_kmalloc(sk, crypto_skcipher_ivsize(tfm), in skcipher_accept_parent_nokey()
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()
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()
616 sgl = sock_kmalloc(sk, in af_alg_alloc_tsgl()
1202 areq = sock_kmalloc(sk, areqlen, GFP_KERNEL); in af_alg_alloc_areq()
1255 rsgl = sock_kmalloc(sk, sizeof(*rsgl), GFP_KERNEL); in af_alg_get_rsgl()
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()
Dalgif_rng.c247 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in rng_accept_parent()
/linux-6.6.21/net/ipv6/
Dexthdrs.c1209 opt2 = sock_kmalloc(sk, opt->tot_len, GFP_ATOMIC); in ipv6_dup_options()
1290 opt2 = sock_kmalloc(sk, tot_len, GFP_ATOMIC); in ipv6_renew_options()
Danycast.c86 pac = sock_kmalloc(sk, sizeof(struct ipv6_ac_socklist), GFP_KERNEL); in ipv6_sock_ac_join()
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.c706 opt = sock_kmalloc(sk, sizeof(*opt) + optlen, GFP_KERNEL); in do_ipv6_setsockopt()
/linux-6.6.21/net/
Dcompat.c176 kcmsg_base = kcmsg = sock_kmalloc(sk, kcmlen, GFP_KERNEL); in cmsghdr_from_user_compat_to_kern()
Dsocket.c2532 ctl_buf = sock_kmalloc(sock->sk, ctl_len, GFP_KERNEL); in ____sys_sendmsg()
/linux-6.6.21/net/mptcp/
Dpm_userspace.c61 e = sock_kmalloc(sk, sizeof(*e), GFP_ATOMIC); in mptcp_userspace_pm_append_new_local_addr()
Dprotocol.c3222 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in mptcp_copy_ip_options()
/linux-6.6.21/net/ipv4/
Digmp.c2207 iml = sock_kmalloc(sk, sizeof(*iml), GFP_KERNEL); in __ip_mc_join_group()
2402 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, count), in ip_mc_source()
2491 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, in ip_mc_msfilter()
Dtcp_ipv4.c1219 key = sock_kmalloc(sk, sizeof(*key), gfp | __GFP_ZERO); in __tcp_md5_do_add()
/linux-6.6.21/net/sctp/
Dprotocol.c186 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in sctp_v4_copy_ip_options()
/linux-6.6.21/net/core/
Dsock.c2693 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority) in sock_kmalloc() function
2711 EXPORT_SYMBOL(sock_kmalloc);
/linux-6.6.21/include/net/
Dsock.h1886 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority);