Home
last modified time | relevance | path

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

/net/xfrm/
Dxfrm_ipcomp.c45 u8 *scratch = *per_cpu_ptr(ipcomp_scratches, cpu); in ipcomp_decompress() local
47 int err = crypto_comp_decompress(tfm, start, plen, scratch, &dlen); in ipcomp_decompress()
65 skb_copy_to_linear_data(skb, scratch, len); in ipcomp_decompress()
67 while ((scratch += len, dlen -= len) > 0) { in ipcomp_decompress()
90 memcpy(skb_frag_address(frag), scratch, len); in ipcomp_decompress()
141 u8 *scratch; in ipcomp_compress() local
145 scratch = *this_cpu_ptr(ipcomp_scratches); in ipcomp_compress()
147 err = crypto_comp_compress(tfm, start, plen, scratch, &dlen); in ipcomp_compress()
156 memcpy(start + sizeof(struct ip_comp_hdr), scratch, dlen); in ipcomp_compress()
233 void *scratch; in ipcomp_alloc_scratches() local
[all …]
/net/sunrpc/
Dxdr.c564 int shift = xdr->scratch.iov_len; in xdr_commit_encode()
570 memcpy(xdr->scratch.iov_base, page, shift); in xdr_commit_encode()
572 xdr->scratch.iov_len = 0; in xdr_commit_encode()
602 xdr->scratch.iov_base = xdr->p; in xdr_get_next_encode_buffer()
603 xdr->scratch.iov_len = frag1bytes; in xdr_get_next_encode_buffer()
865 xdr->scratch.iov_base = NULL; in xdr_init_decode()
866 xdr->scratch.iov_len = 0; in xdr_init_decode()
927 xdr->scratch.iov_base = buf; in xdr_set_scratch_buffer()
928 xdr->scratch.iov_len = buflen; in xdr_set_scratch_buffer()
935 char *cpdest = xdr->scratch.iov_base; in xdr_copy_to_scratch()
[all …]
/net/sunrpc/auth_gss/
Dgss_rpc_xdr.c798 struct page *scratch; in gssx_dec_accept_sec_context() local
800 scratch = alloc_page(GFP_KERNEL); in gssx_dec_accept_sec_context()
801 if (!scratch) in gssx_dec_accept_sec_context()
803 xdr_set_scratch_buffer(xdr, page_address(scratch), PAGE_SIZE); in gssx_dec_accept_sec_context()
848 __free_page(scratch); in gssx_dec_accept_sec_context()
/net/ipv4/
Dudp.c1333 struct udp_dev_scratch *scratch = udp_skb_scratch(skb); in udp_set_dev_scratch() local
1336 scratch->_tsize_state = skb->truesize; in udp_set_dev_scratch()
1338 scratch->len = skb->len; in udp_set_dev_scratch()
1339 scratch->csum_unnecessary = !!skb_csum_unnecessary(skb); in udp_set_dev_scratch()
1340 scratch->is_linear = !skb_is_nonlinear(skb); in udp_set_dev_scratch()
1343 scratch->_tsize_state |= UDP_SKB_IS_STATELESS; in udp_set_dev_scratch()
Dtcp.c3759 void *scratch = per_cpu(tcp_md5sig_pool, cpu).scratch; in __tcp_alloc_md5sig_pool() local
3762 if (!scratch) { in __tcp_alloc_md5sig_pool()
3763 scratch = kmalloc_node(sizeof(union tcp_md5sum_block) + in __tcp_alloc_md5sig_pool()
3767 if (!scratch) in __tcp_alloc_md5sig_pool()
3769 per_cpu(tcp_md5sig_pool, cpu).scratch = scratch; in __tcp_alloc_md5sig_pool()
Dtcp_ipv4.c1203 bp = hp->scratch; in tcp_v4_md5_hash_headers()
/net/ipv6/
Dtcp_ipv6.c620 bp = hp->scratch; in tcp_v6_md5_hash_headers()