Searched refs:bvec (Results 1 – 4 of 4) sorted by relevance
/net/sunrpc/ |
D | xdr.c | 147 if (n != 0 && buf->bvec == NULL) { in xdr_alloc_bvec() 148 buf->bvec = kmalloc_array(n, sizeof(buf->bvec[0]), gfp); in xdr_alloc_bvec() 149 if (!buf->bvec) in xdr_alloc_bvec() 152 buf->bvec[i].bv_page = buf->pages[i]; in xdr_alloc_bvec() 153 buf->bvec[i].bv_len = PAGE_SIZE; in xdr_alloc_bvec() 154 buf->bvec[i].bv_offset = 0; in xdr_alloc_bvec() 163 kfree(buf->bvec); in xdr_free_bvec() 164 buf->bvec = NULL; in xdr_free_bvec()
|
D | xprtsock.c | 337 buf->bvec[i].bv_page = buf->pages[i] = alloc_page(gfp); in xs_alloc_sparse_pages() 366 struct bio_vec *bvec, unsigned long nr, size_t count, in xs_read_bvec() argument 369 iov_iter_bvec(&msg->msg_iter, READ, bvec, nr, count); in xs_read_bvec() 383 xs_flush_bvec(const struct bio_vec *bvec, size_t count, size_t seek) in xs_flush_bvec() argument 390 bvec_iter_advance(bvec, &bi, seek & PAGE_MASK); in xs_flush_bvec() 391 for_each_bvec(bv, bvec, bi, bi) in xs_flush_bvec() 396 xs_flush_bvec(const struct bio_vec *bvec, size_t count, size_t seek) in xs_flush_bvec() argument 428 ret = xs_read_bvec(sock, msg, flags, buf->bvec, in xs_read_xdr_buf() 434 xs_flush_bvec(buf->bvec, ret, seek + buf->page_base); in xs_read_xdr_buf() 774 iov_iter_bvec(&msg->msg_iter, WRITE, xdr->bvec, in xs_send_pagedata()
|
D | xprt.c | 1770 req->rq_snd_buf.bvec = NULL; in xprt_request_init() 1771 req->rq_rcv_buf.bvec = NULL; in xprt_request_init()
|
/net/ceph/ |
D | messenger.c | 529 struct bio_vec bvec = { in ceph_tcp_recvpage() local 538 iov_iter_bvec(&msg.msg_iter, READ, &bvec, 1, length); in ceph_tcp_recvpage()
|