/include/linux/ |
D | bio.h | 22 #define bio_prio(bio) (bio)->bi_ioprio argument 23 #define bio_set_prio(bio, prio) ((bio)->bi_ioprio = prio) argument 25 #define bio_iter_iovec(bio, iter) \ argument 26 bvec_iter_bvec((bio)->bi_io_vec, (iter)) 28 #define bio_iter_page(bio, iter) \ argument 29 bvec_iter_page((bio)->bi_io_vec, (iter)) 30 #define bio_iter_len(bio, iter) \ argument 31 bvec_iter_len((bio)->bi_io_vec, (iter)) 32 #define bio_iter_offset(bio, iter) \ argument 33 bvec_iter_offset((bio)->bi_io_vec, (iter)) [all …]
|
D | blk-crypto.h | 131 static inline bool bio_has_crypt_ctx(struct bio *bio) in bio_has_crypt_ctx() argument 133 return bio->bi_crypt_context; in bio_has_crypt_ctx() 136 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, 168 static inline bool bio_has_crypt_ctx(struct bio *bio) in bio_has_crypt_ctx() argument 175 static inline void bio_clone_skip_dm_default_key(struct bio *dst, 176 const struct bio *src); 178 int __bio_crypt_clone(struct bio *dst, struct bio *src, gfp_t gfp_mask); 190 static inline int bio_crypt_clone(struct bio *dst, struct bio *src, in bio_crypt_clone() 200 static inline void bio_set_skip_dm_default_key(struct bio *bio) in bio_set_skip_dm_default_key() argument 202 bio->bi_skip_dm_default_key = true; in bio_set_skip_dm_default_key() [all …]
|
D | blk-cgroup.h | 19 struct bio; 34 struct cgroup_subsys_state *bio_blkcg_css(struct bio *bio); 42 static inline struct cgroup_subsys_state *bio_blkcg_css(struct bio *bio) in bio_blkcg_css() argument 49 char *blkcg_get_fc_appid(struct bio *bio);
|
D | dm-region-hash.h | 53 region_t dm_rh_bio_to_region(struct dm_region_hash *rh, struct bio *bio); 82 void dm_rh_delay(struct dm_region_hash *rh, struct bio *bio); 84 void dm_rh_mark_nosync(struct dm_region_hash *rh, struct bio *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 | blk-mq.h | 99 struct bio *bio; member 100 struct bio *biotail; 969 static inline void blk_rq_bio_prep(struct request *rq, struct bio *bio, in blk_rq_bio_prep() argument 973 rq->__data_len = bio->bi_iter.bi_size; in blk_rq_bio_prep() 974 rq->bio = rq->biotail = bio; in blk_rq_bio_prep() 975 rq->ioprio = bio_prio(bio); in blk_rq_bio_prep() 989 int (*bio_ctr)(struct bio *, struct bio *, void *), void *data); 1008 int blk_rq_unmap_user(struct bio *); 1011 int blk_rq_append_bio(struct request *rq, struct bio *bio); 1018 struct bio *bio; member [all …]
|
D | blk-integrity.h | 42 int blk_rq_map_integrity_sg(struct request_queue *, struct bio *, 44 int blk_rq_count_integrity_sg(struct request_queue *, struct bio *); 113 return mp_bvec_iter_bvec(rq->bio->bi_integrity->bip_vec, in rq_integrity_vec() 114 rq->bio->bi_integrity->bip_iter); in rq_integrity_vec() 118 struct bio *b) in blk_rq_count_integrity_sg() 123 struct bio *b, in blk_rq_map_integrity_sg()
|
D | device-mapper.h | 63 typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio); 80 struct bio *bio, blk_status_t *error); 423 void *dm_per_bio_data(struct bio *bio, size_t data_size); 424 struct bio *dm_bio_from_per_bio_data(void *data, size_t data_size); 425 unsigned int dm_bio_get_target_bio_nr(const struct bio *bio); 427 u64 dm_start_time_ns_from_clone(struct bio *bio); 525 void dm_accept_partial_bio(struct bio *bio, unsigned int n_sectors); 526 void dm_submit_bio_remap(struct bio *clone, struct bio *tgt_clone);
|
D | fscrypt.h | 382 bool fscrypt_decrypt_bio(struct bio *bio); 680 static inline bool fscrypt_decrypt_bio(struct bio *bio) in fscrypt_decrypt_bio() argument 795 void fscrypt_set_bio_crypt_ctx(struct bio *bio, 799 void fscrypt_set_bio_crypt_ctx_bh(struct bio *bio, 803 bool fscrypt_mergeable_bio(struct bio *bio, const struct inode *inode, 806 bool fscrypt_mergeable_bio_bh(struct bio *bio, 820 static inline void fscrypt_set_bio_crypt_ctx(struct bio *bio, in fscrypt_set_bio_crypt_ctx() argument 825 struct bio *bio, in fscrypt_set_bio_crypt_ctx_bh() argument 829 static inline bool fscrypt_mergeable_bio(struct bio *bio, in fscrypt_mergeable_bio() argument 836 static inline bool fscrypt_mergeable_bio_bh(struct bio *bio, in fscrypt_mergeable_bio_bh() argument
|
D | dm-io.h | 46 struct bio *bio; member
|
D | fsverity.h | 174 void fsverity_verify_bio(struct bio *bio); 244 static inline void fsverity_verify_bio(struct bio *bio) in fsverity_verify_bio() argument
|
D | writeback.h | 15 struct bio; 274 static inline void wbc_init_bio(struct writeback_control *wbc, struct bio *bio) in wbc_init_bio() argument 283 bio_associate_blkg_from_css(bio, wbc->wb->blkcg_css); in wbc_init_bio() 312 static inline void wbc_init_bio(struct writeback_control *wbc, struct bio *bio) in wbc_init_bio() argument
|
D | blkdev.h | 879 void submit_bio_noacct(struct bio *bio); 880 struct bio *bio_split_to_limits(struct bio *bio); 896 int bio_poll(struct bio *bio, struct io_comp_batch *iob, unsigned int flags); 908 static inline unsigned int bio_zone_no(struct bio *bio) in bio_zone_no() argument 910 return disk_zone_no(bio->bi_bdev->bd_disk, bio->bi_iter.bi_sector); in bio_zone_no() 913 static inline unsigned int bio_zone_is_seq(struct bio *bio) in bio_zone_is_seq() argument 915 return disk_zone_is_seq(bio->bi_bdev->bd_disk, bio->bi_iter.bi_sector); in bio_zone_is_seq() 1079 sector_t nr_sects, gfp_t gfp_mask, struct bio **biop); 1087 sector_t nr_sects, gfp_t gfp_mask, struct bio **biop, 1428 void (*submit_bio)(struct bio *bio); [all …]
|
D | blk_types.h | 17 struct bio; 22 typedef void (bio_end_io_t) (struct bio *); 267 struct bio { struct 268 struct bio *bi_next; /* request queue link */ argument 337 #define BIO_RESET_BYTES offsetof(struct bio, bi_max_vecs) 485 static inline enum req_op bio_op(const struct bio *bio) in bio_op() argument 487 return bio->bi_opf & REQ_OP_MASK; in bio_op()
|
D | iomap.h | 307 struct bio *io_bio; /* bio being built */ 308 struct bio io_inline_bio; /* MUST BE LAST! */ 357 void (*submit_io)(const struct iomap_iter *iter, struct bio *bio, 398 void iomap_dio_bio_end_io(struct bio *bio);
|
D | bsg-lib.h | 60 struct bio *bidi_bio;
|
D | libnvdimm.h | 138 int (*flush)(struct nd_region *nd_region, struct bio *bio); 296 int nvdimm_flush(struct nd_region *nd_region, struct bio *bio);
|
D | swap.h | 21 struct bio;
|
D | fs.h | 53 struct bio; 3010 typedef void (dio_submit_t)(struct bio *bio, struct inode *inode,
|
/include/trace/events/ |
D | bcache.h | 11 TP_PROTO(struct bcache_device *d, struct bio *bio), 12 TP_ARGS(d, bio), 25 __entry->dev = bio_dev(bio); 28 __entry->sector = bio->bi_iter.bi_sector; 29 __entry->orig_sector = bio->bi_iter.bi_sector - 16; 30 __entry->nr_sector = bio->bi_iter.bi_size >> 9; 31 blk_fill_rwbs(__entry->rwbs, bio->bi_opf); 81 TP_PROTO(struct bcache_device *d, struct bio *bio), 82 TP_ARGS(d, bio) 86 TP_PROTO(struct bcache_device *d, struct bio *bio), [all …]
|
D | block.h | 309 TP_PROTO(struct request_queue *q, struct bio *bio), 311 TP_ARGS(q, bio), 322 __entry->dev = bio_dev(bio); 323 __entry->sector = bio->bi_iter.bi_sector; 324 __entry->nr_sector = bio_sectors(bio); 325 __entry->error = blk_status_to_errno(bio->bi_status); 326 blk_fill_rwbs(__entry->rwbs, bio->bi_opf); 337 TP_PROTO(struct bio *bio), 339 TP_ARGS(bio), 350 __entry->dev = bio_dev(bio); [all …]
|
D | f2fs.h | 1182 TP_PROTO(struct super_block *sb, int type, struct bio *bio), 1184 TP_ARGS(sb, type, bio), 1198 __entry->target = bio_dev(bio); 1199 __entry->op = bio_op(bio); 1200 __entry->op_flags = bio->bi_opf; 1202 __entry->sector = bio->bi_iter.bi_sector; 1203 __entry->size = bio->bi_iter.bi_size; 1217 TP_PROTO(struct super_block *sb, int type, struct bio *bio), 1219 TP_ARGS(sb, type, bio), 1221 TP_CONDITION(bio) [all …]
|
D | btrfs.h | 2444 const struct bio *bio, 2447 TP_ARGS(rbio, bio, trace_info), 2464 __entry->physical = bio->bi_iter.bi_sector << SECTOR_SHIFT; 2465 __entry->len = bio->bi_iter.bi_size; 2466 __entry->opf = bio_op(bio); 2494 const struct bio *bio, 2497 TP_ARGS(rbio, bio, trace_info) 2502 const struct bio *bio, 2505 TP_ARGS(rbio, bio, trace_info)
|
/include/linux/ceph/ |
D | messenger.h | 132 struct bio *bio; member 143 bio_advance_iter((it)->bio, &(it)->iter, __cur_n); \ 144 if (!(it)->iter.bi_size && (it)->bio->bi_next) { \ 146 (it)->bio = (it)->bio->bi_next; \ 147 (it)->iter = (it)->bio->bi_iter; \ 169 __bio_for_each_segment(bv, (it)->bio, __cur_iter, __cur_iter) \
|