Lines Matching refs:page_base
89 int page_base; in rpcrdma_convert_iovs() local
100 ppages = xdrbuf->pages + (xdrbuf->page_base >> PAGE_SHIFT); in rpcrdma_convert_iovs()
101 page_base = xdrbuf->page_base & ~PAGE_MASK; in rpcrdma_convert_iovs()
111 seg[n].mr_offset = (void *)(unsigned long) page_base; in rpcrdma_convert_iovs()
112 seg[n].mr_len = min_t(u32, PAGE_SIZE - page_base, len); in rpcrdma_convert_iovs()
118 page_base = 0; /* page offset only applies to first page */ in rpcrdma_convert_iovs()
310 int page_base; in rpcrdma_inline_pullup() local
342 page_base = rqst->rq_snd_buf.page_base; in rpcrdma_inline_pullup()
343 ppages = rqst->rq_snd_buf.pages + (page_base >> PAGE_SHIFT); in rpcrdma_inline_pullup()
344 page_base &= ~PAGE_MASK; in rpcrdma_inline_pullup()
345 npages = PAGE_ALIGN(page_base+copy_len) >> PAGE_SHIFT; in rpcrdma_inline_pullup()
347 curlen = PAGE_SIZE - page_base; in rpcrdma_inline_pullup()
353 memcpy(destp, srcp+page_base, curlen); in rpcrdma_inline_pullup()
358 page_base = 0; in rpcrdma_inline_pullup()
616 int page_base; in rpcrdma_inline_fixup() local
635 page_base = rqst->rq_rcv_buf.page_base; in rpcrdma_inline_fixup()
636 ppages = rqst->rq_rcv_buf.pages + (page_base >> PAGE_SHIFT); in rpcrdma_inline_fixup()
637 page_base &= ~PAGE_MASK; in rpcrdma_inline_fixup()
640 npages = PAGE_ALIGN(page_base + in rpcrdma_inline_fixup()
643 curlen = PAGE_SIZE - page_base; in rpcrdma_inline_fixup()
650 memcpy(destp + page_base, srcp, curlen); in rpcrdma_inline_fixup()
657 page_base = 0; in rpcrdma_inline_fixup()