Lines Matching refs:bio

108 	struct bio *bio;  member
109 struct bio *biotail;
212 typedef blk_qc_t (make_request_fn) (struct request_queue *q, struct bio *bio);
672 static inline bool blk_write_same_mergeable(struct bio *a, struct bio *b) in blk_write_same_mergeable()
713 extern void blk_queue_bounce(struct request_queue *q, struct bio **bio);
719 static inline void blk_queue_bounce(struct request_queue *q, struct bio **bio) in blk_queue_bounce() argument
735 struct bio *bio; member
742 if ((rq->bio)) \
743 for (_bio = (rq)->bio; _bio; _bio = _bio->bi_next)
746 __rq_for_each_bio(_iter.bio, _rq) \
747 bio_for_each_segment(bvl, _iter.bio, _iter.iter)
750 (_iter.bio->bi_next == NULL && \
766 extern blk_qc_t generic_make_request(struct bio *bio);
771 extern struct request *blk_make_request(struct request_queue *, struct bio *,
780 int (*bio_ctr)(struct bio *, struct bio *, void *),
786 extern void blk_queue_split(struct request_queue *, struct bio **,
788 extern void blk_recount_segments(struct request_queue *, struct bio *);
811 extern int blk_rq_unmap_user(struct bio *);
848 return rq->bio ? bio_cur_bytes(rq->bio) : 0; in blk_rq_cur_bytes()
906 struct bio *bio; in blk_rq_count_bios() local
908 __rq_for_each_bio(bio, rq) in blk_rq_count_bios()
1389 static inline bool bio_will_gap(struct request_queue *q, struct bio *prev, in bio_will_gap()
1390 struct bio *next) in bio_will_gap()
1404 static inline bool req_gap_back_merge(struct request *req, struct bio *bio) in req_gap_back_merge() argument
1406 return bio_will_gap(req->q, req->biotail, bio); in req_gap_back_merge()
1409 static inline bool req_gap_front_merge(struct request *req, struct bio *bio) in req_gap_front_merge() argument
1411 return bio_will_gap(req->q, bio, req->bio); in req_gap_front_merge()
1495 extern int blk_rq_map_integrity_sg(struct request_queue *, struct bio *,
1497 extern int blk_rq_count_integrity_sg(struct request_queue *, struct bio *);
1501 struct bio *);
1537 struct bio *next) in integrity_req_gap_back_merge()
1539 struct bio_integrity_payload *bip = bio_integrity(req->bio); in integrity_req_gap_back_merge()
1547 struct bio *bio) in integrity_req_gap_front_merge() argument
1549 struct bio_integrity_payload *bip = bio_integrity(bio); in integrity_req_gap_front_merge()
1550 struct bio_integrity_payload *bip_next = bio_integrity(req->bio); in integrity_req_gap_front_merge()
1558 struct bio;
1568 struct bio *b) in blk_rq_count_integrity_sg()
1573 struct bio *b, in blk_rq_map_integrity_sg()
1613 struct bio *b) in blk_integrity_merge_bio()
1619 struct bio *next) in integrity_req_gap_back_merge()
1624 struct bio *bio) in integrity_req_gap_front_merge() argument