/include/linux/ |
D | bio.h | 27 #define bio_prio(bio) (bio)->bi_ioprio argument 28 #define bio_set_prio(bio, prio) ((bio)->bi_ioprio = prio) argument 30 #define bio_iter_iovec(bio, iter) \ argument 31 bvec_iter_bvec((bio)->bi_io_vec, (iter)) 33 #define bio_iter_page(bio, iter) \ argument 34 bvec_iter_page((bio)->bi_io_vec, (iter)) 35 #define bio_iter_len(bio, iter) \ argument 36 bvec_iter_len((bio)->bi_io_vec, (iter)) 37 #define bio_iter_offset(bio, iter) \ argument 38 bvec_iter_offset((bio)->bi_io_vec, (iter)) [all …]
|
D | bio-crypt-ctx.h | 82 void bio_crypt_free_ctx(struct bio *bio); 84 static inline bool bio_has_crypt_ctx(struct bio *bio) in bio_has_crypt_ctx() argument 86 return bio->bi_crypt_context; in bio_has_crypt_ctx() 89 void bio_crypt_clone(struct bio *dst, struct bio *src, gfp_t gfp_mask); 91 static inline void bio_crypt_set_ctx(struct bio *bio, in bio_crypt_set_ctx() argument 103 bio->bi_crypt_context = bc; in bio_crypt_set_ctx() 144 static inline void bio_crypt_advance(struct bio *bio, unsigned int bytes) in bio_crypt_advance() argument 146 struct bio_crypt_ctx *bc = bio->bi_crypt_context; in bio_crypt_advance() 155 bool bio_crypt_ctx_compatible(struct bio *b_1, struct bio *b_2); 157 bool bio_crypt_ctx_mergeable(struct bio *b_1, unsigned int b1_bytes, [all …]
|
D | blk-crypto.h | 13 int blk_crypto_submit_bio(struct bio **bio_ptr); 15 bool blk_crypto_endio(struct bio *bio); 27 static inline int blk_crypto_submit_bio(struct bio **bio_ptr) in blk_crypto_submit_bio() 32 static inline bool blk_crypto_endio(struct bio *bio) in blk_crypto_endio() argument
|
D | blk-cgroup.h | 278 static inline struct blkcg *__bio_blkcg(struct bio *bio) in __bio_blkcg() argument 280 if (bio && bio->bi_blkg) in __bio_blkcg() 281 return bio->bi_blkg->blkcg; in __bio_blkcg() 293 static inline struct blkcg *bio_blkcg(struct bio *bio) in bio_blkcg() argument 295 if (bio && bio->bi_blkg) in bio_blkcg() 296 return bio->bi_blkg->blkcg; in bio_blkcg() 331 static inline bool bio_issue_as_root_blkg(struct bio *bio) in bio_issue_as_root_blkg() argument 333 return (bio->bi_opf & (REQ_META | REQ_SWAP)) != 0; in bio_issue_as_root_blkg() 705 struct bio *bio); 708 struct bio *bio) { return false; } in blk_throtl_bio() argument [all …]
|
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 | blk_types.h | 14 struct bio; 20 typedef void (bio_end_io_t) (struct bio *); 145 struct bio { struct 146 struct bio *bi_next; /* request queue link */ argument 213 #define BIO_RESET_BYTES offsetof(struct bio, bi_max_vecs) 253 #define BVEC_POOL_IDX(bio) ((bio)->bi_flags >> BVEC_POOL_OFFSET) argument 393 #define bio_op(bio) \ argument 394 ((bio)->bi_opf & REQ_OP_MASK) 399 static inline void bio_set_op_attrs(struct bio *bio, unsigned op, in bio_set_op_attrs() argument 402 bio->bi_opf = op | op_flags; in bio_set_op_attrs()
|
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 | elevator.h | 36 bool (*allow_merge)(struct request_queue *, struct request *, struct bio *); 37 bool (*bio_merge)(struct blk_mq_hw_ctx *, struct bio *, unsigned int); 38 int (*request_merge)(struct request_queue *q, struct request **, struct bio *); 42 void (*prepare_request)(struct request *, struct bio *bio); 115 struct bio *); 136 extern bool elv_bio_merge_ok(struct request *, struct bio *);
|
D | blkdev.h | 148 struct bio *bio; member 149 struct bio *biotail; 275 static inline bool bio_is_passthrough(struct bio *bio) in bio_is_passthrough() argument 277 unsigned op = bio_op(bio); in bio_is_passthrough() 291 typedef blk_qc_t (make_request_fn) (struct request_queue *q, struct bio *bio); 765 static inline bool blk_write_same_mergeable(struct bio *a, struct bio *b) in blk_write_same_mergeable() 817 struct bio *bio; member 824 if ((rq->bio)) \ 825 for (_bio = (rq)->bio; _bio; _bio = _bio->bi_next) 828 __rq_for_each_bio(_iter.bio, _rq) \ [all …]
|
D | fsverity.h | 134 extern void fsverity_verify_bio(struct bio *bio); 184 static inline void fsverity_verify_bio(struct bio *bio) in fsverity_verify_bio() argument
|
D | fscrypt.h | 240 extern void fscrypt_decrypt_bio(struct bio *); 477 static inline void fscrypt_decrypt_bio(struct bio *bio) in fscrypt_decrypt_bio() argument 556 extern void fscrypt_set_bio_crypt_ctx(struct bio *bio, 560 extern void fscrypt_set_bio_crypt_ctx_bh(struct bio *bio, 564 extern bool fscrypt_mergeable_bio(struct bio *bio, const struct inode *inode, 567 extern bool fscrypt_mergeable_bio_bh(struct bio *bio, 581 static inline void fscrypt_set_bio_crypt_ctx(struct bio *bio, in fscrypt_set_bio_crypt_ctx() argument 586 struct bio *bio, in fscrypt_set_bio_crypt_ctx_bh() argument 590 static inline bool fscrypt_mergeable_bio(struct bio *bio, in fscrypt_mergeable_bio() argument 597 static inline bool fscrypt_mergeable_bio_bh(struct bio *bio, in fscrypt_mergeable_bio_bh() argument
|
D | dm-io.h | 44 struct bio *bio; member
|
D | device-mapper.h | 61 typedef int (*dm_map_fn) (struct dm_target *ti, struct bio *bio); 78 struct bio *bio, blk_status_t *error); 334 void *dm_per_bio_data(struct bio *bio, size_t data_size); 335 struct bio *dm_bio_from_per_bio_data(void *data, size_t data_size); 336 unsigned dm_bio_get_target_bio_nr(const struct bio *bio); 431 void dm_accept_partial_bio(struct bio *bio, unsigned n_sectors);
|
D | writeback.h | 16 struct bio; 281 static inline void wbc_init_bio(struct writeback_control *wbc, struct bio *bio) in wbc_init_bio() argument 290 bio_associate_blkg_from_css(bio, wbc->wb->blkcg_css); in wbc_init_bio() 319 static inline void wbc_init_bio(struct writeback_control *wbc, struct bio *bio) in wbc_init_bio() argument
|
D | bsg-lib.h | 60 struct bio *bidi_bio;
|
D | libnvdimm.h | 133 int (*flush)(struct nd_region *nd_region, struct bio *bio); 264 int nvdimm_flush(struct nd_region *nd_region, struct bio *bio);
|
D | swap.h | 19 struct bio; 390 extern void end_swap_bio_write(struct bio *bio);
|
D | blk-mq.h | 316 struct bio *bio, unsigned int nr_segs);
|
D | lightnvm.h | 285 struct bio *bio; member 634 typedef blk_qc_t (nvm_tgt_make_rq_fn)(struct request_queue *, struct bio *);
|
D | fs.h | 49 struct bio; 3173 typedef void (dio_submit_t)(struct bio *bio, struct inode *inode, 3184 void dio_end_io(struct bio *bio);
|
/include/trace/events/ |
D | block.h | 227 TP_PROTO(struct request_queue *q, struct bio *bio), 229 TP_ARGS(q, bio), 240 __entry->dev = bio_dev(bio); 241 __entry->sector = bio->bi_iter.bi_sector; 242 __entry->nr_sector = bio_sectors(bio); 243 blk_fill_rwbs(__entry->rwbs, bio->bi_opf, bio->bi_iter.bi_size); 264 TP_PROTO(struct request_queue *q, struct bio *bio, int error), 266 TP_ARGS(q, bio, error), 277 __entry->dev = bio_dev(bio); 278 __entry->sector = bio->bi_iter.bi_sector; [all …]
|
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, bio->bi_iter.bi_size); 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 | f2fs.h | 1064 TP_PROTO(struct super_block *sb, int type, struct bio *bio), 1066 TP_ARGS(sb, type, bio), 1080 __entry->target = bio_dev(bio); 1081 __entry->op = bio_op(bio); 1082 __entry->op_flags = bio->bi_opf; 1084 __entry->sector = bio->bi_iter.bi_sector; 1085 __entry->size = bio->bi_iter.bi_size; 1099 TP_PROTO(struct super_block *sb, int type, struct bio *bio), 1101 TP_ARGS(sb, type, bio), 1103 TP_CONDITION(bio) [all …]
|
/include/linux/ceph/ |
D | messenger.h | 88 struct bio *bio; member 99 bio_advance_iter((it)->bio, &(it)->iter, __cur_n); \ 100 if (!(it)->iter.bi_size && (it)->bio->bi_next) { \ 102 (it)->bio = (it)->bio->bi_next; \ 103 (it)->iter = (it)->bio->bi_iter; \ 125 __bio_for_each_segment(bv, (it)->bio, __cur_iter, __cur_iter) \
|