/include/linux/ |
D | bio.h | 51 #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); \ 83 #define bio_iter_iovec(bio, iter) \ argument 84 bvec_iter_bvec((bio)->bi_io_vec, (iter)) 86 #define bio_iter_page(bio, iter) \ argument 87 bvec_iter_page((bio)->bi_io_vec, (iter)) 88 #define bio_iter_len(bio, iter) \ argument [all …]
|
D | blk_types.h | 11 struct bio; 17 typedef void (bio_end_io_t) (struct bio *, int); 18 typedef void (bio_destructor_t) (struct bio *); 46 struct bio { struct 47 struct bio *bi_next; /* request queue link */ argument 109 #define BIO_RESET_BYTES offsetof(struct bio, bi_max_vecs) 133 #define bio_flagged(bio, flag) ((bio)->bi_flags & (1 << (flag))) argument 142 #define BIO_POOL_IDX(bio) ((bio)->bi_flags >> BIO_POOL_OFFSET) argument
|
D | dm-region-hash.h | 50 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);
|
D | elevator.h | 13 struct bio *); 19 typedef int (elevator_allow_merge_fn) (struct request_queue *, struct request *, struct bio *); 22 struct request *, struct bio *); 34 struct bio *, gfp_t); 124 extern int elv_merge(struct request_queue *, struct request **, struct bio *); 129 struct bio *); 138 struct bio *bio, gfp_t gfp_mask); 158 extern bool elv_rq_merge_ok(struct request *, struct bio *);
|
D | pktcdvd.h | 117 struct bio *w_bio; /* The bio we will send to the real CD */ 132 struct bio *r_bios[PACKET_MAX_SIZE]; /* bios to use during data gathering */ 145 struct bio *bio; member 150 struct bio *bio; /* Original read request bio */ member
|
D | device-mapper.h | 48 typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio); 61 struct bio *bio, int error); 193 typedef unsigned (*dm_num_write_bios_fn) (struct dm_target *ti, struct bio *bio); 289 struct bio clone; 292 static inline void *dm_per_bio_data(struct bio *bio, size_t data_size) in dm_per_bio_data() argument 294 return (char *)bio - offsetof(struct dm_target_io, clone) - data_size; in dm_per_bio_data() 297 static inline struct bio *dm_bio_from_per_bio_data(void *data, size_t data_size) in dm_bio_from_per_bio_data() 299 return (struct bio *)((char *)data + data_size + offsetof(struct dm_target_io, clone)); in dm_bio_from_per_bio_data() 302 static inline unsigned dm_bio_get_target_bio_nr(const struct bio *bio) in dm_bio_get_target_bio_nr() argument 304 return container_of(bio, struct dm_target_io, clone)->target_bio_nr; in dm_bio_get_target_bio_nr() [all …]
|
D | blkdev.h | 120 struct bio *bio; member 121 struct bio *biotail; 240 typedef void (make_request_fn) (struct request_queue *q, struct bio *bio); 698 static inline bool blk_write_same_mergeable(struct bio *a, struct bio *b) in blk_write_same_mergeable() 739 extern void blk_queue_bounce(struct request_queue *q, struct bio **bio); 745 static inline void blk_queue_bounce(struct request_queue *q, struct bio **bio) in blk_queue_bounce() argument 761 struct bio *bio; member 768 if ((rq->bio)) \ 769 for (_bio = (rq)->bio; _bio; _bio = _bio->bi_next) 772 __rq_for_each_bio(_iter.bio, _rq) \ [all …]
|
D | dm-io.h | 44 struct bio *bio; member
|
D | swap.h | 18 struct bio; 384 extern void end_swap_bio_write(struct bio *bio, int err); 386 void (*end_write_func)(struct bio *, int)); 388 extern void end_swap_bio_read(struct bio *bio, int err);
|
D | fscrypt.h | 35 struct bio *bio; member
|
D | fscrypt_notsupp.h | 164 struct bio *bio) in fscrypt_decrypt_bio_pages() argument
|
D | fscrypt_supp.h | 145 extern void fscrypt_decrypt_bio_pages(struct fscrypt_ctx *, struct bio *);
|
D | fs.h | 2262 #define bio_rw(bio) ((bio)->bi_rw & (RW_MASK | RWA_MASK)) argument 2267 #define bio_data_dir(bio) ((bio)->bi_rw & 1) argument 2486 extern void submit_bio(int, struct bio *); 2556 typedef void (dio_submit_t)(int rw, struct bio *bio, struct inode *inode, 2570 void dio_end_io(struct bio *bio, int error);
|
/include/trace/events/ |
D | block.h | 258 TP_PROTO(struct request_queue *q, struct bio *bio), 260 TP_ARGS(q, bio), 271 __entry->dev = bio->bi_bdev ? 272 bio->bi_bdev->bd_dev : 0; 273 __entry->sector = bio->bi_iter.bi_sector; 274 __entry->nr_sector = bio_sectors(bio); 275 blk_fill_rwbs(__entry->rwbs, bio->bi_rw, bio->bi_iter.bi_size); 296 TP_PROTO(struct request_queue *q, struct bio *bio, int error), 298 TP_ARGS(q, bio, error), 309 __entry->dev = bio->bi_bdev->bd_dev; [all …]
|
D | bcache.h | 10 TP_PROTO(struct bcache_device *d, struct bio *bio), 11 TP_ARGS(d, bio), 24 __entry->dev = bio->bi_bdev->bd_dev; 27 __entry->sector = bio->bi_iter.bi_sector; 28 __entry->orig_sector = bio->bi_iter.bi_sector - 16; 29 __entry->nr_sector = bio->bi_iter.bi_size >> 9; 30 blk_fill_rwbs(__entry->rwbs, bio->bi_rw, bio->bi_iter.bi_size); 80 TP_PROTO(struct bcache_device *d, struct bio *bio), 81 TP_ARGS(d, bio) 85 TP_PROTO(struct bcache_device *d, struct bio *bio), [all …]
|
D | f2fs.h | 971 TP_PROTO(struct super_block *sb, int type, struct bio *bio), 973 TP_ARGS(sb, type, bio), 987 __entry->target = bio->bi_bdev->bd_dev; 988 __entry->op = bio_op(bio); 989 __entry->op_flags = bio->bi_rw; 991 __entry->sector = bio->bi_iter.bi_sector; 992 __entry->size = bio->bi_iter.bi_size; 1006 TP_PROTO(struct super_block *sb, int type, struct bio *bio), 1008 TP_ARGS(sb, type, bio), 1010 TP_CONDITION(bio) [all …]
|
/include/scsi/ |
D | osd_sec.h | 40 void osd_sec_sign_data(void *data_integ, struct bio *bio, const u8 *cap_key);
|
D | osd_initiator.h | 143 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,
|
D | osd_ore.h | 158 struct bio *bio; member
|
/include/linux/ceph/ |
D | messenger.h | 98 struct bio *bio; member 122 struct bio *bio; /* bio from list */ member 282 extern void ceph_msg_data_add_bio(struct ceph_msg *msg, struct bio *bio,
|
D | osd_client.h | 70 struct bio *bio; /* list of bios */ member 278 struct bio *bio, size_t bio_length);
|