Lines Matching refs:page_base
150 int page_base; in rpcrdma_convert_iovs() local
161 ppages = xdrbuf->pages + (xdrbuf->page_base >> PAGE_SHIFT); in rpcrdma_convert_iovs()
162 page_base = xdrbuf->page_base & ~PAGE_MASK; in rpcrdma_convert_iovs()
172 seg[n].mr_offset = (void *)(unsigned long) page_base; in rpcrdma_convert_iovs()
173 seg[n].mr_len = min_t(u32, PAGE_SIZE - page_base, len); in rpcrdma_convert_iovs()
179 page_base = 0; /* page offset only applies to first page */ in rpcrdma_convert_iovs()
371 int page_base; in rpcrdma_inline_pullup() local
396 page_base = rqst->rq_snd_buf.page_base; in rpcrdma_inline_pullup()
397 ppages = rqst->rq_snd_buf.pages + (page_base >> PAGE_SHIFT); in rpcrdma_inline_pullup()
398 page_base &= ~PAGE_MASK; in rpcrdma_inline_pullup()
399 npages = PAGE_ALIGN(page_base+copy_len) >> PAGE_SHIFT; in rpcrdma_inline_pullup()
401 curlen = PAGE_SIZE - page_base; in rpcrdma_inline_pullup()
407 memcpy(destp, srcp+page_base, curlen); in rpcrdma_inline_pullup()
412 page_base = 0; in rpcrdma_inline_pullup()
623 int page_base; in rpcrdma_inline_fixup() local
642 page_base = rqst->rq_rcv_buf.page_base; in rpcrdma_inline_fixup()
643 ppages = rqst->rq_rcv_buf.pages + (page_base >> PAGE_SHIFT); in rpcrdma_inline_fixup()
644 page_base &= ~PAGE_MASK; in rpcrdma_inline_fixup()
647 npages = PAGE_ALIGN(page_base + in rpcrdma_inline_fixup()
650 curlen = PAGE_SIZE - page_base; in rpcrdma_inline_fixup()
657 memcpy(destp + page_base, srcp, curlen); in rpcrdma_inline_fixup()
664 page_base = 0; in rpcrdma_inline_fixup()