Home
last modified time | relevance | path

Searched refs:bvecs (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/infiniband/core/
H A Drw.c205 u32 port_num, const struct bio_vec *bvecs, u32 nr_bvec, in rdma_rw_init_mr_wrs_bvec() argument
232 struct bio_vec bv = mp_bvec_iter_bvec(bvecs, *iter); in rdma_rw_init_mr_wrs_bvec()
239 bvec_iter_advance(bvecs, iter, bv.bv_len); in rdma_rw_init_mr_wrs_bvec()
370 struct ib_qp *qp, const struct bio_vec *bvecs, in rdma_rw_init_single_wr_bvec() argument
376 struct bio_vec bv = mp_bvec_iter_bvec(bvecs, *iter); in rdma_rw_init_single_wr_bvec()
404 const struct bio_vec *bvecs, u32 nr_bvec, struct bvec_iter *iter, in rdma_rw_init_map_wrs_bvec() argument
444 struct bio_vec bv = mp_bvec_iter_bvec(bvecs, *iter); in rdma_rw_init_map_wrs_bvec()
459 bvec_iter_advance_single(bvecs, iter, bv.bv_len); in rdma_rw_init_map_wrs_bvec()
651 u32 port_num, const struct bio_vec *bvecs, u32 nr_bvec, in rdma_rw_ctx_init_bvec() argument
666 return rdma_rw_init_mr_wrs_bvec(ctx, qp, port_num, bvecs, in rdma_rw_ctx_init_bvec()
[all …]
/linux/fs/erofs/
H A Dfileio.c9 struct bio_vec bvecs[16]; member
59 iov_iter_bvec(&iter, ITER_DEST, rq->bvecs, rq->bio.bi_vcnt, in erofs_fileio_rq_submit()
73 bio_init(&rq->bio, NULL, rq->bvecs, ARRAY_SIZE(rq->bvecs), REQ_OP_READ); in erofs_fileio_rq_alloc()
H A Dfscache.c166 struct bio_vec bvecs[BIO_MAX_VECS]; member
185 bio_init(&io->bio, NULL, io->bvecs, BIO_MAX_VECS, REQ_OP_READ); in erofs_fscache_bio_alloc()
198 iov_iter_bvec(&io->io.iter, ITER_DEST, io->bvecs, bio->bi_vcnt, in erofs_fscache_submit_bio()
/linux/block/
H A Dbio-integrity.c14 struct bio_vec bvecs[]; member
70 struct bio_vec *bvecs, unsigned int nr_vecs) in bio_integrity_init() argument
75 bip->bip_vec = bvecs; in bio_integrity_init()
100 bia = kmalloc_flex(*bia, bvecs, nr_vecs, gfp_mask); in bio_integrity_alloc()
103 bio_integrity_init(bio, &bia->bip, bia->bvecs, nr_vecs); in bio_integrity_alloc()
/linux/fs/netfs/
H A Diterator.c112 const struct bio_vec *bvecs = iter->bvec; in netfs_limit_bvec() local
123 len = bvecs[ix].bv_len; in netfs_limit_bvec()
132 len = min3(n, bvecs[ix].bv_len - skip, max_size); in netfs_limit_bvec()
/linux/net/ceph/
H A Dmessenger.c785 struct bio_vec *bvecs = data->bvec_pos.bvecs; in ceph_msg_data_bvecs_cursor_init() local
791 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_cursor_init()
798 struct bio_vec bv = bvec_iter_bvec(cursor->data->bvec_pos.bvecs, in ceph_msg_data_bvecs_next()
809 struct bio_vec *bvecs = cursor->data->bvec_pos.bvecs; in ceph_msg_data_bvecs_advance() local
810 struct page *page = bvec_iter_page(bvecs, cursor->bvec_iter); in ceph_msg_data_bvecs_advance()
813 BUG_ON(bytes > bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance()
815 bvec_iter_advance(bvecs, &cursor->bvec_iter, bytes); in ceph_msg_data_bvecs_advance()
821 page == bvec_iter_page(bvecs, cursor->bvec_iter))) in ceph_msg_data_bvecs_advance()
824 BUG_ON(cursor->resid < bvec_iter_len(bvecs, cursor->bvec_iter)); in ceph_msg_data_bvecs_advance()
H A Dosd_client.c239 struct bio_vec *bvecs, u32 num_bvecs, in osd_req_op_extent_osd_data_bvecs() argument
244 .bvecs = bvecs, in osd_req_op_extent_osd_data_bvecs()
306 struct bio_vec *bvecs, u32 num_bvecs, in osd_req_op_cls_request_data_bvecs() argument
311 .bvecs = bvecs, in osd_req_op_cls_request_data_bvecs()
/linux/include/linux/ceph/
H A Dmessenger.h177 struct bio_vec *bvecs; member
184 bvec_iter_advance((it)->bvecs, &(it)->iter, (n)); \
203 for_each_bvec(bv, (it)->bvecs, __cur_iter, __cur_iter) \
H A Dosd_client.h501 struct bio_vec *bvecs, u32 num_bvecs,
516 struct bio_vec *bvecs, u32 num_bvecs,
/linux/fs/ceph/
H A Dfile.c86 struct bio_vec *bvecs) in __iter_get_bvecs() argument
110 bvec_set_page(&bvecs[bvec_idx], pages[idx], len, start); in __iter_get_bvecs()
128 struct bio_vec **bvecs, int *num_bvecs) in iter_get_bvecs_alloc() argument
156 *bvecs = bv; in iter_get_bvecs_alloc()
161 static void put_bvecs(struct bio_vec *bvecs, int num_bvecs, bool should_dirty) in put_bvecs() argument
166 if (bvecs[i].bv_page) { in put_bvecs()
168 set_page_dirty_lock(bvecs[i].bv_page); in put_bvecs()
169 put_page(bvecs[i].bv_page); in put_bvecs()
172 kvfree(bvecs); in put_bvecs()
1379 iov_iter_bvec(&i, ITER_DEST, osd_data->bvec_pos.bvecs, in ceph_aio_complete_req()
[all …]
/linux/drivers/target/
H A Dtarget_core_file.c248 struct bio_vec bvecs[]; member
279 aio_cmd = kmalloc_flex(*aio_cmd, bvecs, sgl_nents); in fd_execute_rw_aio()
284 bvec_set_page(&aio_cmd->bvecs[i], sg_page(sg), sg->length, in fd_execute_rw_aio()
289 iov_iter_bvec(&iter, is_write, aio_cmd->bvecs, sgl_nents, len); in fd_execute_rw_aio()
/linux/drivers/block/
H A Drbd.c1509 kfree(obj_request->bvec_pos.bvecs); in rbd_obj_request_destroy()
2575 obj_req->bvec_pos.bvecs = kmalloc_objs(*obj_req->bvec_pos.bvecs, in rbd_img_fill_request()
2578 if (!obj_req->bvec_pos.bvecs) in rbd_img_fill_request()
2645 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bio_bvecs()
2705 obj_req->bvec_pos.bvecs[obj_req->bvec_idx++] = bv; in copy_bvecs()
2730 struct bio_vec *bvecs) in rbd_img_fill_from_bvecs() argument
2733 .bvecs = bvecs, in rbd_img_fill_from_bvecs()
2998 static bool is_zero_bvecs(struct bio_vec *bvecs, u32 bytes) in is_zero_bvecs() argument
3001 .bvecs = bvecs, in is_zero_bvecs()