| /kernel/linux/linux-5.10/include/linux/ |
| D | bio.h | 24 #define bio_prio(bio) (bio)->bi_ioprio argument 25 #define bio_set_prio(bio, prio) ((bio)->bi_ioprio = prio) argument 27 #define bio_iter_iovec(bio, iter) \ argument 30 #define bio_iter_page(bio, iter) \ argument 32 #define bio_iter_len(bio, iter) \ argument 34 #define bio_iter_offset(bio, iter) \ argument 37 #define bio_page(bio) bio_iter_page((bio), (bio)->bi_iter) argument 38 #define bio_offset(bio) bio_iter_offset((bio), (bio)->bi_iter) argument 39 #define bio_iovec(bio) bio_iter_iovec((bio), (bio)->bi_iter) argument 44 #define bio_sectors(bio) bvec_iter_sectors((bio)->bi_iter) argument [all …]
|
| D | blk_types.h | 203 struct bio { struct 204 struct bio *bi_next; /* request queue link */ argument 219 bio_end_io_t *bi_end_io; argument 224 * Represents the association of the css and request_queue for the bio. argument 230 struct bio_issue bi_issue; argument 237 struct bio_crypt_ctx *bi_crypt_context; argument 246 unsigned short bi_vcnt; /* how many bio_vec's */ argument 256 struct bio_vec *bi_io_vec; /* the actual vec list */ argument 258 struct bio_set *bi_pool; argument 261 * We can inline a number of vecs at the end of the bio, to avoid argument [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | bio.h | 51 #define bio_prio(bio) (bio)->bi_ioprio argument 52 #define bio_set_prio(bio, prio) ((bio)->bi_ioprio = prio) argument 54 #define bio_iter_iovec(bio, iter) \ argument 57 #define bio_iter_page(bio, iter) \ argument 59 #define bio_iter_len(bio, iter) \ argument 61 #define bio_iter_offset(bio, iter) \ argument 64 #define bio_page(bio) bio_iter_page((bio), (bio)->bi_iter) argument 65 #define bio_offset(bio) bio_iter_offset((bio), (bio)->bi_iter) argument 66 #define bio_iovec(bio) bio_iter_iovec((bio), (bio)->bi_iter) argument 68 #define bio_multiple_segments(bio) \ argument [all …]
|
| D | blk_types.h | 144 struct bio { struct 145 struct bio *bi_next; /* request queue link */ argument 164 * sizes of the first and last mergeable segments in this bio. argument 172 bio_end_io_t *bi_end_io; argument 177 * Optional ioc and css associated with this bio. Put on bio argument 183 struct bio_issue bi_issue; argument 191 unsigned short bi_vcnt; /* how many bio_vec's */ argument 201 struct bio_vec *bi_io_vec; /* the actual vec list */ argument 203 struct bio_set *bi_pool; argument 206 * We can inline a number of vecs at the end of the bio, to avoid argument [all …]
|
| /kernel/linux/linux-4.19/block/ |
| D | bio.c | 245 void bio_uninit(struct bio *bio) in bio_uninit() 251 static void bio_free(struct bio *bio) in bio_free() 279 void bio_init(struct bio *bio, struct bio_vec *table, in bio_init() 301 void bio_reset(struct bio *bio) in bio_reset() 313 static struct bio *__bio_chain_endio(struct bio *bio) in __bio_chain_endio() 323 static void bio_chain_endio(struct bio *bio) in bio_chain_endio() 339 void bio_chain(struct bio *bio, struct bio *parent) in bio_chain() 352 struct bio *bio; in bio_alloc_rescue() local 369 struct bio *bio; in punt_bios_to_rescuer() local 445 struct bio *bio; in bio_alloc_bioset() local [all …]
|
| D | bio-integrity.c | 63 struct bio_integrity_payload *bio_integrity_alloc(struct bio *bio, in bio_integrity_alloc() 117 static void bio_integrity_free(struct bio *bio) in bio_integrity_free() 140 int bio_integrity_add_page(struct bio *bio, struct page *page, in bio_integrity_add_page() 173 static blk_status_t bio_integrity_process(struct bio *bio, in bio_integrity_process() 219 bool bio_integrity_prep(struct bio *bio) in bio_integrity_prep() 340 struct bio *bio = bip->bip_bio; in bio_integrity_verify_fn() local 371 bool __bio_integrity_endio(struct bio *bio) in __bio_integrity_endio() 396 void bio_integrity_advance(struct bio *bio, unsigned int bytes_done) in bio_integrity_advance() 413 void bio_integrity_trim(struct bio *bio) in bio_integrity_trim() 430 int bio_integrity_clone(struct bio *bio, struct bio *bio_src, in bio_integrity_clone()
|
| D | blk-merge.c | 16 struct bio *bio, in blk_bio_discard_split() 60 struct bio *bio, struct bio_set *bs, unsigned *nsegs) in blk_bio_write_zeroes_split() 74 struct bio *bio, in blk_bio_write_same_split() 90 struct bio *bio) in get_max_io_size() 102 struct bio *bio, in blk_bio_segment_split() 184 void blk_queue_split(struct request_queue *q, struct bio **bio) in blk_queue_split() 233 struct bio *bio, in __blk_recalc_rq_segments() 310 void blk_recount_segments(struct request_queue *q, struct bio *bio) in blk_recount_segments() 329 static int blk_phys_contig_segment(struct request_queue *q, struct bio *bio, in blk_phys_contig_segment() 411 static int __blk_bios_map_sg(struct request_queue *q, struct bio *bio, in __blk_bios_map_sg() [all …]
|
| D | bounce.c | 162 static void bounce_end_io(struct bio *bio, mempool_t *pool) in bounce_end_io() 186 static void bounce_end_io_write(struct bio *bio) in bounce_end_io_write() 191 static void bounce_end_io_write_isa(struct bio *bio) in bounce_end_io_write_isa() 197 static void __bounce_end_io_read(struct bio *bio, mempool_t *pool) in __bounce_end_io_read() 207 static void bounce_end_io_read(struct bio *bio) in bounce_end_io_read() 212 static void bounce_end_io_read_isa(struct bio *bio) in bounce_end_io_read_isa() 222 struct bio *bio; in bounce_clone_bio() local 288 struct bio *bio; in __blk_queue_bounce() local
|
| D | blk-map.c | 18 int blk_rq_append_bio(struct request *rq, struct bio **bio) in blk_rq_append_bio() 44 static int __blk_rq_unmap_user(struct bio *bio) in __blk_rq_unmap_user() 63 struct bio *bio, *orig_bio; in __blk_rq_map_user_iov() local 120 struct bio *bio = NULL; in blk_rq_map_user_iov() local 179 int blk_rq_unmap_user(struct bio *bio) in blk_rq_unmap_user() 221 struct bio *bio, *orig_bio; in blk_rq_map_kern() local
|
| D | blk-lib.c | 13 static struct bio *next_bio(struct bio *bio, unsigned int nr_pages, in next_bio() 31 struct bio *bio = *biop; in __blkdev_issue_discard() local 101 struct bio *bio = NULL; in blkdev_issue_discard() local 138 struct bio *bio = *biop; in __blkdev_issue_write_same() local 197 struct bio *bio = NULL; in blkdev_issue_write_same() local 217 struct bio *bio = *biop; in __blkdev_issue_write_zeroes() local 274 struct bio *bio = *biop; in __blkdev_issue_zero_pages() local 364 struct bio *bio; in blkdev_issue_zeroout() local
|
| /kernel/linux/linux-5.10/block/ |
| D | bio.c | 235 void bio_uninit(struct bio *bio) in bio_uninit() 250 static void bio_free(struct bio *bio) in bio_free() 278 void bio_init(struct bio *bio, struct bio_vec *table, in bio_init() 300 void bio_reset(struct bio *bio) in bio_reset() 312 static struct bio *__bio_chain_endio(struct bio *bio) in __bio_chain_endio() 322 static void bio_chain_endio(struct bio *bio) in bio_chain_endio() 338 void bio_chain(struct bio *bio, struct bio *parent) in bio_chain() 351 struct bio *bio; in bio_alloc_rescue() local 368 struct bio *bio; in punt_bios_to_rescuer() local 444 struct bio *bio; in bio_alloc_bioset() local [all …]
|
| D | blk-merge.c | 52 static inline bool req_gap_back_merge(struct request *req, struct bio *bio) in req_gap_back_merge() 57 static inline bool req_gap_front_merge(struct request *req, struct bio *bio) in req_gap_front_merge() 63 struct bio *bio, in blk_bio_discard_split() 107 struct bio *bio, struct bio_set *bs, unsigned *nsegs) in blk_bio_write_zeroes_split() 121 struct bio *bio, in blk_bio_write_same_split() 145 struct bio *bio) in get_max_io_size() 246 struct bio *bio, in blk_bio_segment_split() 298 void __blk_queue_split(struct bio **bio, unsigned int *nr_segs) in __blk_queue_split() 359 void blk_queue_split(struct bio **bio) in blk_queue_split() 381 struct bio *bio = rq->bio; in blk_recalc_rq_segments() local [all …]
|
| D | blk-crypto-internal.h | 32 struct bio *bio) in bio_crypt_ctx_back_mergeable() 39 struct bio *bio) in bio_crypt_ctx_front_mergeable() 66 struct bio *bio) in bio_crypt_rq_ctx_compatible() 72 struct bio *bio) in bio_crypt_ctx_front_mergeable() 78 struct bio *bio) in bio_crypt_ctx_back_mergeable() 99 static inline void bio_crypt_advance(struct bio *bio, unsigned int bytes) in bio_crypt_advance() 106 static inline void bio_crypt_free_ctx(struct bio *bio) in bio_crypt_free_ctx() 113 struct bio *bio) in bio_crypt_do_front_merge() 157 static inline int blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio, in blk_crypto_rq_bio_prep()
|
| D | blk-map.c | 46 static int bio_copy_from_iter(struct bio *bio, struct iov_iter *iter) in bio_copy_from_iter() 77 static int bio_copy_to_iter(struct bio *bio, struct iov_iter iter) in bio_copy_to_iter() 107 static int bio_uncopy_user(struct bio *bio) in bio_uncopy_user() 135 struct bio *bio, *bounce_bio; in bio_copy_user_iov() local 247 struct bio *bio, *bounce_bio; in bio_map_user_iov() local 345 static void bio_unmap_user(struct bio *bio) in bio_unmap_user() 352 static void bio_invalidate_vmalloc_pages(struct bio *bio) in bio_invalidate_vmalloc_pages() 365 static void bio_map_kern_endio(struct bio *bio) in bio_map_kern_endio() 391 struct bio *bio; in bio_map_kern() local 432 static void bio_copy_kern_endio(struct bio *bio) in bio_copy_kern_endio() [all …]
|
| D | bio-integrity.c | 50 struct bio_integrity_payload *bio_integrity_alloc(struct bio *bio, in bio_integrity_alloc() 106 void bio_integrity_free(struct bio *bio) in bio_integrity_free() 129 int bio_integrity_add_page(struct bio *bio, struct page *page, in bio_integrity_add_page() 162 static blk_status_t bio_integrity_process(struct bio *bio, in bio_integrity_process() 208 bool bio_integrity_prep(struct bio *bio) in bio_integrity_prep() 331 struct bio *bio = bip->bip_bio; in bio_integrity_verify_fn() local 356 bool __bio_integrity_endio(struct bio *bio) in __bio_integrity_endio() 381 void bio_integrity_advance(struct bio *bio, unsigned int bytes_done) in bio_integrity_advance() 397 void bio_integrity_trim(struct bio *bio) in bio_integrity_trim() 414 int bio_integrity_clone(struct bio *bio, struct bio *bio_src, in bio_integrity_clone()
|
| D | blk-core.c | 239 static void req_bio_endio(struct request *rq, struct bio *bio, in req_bio_endio() 476 static inline int bio_queue_enter(struct bio *bio) in bio_queue_enter() 649 static void handle_bad_sector(struct bio *bio, sector_t maxsector) in handle_bad_sector() 694 static inline bool bio_check_ro(struct bio *bio, struct hd_struct *part) in bio_check_ro() 714 static noinline int should_fail_bio(struct bio *bio) in should_fail_bio() 727 static inline int bio_check_eod(struct bio *bio, sector_t maxsector) in bio_check_eod() 743 static inline int blk_partition_remap(struct bio *bio) in blk_partition_remap() 775 struct bio *bio) in blk_check_zone_append() 806 static noinline_for_stack bool submit_bio_checks(struct bio *bio) in submit_bio_checks() 923 static blk_qc_t __submit_bio(struct bio *bio) in __submit_bio() [all …]
|
| D | bounce.c | 162 static void bounce_end_io(struct bio *bio, mempool_t *pool) in bounce_end_io() 186 static void bounce_end_io_write(struct bio *bio) in bounce_end_io_write() 191 static void bounce_end_io_write_isa(struct bio *bio) in bounce_end_io_write_isa() 197 static void __bounce_end_io_read(struct bio *bio, mempool_t *pool) in __bounce_end_io_read() 207 static void bounce_end_io_read(struct bio *bio) in bounce_end_io_read() 212 static void bounce_end_io_read_isa(struct bio *bio) in bounce_end_io_read_isa() 222 struct bio *bio; in bounce_clone_bio() local 290 struct bio *bio; in __blk_queue_bounce() local
|
| D | blk-lib.c | 13 struct bio *blk_next_bio(struct bio *bio, unsigned int nr_pages, gfp_t gfp) in blk_next_bio() 30 struct bio *bio = *biop; in __blkdev_issue_discard() local 134 struct bio *bio = NULL; in blkdev_issue_discard() local 171 struct bio *bio = *biop; in __blkdev_issue_write_same() local 230 struct bio *bio = NULL; in blkdev_issue_write_same() local 250 struct bio *bio = *biop; in __blkdev_issue_write_zeroes() local 307 struct bio *bio = *biop; in __blkdev_issue_zero_pages() local 397 struct bio *bio; in blkdev_issue_zeroout() local
|
| /kernel/linux/linux-5.10/drivers/md/bcache/ |
| D | request.c | 40 static void bio_csum(struct bio *bio, struct bkey *k) in bio_csum() 111 struct bio *bio = op->bio; in bch_data_invalidate() local 169 static void bch_data_insert_endio(struct bio *bio) in bch_data_insert_endio() 190 struct bio *bio = op->bio, *n; in bch_data_insert_start() local 363 static bool check_should_bypass(struct cached_dev *dc, struct bio *bio) in check_should_bypass() 467 struct bbio bio; member 485 static void bch_cache_read_endio(struct bio *bio) in bch_cache_read_endio() 516 struct bio *n, *bio = &s->bio.bio; in cache_lookup_fn() local 581 struct bio *bio = &s->bio.bio; in cache_lookup() local 621 static void request_endio(struct bio *bio) in request_endio() [all …]
|
| D | io.c | 17 void bch_bbio_free(struct bio *bio, struct cache_set *c) in bch_bbio_free() 27 struct bio *bio = &b->bio; in bch_bbio_alloc() local 34 void __bch_submit_bbio(struct bio *bio, struct cache_set *c) in __bch_submit_bbio() 45 void bch_submit_bbio(struct bio *bio, struct cache_set *c, in bch_submit_bbio() 55 void bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio) in bch_count_backing_io_errors() 136 void bch_bbio_count_io_errors(struct cache_set *c, struct bio *bio, in bch_bbio_count_io_errors() 166 void bch_bbio_endio(struct cache_set *c, struct bio *bio, in bch_bbio_endio()
|
| /kernel/linux/linux-4.19/drivers/md/bcache/ |
| D | io.c | 17 void bch_bbio_free(struct bio *bio, struct cache_set *c) in bch_bbio_free() 27 struct bio *bio = &b->bio; in bch_bbio_alloc() local 34 void __bch_submit_bbio(struct bio *bio, struct cache_set *c) in __bch_submit_bbio() 45 void bch_submit_bbio(struct bio *bio, struct cache_set *c, in bch_submit_bbio() 55 void bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio) in bch_count_backing_io_errors() 136 void bch_bbio_count_io_errors(struct cache_set *c, struct bio *bio, in bch_bbio_count_io_errors() 166 void bch_bbio_endio(struct cache_set *c, struct bio *bio, in bch_bbio_endio()
|
| D | request.c | 40 static void bio_csum(struct bio *bio, struct bkey *k) in bio_csum() 123 struct bio *bio = op->bio; in bch_data_invalidate() local 181 static void bch_data_insert_endio(struct bio *bio) in bch_data_insert_endio() 202 struct bio *bio = op->bio, *n; in bch_data_insert_start() local 375 static bool check_should_bypass(struct cached_dev *dc, struct bio *bio) in check_should_bypass() 478 struct bbio bio; member 495 static void bch_cache_read_endio(struct bio *bio) in bch_cache_read_endio() 526 struct bio *n, *bio = &s->bio.bio; in cache_lookup_fn() local 591 struct bio *bio = &s->bio.bio; in cache_lookup() local 631 static void request_endio(struct bio *bio) in request_endio() [all …]
|
| /kernel/linux/linux-4.19/fs/crypto/ |
| D | bio.c | 29 static void __fscrypt_decrypt_bio(struct bio *bio, bool done) in __fscrypt_decrypt_bio() 50 void fscrypt_decrypt_bio(struct bio *bio) in fscrypt_decrypt_bio() 60 struct bio *bio = ctx->r.bio; in completion_pages() local 67 void fscrypt_enqueue_decrypt_bio(struct fscrypt_ctx *ctx, struct bio *bio) in fscrypt_enqueue_decrypt_bio() 101 struct bio *bio; in fscrypt_zeroout_range() local
|
| /kernel/linux/linux-4.19/drivers/nvme/target/ |
| D | io-cmd-bdev.c | 47 static void nvmet_bio_done(struct bio *bio) in nvmet_bio_done() 61 struct bio *bio = &req->b.inline_bio; in nvmet_bdev_execute_rw() local 116 struct bio *bio = &req->b.inline_bio; in nvmet_bdev_execute_flush() local 135 struct nvme_dsm_range *range, struct bio **bio) in nvmet_bdev_discard_range() 151 struct bio *bio = NULL; in nvmet_bdev_execute_discard() local 198 struct bio *bio = NULL; in nvmet_bdev_execute_write_zeroes() local
|
| /kernel/linux/linux-5.10/drivers/nvme/target/ |
| D | io-cmd-bdev.c | 162 static void nvmet_bio_done(struct bio *bio) in nvmet_bio_done() 172 static int nvmet_bdev_alloc_bip(struct nvmet_req *req, struct bio *bio, in nvmet_bdev_alloc_bip() 219 static int nvmet_bdev_alloc_bip(struct nvmet_req *req, struct bio *bio, in nvmet_bdev_alloc_bip() 229 struct bio *bio; in nvmet_bdev_execute_rw() local 319 struct bio *bio = &req->b.inline_bio; in nvmet_bdev_execute_flush() local 341 struct nvme_dsm_range *range, struct bio **bio) in nvmet_bdev_discard_range() 360 struct bio *bio = NULL; in nvmet_bdev_execute_discard() local 408 struct bio *bio = NULL; in nvmet_bdev_execute_write_zeroes() local
|