Home
last modified time | relevance | path

Searched refs:scratch (Results 1 – 12 of 12) sorted by relevance

/net/xfrm/
Dxfrm_ipcomp.c44 u8 *scratch = *this_cpu_ptr(ipcomp_scratches); in ipcomp_decompress() local
46 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); in ipcomp_decompress()
62 skb_copy_to_linear_data(skb, scratch, len); in ipcomp_decompress()
64 while ((scratch += len, dlen -= len) > 0) { in ipcomp_decompress()
85 memcpy(skb_frag_address(frag), scratch, len); in ipcomp_decompress()
132 u8 *scratch; in ipcomp_compress() local
136 scratch = *this_cpu_ptr(ipcomp_scratches); in ipcomp_compress()
138 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); in ipcomp_compress()
147 memcpy(start + sizeof(struct ip_comp_hdr), scratch, dlen); in ipcomp_compress()
224 void *scratch; in ipcomp_alloc_scratches() local
[all …]
/net/netfilter/
Dnft_set_pipapo.c412 struct nft_pipapo_scratch *scratch; in nft_pipapo_lookup() local
425 if (unlikely(!m || !*raw_cpu_ptr(m->scratch))) in nft_pipapo_lookup()
428 scratch = *raw_cpu_ptr(m->scratch); in nft_pipapo_lookup()
430 map_index = scratch->map_index; in nft_pipapo_lookup()
432 res_map = scratch->map + (map_index ? m->bsize_max : 0); in nft_pipapo_lookup()
433 fill_map = scratch->map + (map_index ? 0 : m->bsize_max); in nft_pipapo_lookup()
463 scratch->map_index = map_index; in nft_pipapo_lookup()
480 scratch->map_index = map_index; in nft_pipapo_lookup()
1114 s = *per_cpu_ptr(m->scratch, cpu);
1136 struct nft_pipapo_scratch *scratch; local
[all …]
Dnft_set_pipapo_avx2.c1122 struct nft_pipapo_scratch *scratch; in nft_pipapo_avx2_lookup() local
1144 scratch = *raw_cpu_ptr(m->scratch); in nft_pipapo_avx2_lookup()
1145 if (unlikely(!scratch)) { in nft_pipapo_avx2_lookup()
1150 map_index = scratch->map_index; in nft_pipapo_avx2_lookup()
1152 res = scratch->map + (map_index ? m->bsize_max : 0); in nft_pipapo_avx2_lookup()
1153 fill = scratch->map + (map_index ? 0 : m->bsize_max); in nft_pipapo_avx2_lookup()
1225 scratch->map_index = !map_index; in nft_pipapo_avx2_lookup()
Dnft_set_pipapo.h155 struct nft_pipapo_scratch * __percpu *scratch; member
/net/sunrpc/auth_gss/
Dgss_rpc_xdr.c786 struct page *scratch; in gssx_dec_accept_sec_context() local
788 scratch = alloc_page(GFP_KERNEL); in gssx_dec_accept_sec_context()
789 if (!scratch) in gssx_dec_accept_sec_context()
791 xdr_set_scratch_page(xdr, scratch); in gssx_dec_accept_sec_context()
836 __free_page(scratch); in gssx_dec_accept_sec_context()
/net/sunrpc/
Dxdr.c936 int shift = xdr->scratch.iov_len; in xdr_commit_encode()
942 memcpy(xdr->scratch.iov_base, page, shift); in xdr_commit_encode()
1351 char *cpdest = xdr->scratch.iov_base; in xdr_copy_to_scratch()
1354 if (nbytes > xdr->scratch.iov_len) in xdr_copy_to_scratch()
1368 return xdr->scratch.iov_base; in xdr_copy_to_scratch()
/net/ipv4/
Dudp.c1411 struct udp_dev_scratch *scratch = udp_skb_scratch(skb); in udp_set_dev_scratch() local
1414 scratch->_tsize_state = skb->truesize; in udp_set_dev_scratch()
1416 scratch->len = skb->len; in udp_set_dev_scratch()
1417 scratch->csum_unnecessary = !!skb_csum_unnecessary(skb); in udp_set_dev_scratch()
1418 scratch->is_linear = !skb_is_nonlinear(skb); in udp_set_dev_scratch()
1421 scratch->_tsize_state |= UDP_SKB_IS_STATELESS; in udp_set_dev_scratch()
Dtcp.c4319 void *scratch = per_cpu(tcp_md5sig_pool, cpu).scratch; in __tcp_alloc_md5sig_pool() local
4322 if (!scratch) { in __tcp_alloc_md5sig_pool()
4323 scratch = kmalloc_node(sizeof(union tcp_md5sum_block) + in __tcp_alloc_md5sig_pool()
4327 if (!scratch) in __tcp_alloc_md5sig_pool()
4329 per_cpu(tcp_md5sig_pool, cpu).scratch = scratch; in __tcp_alloc_md5sig_pool()
Dtcp_ipv4.c1312 bp = hp->scratch; in tcp_v4_md5_hash_headers()
/net/mac80211/
Dieee80211_i.h1623 u8 scratch[]; member
Dutil.c1485 elems->scratch_pos = elems->scratch; in ieee802_11_parse_elems_crc()
/net/ipv6/
Dtcp_ipv6.c677 bp = hp->scratch; in tcp_v6_md5_hash_headers()