Lines Matching refs:bio

829 	struct bio *bio;  in ceph_msg_data_bio_cursor_init()  local
833 bio = data->bio; in ceph_msg_data_bio_cursor_init()
834 BUG_ON(!bio); in ceph_msg_data_bio_cursor_init()
837 cursor->bio = bio; in ceph_msg_data_bio_cursor_init()
838 cursor->bvec_iter = bio->bi_iter; in ceph_msg_data_bio_cursor_init()
840 cursor->resid <= bio_iter_len(bio, cursor->bvec_iter); in ceph_msg_data_bio_cursor_init()
848 struct bio *bio; in ceph_msg_data_bio_next() local
853 bio = cursor->bio; in ceph_msg_data_bio_next()
854 BUG_ON(!bio); in ceph_msg_data_bio_next()
856 bio_vec = bio_iter_iovec(bio, cursor->bvec_iter); in ceph_msg_data_bio_next()
873 struct bio *bio; in ceph_msg_data_bio_advance() local
878 bio = cursor->bio; in ceph_msg_data_bio_advance()
879 BUG_ON(!bio); in ceph_msg_data_bio_advance()
881 bio_vec = bio_iter_iovec(bio, cursor->bvec_iter); in ceph_msg_data_bio_advance()
888 bio_advance_iter(bio, &cursor->bvec_iter, bytes); in ceph_msg_data_bio_advance()
896 bio = bio->bi_next; in ceph_msg_data_bio_advance()
897 cursor->bio = bio; in ceph_msg_data_bio_advance()
898 if (bio) in ceph_msg_data_bio_advance()
899 cursor->bvec_iter = bio->bi_iter; in ceph_msg_data_bio_advance()
907 BUG_ON(!bio); in ceph_msg_data_bio_advance()
909 if (cursor->resid <= bio_iter_len(bio, cursor->bvec_iter)) in ceph_msg_data_bio_advance()
3242 void ceph_msg_data_add_bio(struct ceph_msg *msg, struct bio *bio, in ceph_msg_data_add_bio() argument
3247 BUG_ON(!bio); in ceph_msg_data_add_bio()
3251 data->bio = bio; in ceph_msg_data_add_bio()