Searched refs:scratch (Results 1 – 7 of 7) sorted by relevance
/net/xfrm/ |
D | xfrm_ipcomp.c | 45 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() 232 void *scratch; in ipcomp_alloc_scratches() local [all …]
|
/net/sunrpc/ |
D | xdr.c | 564 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() 861 xdr->scratch.iov_base = NULL; in xdr_init_decode() 862 xdr->scratch.iov_len = 0; in xdr_init_decode() 923 xdr->scratch.iov_base = buf; in xdr_set_scratch_buffer() 924 xdr->scratch.iov_len = buflen; in xdr_set_scratch_buffer() 931 char *cpdest = xdr->scratch.iov_base; in xdr_copy_to_scratch() [all …]
|
/net/sunrpc/auth_gss/ |
D | gss_rpc_xdr.c | 787 struct page *scratch; in gssx_dec_accept_sec_context() local 789 scratch = alloc_page(GFP_KERNEL); in gssx_dec_accept_sec_context() 790 if (!scratch) in gssx_dec_accept_sec_context() 792 xdr_set_scratch_buffer(xdr, page_address(scratch), PAGE_SIZE); in gssx_dec_accept_sec_context() 837 __free_page(scratch); in gssx_dec_accept_sec_context()
|
/net/ipv4/ |
D | udp.c | 1323 struct udp_dev_scratch *scratch = udp_skb_scratch(skb); in udp_set_dev_scratch() local 1326 scratch->_tsize_state = skb->truesize; in udp_set_dev_scratch() 1328 scratch->len = skb->len; in udp_set_dev_scratch() 1329 scratch->csum_unnecessary = !!skb_csum_unnecessary(skb); in udp_set_dev_scratch() 1330 scratch->is_linear = !skb_is_nonlinear(skb); in udp_set_dev_scratch() 1333 scratch->_tsize_state |= UDP_SKB_IS_STATELESS; in udp_set_dev_scratch()
|
D | tcp.c | 3718 void *scratch = per_cpu(tcp_md5sig_pool, cpu).scratch; in __tcp_alloc_md5sig_pool() local 3721 if (!scratch) { in __tcp_alloc_md5sig_pool() 3722 scratch = kmalloc_node(sizeof(union tcp_md5sum_block) + in __tcp_alloc_md5sig_pool() 3726 if (!scratch) in __tcp_alloc_md5sig_pool() 3728 per_cpu(tcp_md5sig_pool, cpu).scratch = scratch; in __tcp_alloc_md5sig_pool()
|
D | tcp_ipv4.c | 1192 bp = hp->scratch; in tcp_v4_md5_hash_headers()
|
/net/ipv6/ |
D | tcp_ipv6.c | 602 bp = hp->scratch; in tcp_v6_md5_hash_headers()
|