Lines Matching refs:bvec
219 static void svc_flush_bvec(const struct bio_vec *bvec, size_t size, size_t seek) in svc_flush_bvec() argument
226 bvec_iter_advance(bvec, &bi, seek & PAGE_MASK); in svc_flush_bvec()
227 for_each_bvec(bv, bvec, bi, bi) in svc_flush_bvec()
231 static inline void svc_flush_bvec(const struct bio_vec *bvec, size_t size, in svc_flush_bvec() argument
247 struct bio_vec *bvec = rqstp->rq_bvec; in svc_tcp_read_msg() local
256 bvec[i].bv_page = rqstp->rq_pages[i]; in svc_tcp_read_msg()
257 bvec[i].bv_len = PAGE_SIZE; in svc_tcp_read_msg()
258 bvec[i].bv_offset = 0; in svc_tcp_read_msg()
263 iov_iter_bvec(&msg.msg_iter, READ, bvec, i, buflen); in svc_tcp_read_msg()
270 svc_flush_bvec(bvec, len, seek); in svc_tcp_read_msg()
1111 struct bio_vec *bvec; in svc_tcp_sendmsg() local
1113 bvec = xdr->bvec + (xdr->page_base >> PAGE_SHIFT); in svc_tcp_sendmsg()
1117 len = min(remaining, bvec->bv_len - offset); in svc_tcp_sendmsg()
1118 ret = kernel_sendpage(sock, bvec->bv_page, in svc_tcp_sendmsg()
1119 bvec->bv_offset + offset, in svc_tcp_sendmsg()
1128 bvec++; in svc_tcp_sendmsg()