Searched refs:sock_kmalloc (Results 1 – 15 of 15) sorted by relevance
/linux/crypto/ |
H A D | algif_skcipher.c | 69 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 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()
|
H A 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() 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 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()
|
H A D | algif_rng.c | 247 ctx = sock_kmalloc(sk, len, GFP_KERNEL); in rng_accept_parent()
|
/linux/net/ipv6/ |
H A D | exthdrs.c | 1207 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 D | mcast.c | 192 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 D | ipv6_sockglue.c | 853 opt = sock_kmalloc(sk, sizeof(*opt) + optlen, GFP_KERNEL); in do_ipv6_setsockopt()
|
/linux/net/ |
H A D | compat.c | 176 kcmsg_base = kcmsg = sock_kmalloc(sk, kcmlen, GFP_KERNEL); in cmsghdr_from_user_compat_to_kern()
|
H A D | socket.c | 2545 ctl_buf = sock_kmalloc(sock->sk, ctl_len, GFP_KERNEL); in ____sys_sendmsg()
|
/linux/net/ipv4/ |
H A D | tcp_ao.c | 249 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 D | tcp_ipv4.c | 1390 key = sock_kmalloc(sk, sizeof(*key), gfp | __GFP_ZERO);
|
/linux/net/core/ |
H A D | sock.c | 2804 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 D | sock.h | 1808 void *sock_kmalloc(struct sock *sk, int size, gfp_t priority);
|
/linux/net/mptcp/ |
H A D | protocol.c | 3288 newopt = sock_kmalloc(newsk, sizeof(*inet_opt) + in mptcp_copy_ip_options()
|