Searched refs:subbuf (Results 1 – 1 of 1) sorted by relevance
371 struct xdr_buf subbuf; in nfsd_cache_csum() local378 if (xdr_buf_subsegment(buf, &subbuf, start, remaining)) in nfsd_cache_csum()382 if (subbuf.head[0].iov_len) { in nfsd_cache_csum()383 len = min_t(unsigned int, subbuf.head[0].iov_len, remaining); in nfsd_cache_csum()384 csum = csum_partial(subbuf.head[0].iov_base, len, csum); in nfsd_cache_csum()389 idx = subbuf.page_base / PAGE_SIZE; in nfsd_cache_csum()390 base = subbuf.page_base & ~PAGE_MASK; in nfsd_cache_csum()392 p = page_address(subbuf.pages[idx]) + base; in nfsd_cache_csum()