Searched refs:sock_kmalloc (Results 1 – 18 of 18) sorted by relevance
/linux-6.6.21/crypto/ |
D | algif_skcipher.c | 95 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()
|
D | algif_aead.c | 256 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()
|
D | af_alg.c | 215 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()
|
D | algif_hash.c | 41 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()
|
D | algif_rng.c | 247 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in rng_accept_parent()
|
/linux-6.6.21/net/ipv6/ |
D | exthdrs.c | 1209 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()
|
D | anycast.c | 86 pac = sock_kmalloc(sk, sizeof(struct ipv6_ac_socklist), GFP_KERNEL); in ipv6_sock_ac_join()
|
D | mcast.c | 189 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()
|
D | ipv6_sockglue.c | 706 opt = sock_kmalloc(sk, sizeof(*opt) + optlen, GFP_KERNEL); in do_ipv6_setsockopt()
|
/linux-6.6.21/net/ |
D | compat.c | 176 kcmsg_base = kcmsg = sock_kmalloc(sk, kcmlen, GFP_KERNEL); in cmsghdr_from_user_compat_to_kern()
|
D | socket.c | 2532 ctl_buf = sock_kmalloc(sock->sk, ctl_len, GFP_KERNEL); in ____sys_sendmsg()
|
/linux-6.6.21/net/mptcp/ |
D | pm_userspace.c | 61 e = sock_kmalloc(sk, sizeof(*e), GFP_ATOMIC); in mptcp_userspace_pm_append_new_local_addr()
|
D | protocol.c | 3222 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in mptcp_copy_ip_options()
|
/linux-6.6.21/net/ipv4/ |
D | igmp.c | 2207 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()
|
D | tcp_ipv4.c | 1219 key = sock_kmalloc(sk, sizeof(*key), gfp | __GFP_ZERO); in __tcp_md5_do_add()
|
/linux-6.6.21/net/sctp/ |
D | protocol.c | 186 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in sctp_v4_copy_ip_options()
|
/linux-6.6.21/net/core/ |
D | sock.c | 2693 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/ |
D | sock.h | 1886 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority);
|