Home
last modified time | relevance | path

Searched refs:bio (Results 1 – 15 of 15) sorted by relevance

/include/linux/
Dbio.h51 #define bio_prio(bio) ((bio)->bi_rw >> BIO_PRIO_SHIFT) argument
52 #define bio_prio_valid(bio) ioprio_valid(bio_prio(bio)) argument
54 #define bio_set_prio(bio, prio) do { \ argument
56 (bio)->bi_rw &= ((1UL << BIO_PRIO_SHIFT) - 1); \
57 (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); \
64 #define bio_iovec_idx(bio, idx) (&((bio)->bi_io_vec[(idx)])) argument
65 #define bio_iovec(bio) bio_iovec_idx((bio), (bio)->bi_idx) argument
66 #define bio_page(bio) bio_iovec((bio))->bv_page argument
67 #define bio_offset(bio) bio_iovec((bio))->bv_offset argument
68 #define bio_segments(bio) ((bio)->bi_vcnt - (bio)->bi_idx) argument
[all …]
Dblk_types.h13 struct bio;
17 typedef void (bio_end_io_t) (struct bio *, int);
18 typedef void (bio_destructor_t) (struct bio *);
33 struct bio { struct
36 struct bio *bi_next; /* request queue link */ argument
98 #define bio_flagged(bio, flag) ((bio)->bi_flags & (1 << (flag))) argument
107 #define BIO_POOL_IDX(bio) ((bio)->bi_flags >> BIO_POOL_OFFSET) argument
Ddm-region-hash.h50 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio);
79 void dm_rh_delay(struct dm_region_hash *rh, struct bio *bio);
81 void dm_rh_mark_nosync(struct dm_region_hash *rh, struct bio *bio);
Dblkdev.h97 struct bio *bio; member
98 struct bio *biotail;
203 typedef void (make_request_fn) (struct request_queue *q, struct bio *bio);
614 extern void blk_queue_bounce(struct request_queue *q, struct bio **bio);
620 static inline void blk_queue_bounce(struct request_queue *q, struct bio **bio) in blk_queue_bounce() argument
636 struct bio *bio; member
643 if ((rq->bio)) \
644 for (_bio = (rq)->bio; _bio; _bio = _bio->bi_next)
647 __rq_for_each_bio(_iter.bio, _rq) \
648 bio_for_each_segment(bvl, _iter.bio, _iter.i)
[all …]
Dpktcdvd.h212 struct bio *w_bio; /* The bio we will send to the real CD */
227 struct bio *r_bios[PACKET_MAX_SIZE]; /* bios to use during data gathering */
240 struct bio *bio; member
245 struct bio *bio; /* Original read request bio */ member
Delevator.h11 struct bio *);
17 typedef int (elevator_allow_merge_fn) (struct request_queue *, struct request *, struct bio *);
20 struct request *, struct bio *);
118 extern int elv_merge(struct request_queue *, struct request **, struct bio *);
123 struct bio *);
151 extern bool elv_rq_merge_ok(struct request *, struct bio *);
Ddevice-mapper.h49 typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio,
63 struct bio *bio, int error,
326 union map_info *dm_get_mapinfo(struct bio *bio);
Dswap.h17 struct bio;
319 extern void end_swap_bio_read(struct bio *bio, int err);
Dfs.h2181 #define bio_rw(bio) ((bio)->bi_rw & (RW_MASK | RWA_MASK)) argument
2186 #define bio_data_dir(bio) ((bio)->bi_rw & 1) argument
2373 extern void submit_bio(int, struct bio *);
2441 typedef void (dio_submit_t)(int rw, struct bio *bio, struct inode *inode,
2452 void dio_end_io(struct bio *bio, int error);
/include/trace/events/
Dblock.h180 TP_PROTO(struct request_queue *q, struct bio *bio),
182 TP_ARGS(q, bio),
193 __entry->dev = bio->bi_bdev ?
194 bio->bi_bdev->bd_dev : 0;
195 __entry->sector = bio->bi_sector;
196 __entry->nr_sector = bio->bi_size >> 9;
197 blk_fill_rwbs(__entry->rwbs, bio->bi_rw, bio->bi_size);
218 TP_PROTO(struct request_queue *q, struct bio *bio, int error),
220 TP_ARGS(q, bio, error),
231 __entry->dev = bio->bi_bdev->bd_dev;
[all …]
/include/scsi/
Dosd_initiator.h143 struct bio *bio; member
430 const struct osd_obj_id *obj, u64 offset, struct bio *bio, u64 len);
434 const struct osd_obj_id *, struct bio *data_out);/* NI */
436 const struct osd_obj_id *, struct bio *data_out, u64 offset);/* NI */
447 const struct osd_obj_id *obj, u64 offset, struct bio *bio, u64 len);
453 const struct osd_obj_id *obj, struct bio *bio,
456 const struct osd_obj_id *obj, struct bio *bio,
Dosd_sec.h40 void osd_sec_sign_data(void *data_integ, struct bio *bio, const u8 *cap_key);
Dosd_ore.h157 struct bio *bio; member
/include/linux/ceph/
Dmessenger.h86 struct bio *bio; /* instead of pages/pagelist */ member
87 struct bio *bio_iter; /* bio iterator */
Dosd_client.h95 struct bio *r_bio; /* instead of pages */
224 struct bio *bio);