/linux/include/linux/ |
A D | bio.h | 20 #define bio_prio(bio) (bio)->bi_ioprio argument 23 #define bio_iter_iovec(bio, iter) \ argument 26 #define bio_iter_page(bio, iter) \ argument 28 #define bio_iter_len(bio, iter) \ argument 30 #define bio_iter_offset(bio, iter) \ argument 46 #define bio_data_dir(bio) \ argument 440 #define bio_dev(bio) \ argument 497 #define bio_list_for_each(bio, bl) \ argument 503 struct bio *bio; in bio_list_size() local 567 struct bio *bio = bl->head; in bio_list_pop() local [all …]
|
A D | blk_types.h | 237 struct bio { struct 238 struct bio *bi_next; /* request queue link */ argument 253 bio_end_io_t *bi_end_io; argument 257 * Represents the association of the css and request_queue for the bio. argument 263 struct bio_issue bi_issue; argument 270 struct bio_crypt_ctx *bi_crypt_context; argument 279 unsigned short bi_vcnt; /* how many bio_vec's */ argument 291 struct bio_set *bi_pool; argument 294 * We can inline a number of vecs at the end of the bio, to avoid argument 298 struct bio_vec bi_inline_vecs[]; argument [all …]
|
/linux/block/ |
A D | bio.c | 209 void bio_uninit(struct bio *bio) in bio_uninit() 303 void bio_reset(struct bio *bio) in bio_reset() 350 struct bio *bio; in bio_alloc_rescue() local 367 struct bio *bio; in punt_bios_to_rescuer() local 437 struct bio *bio; in bio_alloc_bioset() local 517 struct bio *bio; in bio_kmalloc() local 631 struct bio *bio; in bio_alloc_cache_prune() local 679 void bio_put(struct bio *bio) in bio_put() 1387 struct bio *bio, *next; in bio_dirty_fn() local 1456 void bio_endio(struct bio *bio) in bio_endio() [all …]
|
A D | blk-merge.c | 96 struct bio *bio, in blk_bio_discard_split() 154 struct bio *bio, in blk_bio_write_same_split() 178 struct bio *bio) in get_max_io_size() 279 struct bio *bio, in blk_bio_segment_split() 384 void blk_queue_split(struct bio **bio) in blk_queue_split() 408 struct bio *bio = rq->bio; in blk_recalc_rq_segments() local 720 struct bio *bio; in blk_rq_set_mixed_merge() local 964 struct bio *bio, unsigned int nr_segs) in bio_attempt_back_merge() 988 struct bio *bio, unsigned int nr_segs) in bio_attempt_front_merge() 1014 struct request *req, struct bio *bio) in bio_attempt_discard_merge() [all …]
|
A 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()
|
A D | blk-map.c | 107 static int bio_uncopy_user(struct bio *bio) in bio_uncopy_user() 134 struct bio *bio; in bio_copy_user_iov() local 237 struct bio *bio; in bio_map_user_iov() local 323 static void bio_map_kern_endio(struct bio *bio) in bio_map_kern_endio() 349 struct bio *bio; in bio_map_kern() local 390 static void bio_copy_kern_endio(struct bio *bio) in bio_copy_kern_endio() 396 static void bio_copy_kern_endio_read(struct bio *bio) in bio_copy_kern_endio_read() 427 struct bio *bio; in bio_copy_kern() local 527 struct bio *bio = NULL; in blk_rq_map_user_iov() local 589 int blk_rq_unmap_user(struct bio *bio) in blk_rq_unmap_user() [all …]
|
A D | blk-core.c | 622 static inline bool bio_check_ro(struct bio *bio) in bio_check_ro() 670 static int blk_partition_remap(struct bio *bio) in blk_partition_remap() 690 struct bio *bio) in blk_check_zone_append() 846 static void __submit_bio(struct bio *bio) in __submit_bio() 941 void submit_bio_noacct(struct bio *bio) in submit_bio_noacct() 971 void submit_bio(struct bio *bio) in submit_bio() 1060 struct bio *bio; in iocb_bio_iopoll() local 1196 struct bio *bio; in blk_rq_err_bytes() local 1400 struct bio *bio; in blk_rq_unprep_clone() local 1429 int (*bio_ctr)(struct bio *, struct bio *, void *), in blk_rq_prep_clone() [all …]
|
A D | bio-integrity.c | 48 struct bio_integrity_payload *bio_integrity_alloc(struct bio *bio, in bio_integrity_alloc() 101 void bio_integrity_free(struct bio *bio) in bio_integrity_free() 123 int bio_integrity_add_page(struct bio *bio, struct page *page, in bio_integrity_add_page() 156 static blk_status_t bio_integrity_process(struct bio *bio, in bio_integrity_process() 198 bool bio_integrity_prep(struct bio *bio) in bio_integrity_prep() 320 struct bio *bio = bip->bip_bio; in bio_integrity_verify_fn() local 345 bool __bio_integrity_endio(struct bio *bio) in __bio_integrity_endio() 370 void bio_integrity_advance(struct bio *bio, unsigned int bytes_done) in bio_integrity_advance() 386 void bio_integrity_trim(struct bio *bio) in bio_integrity_trim() 403 int bio_integrity_clone(struct bio *bio, struct bio *bio_src, in bio_integrity_clone()
|
A D | blk-lib.c | 13 struct bio *blk_next_bio(struct bio *bio, unsigned int nr_pages, gfp_t gfp) in blk_next_bio() 31 struct bio *bio = *biop; in __blkdev_issue_discard() local 135 struct bio *bio = NULL; in blkdev_issue_discard() local 172 struct bio *bio = *biop; in __blkdev_issue_write_same() local 231 struct bio *bio = NULL; in blkdev_issue_write_same() local 251 struct bio *bio = *biop; in __blkdev_issue_write_zeroes() local 308 struct bio *bio = *biop; in __blkdev_issue_zero_pages() local 398 struct bio *bio; in blkdev_issue_zeroout() local
|
A D | blk.h | 85 static inline int bio_queue_enter(struct bio *bio) in bio_queue_enter() 176 static inline bool bio_integrity_endio(struct bio *bio) in bio_integrity_endio() 199 struct bio *bio) in integrity_req_gap_front_merge() 227 struct bio *bio) in integrity_req_gap_front_merge() 235 static inline bool bio_integrity_endio(struct bio *bio) in bio_integrity_endio() 239 static inline void bio_integrity_free(struct bio *bio) in bio_integrity_free() 305 static inline bool blk_may_split(struct request_queue *q, struct bio *bio) in blk_may_split() 420 static inline void blk_throtl_bio_endio(struct bio *bio) { } in blk_throtl_bio_endio() 433 static inline void blk_queue_bounce(struct request_queue *q, struct bio **bio) in blk_queue_bounce() 480 static inline void bio_clear_polled(struct bio *bio) in bio_clear_polled()
|
A D | blk-crypto.c | 81 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, in bio_crypt_set_ctx() 100 void __bio_crypt_free_ctx(struct bio *bio) in __bio_crypt_free_ctx() 135 void __bio_crypt_advance(struct bio *bio, unsigned int bytes) in __bio_crypt_advance() 184 bool bio_crypt_rq_ctx_compatible(struct request *rq, struct bio *bio) in bio_crypt_rq_ctx_compatible() 204 static bool bio_crypt_check_alignment(struct bio *bio) in bio_crypt_check_alignment() 266 struct bio *bio = *bio_ptr; in __blk_crypto_bio_prep() local 296 int __blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio, in __blk_crypto_rq_bio_prep()
|
A D | bounce.c | 102 static void bounce_end_io(struct bio *bio) in bounce_end_io() 126 static void bounce_end_io_write(struct bio *bio) in bounce_end_io_write() 131 static void bounce_end_io_read(struct bio *bio) in bounce_end_io_read() 145 struct bio *bio; in bounce_clone_bio() local 212 struct bio *bio; in __blk_queue_bounce() local
|
/linux/drivers/md/bcache/ |
A 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()
|
A D | request.c | 111 struct bio *bio = op->bio; in bch_data_invalidate() local 190 struct bio *bio = op->bio, *n; in bch_data_insert_start() local 467 struct bbio bio; member 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() 686 struct bio *bio = &s->bio.bio; in do_bio_hook() local 780 struct bio *bio = &s->bio.bio; in cached_dev_read_error() local 972 struct bio *bio = &s->bio.bio; in cached_dev_write() local 1056 struct bio *bio = &s->bio.bio; in cached_dev_nodata() local [all …]
|
A D | movinggc.c | 19 struct bbio bio; member 48 struct bio *bio = &io->bio.bio; in write_moving_finish() local 62 static void read_moving_endio(struct bio *bio) in read_moving_endio() 80 struct bio *bio = &io->bio.bio; in moving_init() local 119 struct bio *bio = &io->bio.bio; in read_moving_submit() local 130 struct bio *bio; in read_moving() local
|
/linux/drivers/nvme/target/ |
A D | io-cmd-bdev.c | 171 static void nvmet_bio_done(struct bio *bio) in nvmet_bio_done() 180 static int nvmet_bdev_alloc_bip(struct nvmet_req *req, struct bio *bio, in nvmet_bdev_alloc_bip() 226 static int nvmet_bdev_alloc_bip(struct nvmet_req *req, struct bio *bio, in nvmet_bdev_alloc_bip() 236 struct bio *bio; in nvmet_bdev_execute_rw() local 326 struct bio *bio = &req->b.inline_bio; in nvmet_bdev_execute_flush() local 348 struct nvme_dsm_range *range, struct bio **bio) in nvmet_bdev_discard_range() 367 struct bio *bio = NULL; in nvmet_bdev_execute_discard() local 415 struct bio *bio = NULL; in nvmet_bdev_execute_write_zeroes() local
|
/linux/fs/ext4/ |
A D | readpage.c | 64 struct bio *bio; member 70 static void __read_end_io(struct bio *bio) in __read_end_io() 110 struct bio *bio = ctx->bio; in verity_work() local 157 static bool bio_post_read_required(struct bio *bio) in bio_post_read_required() 174 static void mpage_end_io(struct bio *bio) in mpage_end_io() 192 static void ext4_set_bio_post_read_ctx(struct bio *bio, in ext4_set_bio_post_read_ctx() 227 struct bio *bio = NULL; in ext4_mpage_readpages() local
|
/linux/fs/f2fs/ |
A D | iostat.h | 44 static inline void iostat_update_submit_ctx(struct bio *bio, in iostat_update_submit_ctx() 53 static inline struct bio_post_read_ctx *get_post_read_ctx(struct bio *bio) in get_post_read_ctx() 70 static inline void iostat_update_and_unbind_ctx(struct bio *bio, int rw) {} in iostat_update_and_unbind_ctx() 72 struct bio *bio, struct bio_post_read_ctx *ctx) {} in iostat_alloc_and_bind_ctx() 73 static inline void iostat_update_submit_ctx(struct bio *bio, in iostat_update_submit_ctx() 75 static inline struct bio_post_read_ctx *get_post_read_ctx(struct bio *bio) in get_post_read_ctx()
|
/linux/mm/ |
A D | page_io.c | 29 void end_swap_bio_write(struct bio *bio) in end_swap_bio_write() 101 static void end_swap_bio_read(struct bio *bio) in end_swap_bio_read() 267 static void bio_associate_blkg_from_page(struct bio *bio, struct page *page) in bio_associate_blkg_from_page() 282 #define bio_associate_blkg_from_page(bio, page) do { } while (0) argument 288 struct bio *bio; in __swap_writepage() local 358 struct bio *bio; in swap_readpage() local
|
/linux/drivers/md/ |
A D | dm-raid1.c | 140 struct bio *bio; in dispatch_bios() local 163 static struct mirror *bio_get_m(struct bio *bio) in bio_get_m() 168 static void bio_set_m(struct bio *bio, struct mirror *m) in bio_set_m() 458 static void map_bio(struct mirror *m, struct bio *bio) in map_bio() 465 struct bio *bio) in map_region() 507 struct bio *bio = context; in read_callback() local 562 struct bio *bio; in do_reads() local 599 struct bio *bio = (struct bio *) context; in write_callback() local 682 struct bio *bio; in do_writes() local 789 struct bio *bio; in do_failures() local [all …]
|
A D | dm-zoned-target.c | 22 struct bio *bio; member 117 struct bio *bio, sector_t chunk_block, in dmz_submit_bio() 171 struct bio *bio) in dmz_handle_read() 251 struct dm_zone *zone, struct bio *bio, in dmz_handle_direct_write() 284 struct dm_zone *zone, struct bio *bio, in dmz_handle_buffered_write() 320 struct bio *bio) in dmz_handle_write() 359 struct bio *bio) in dmz_handle_discard() 397 struct bio *bio) in dmz_handle_bio() 483 struct bio *bio; in dmz_chunk_work() local 507 struct bio *bio; in dmz_flush_work() local [all …]
|
A D | dm-thin.c | 384 struct bio *bio; member 602 struct bio *bio; in error_bio_list() local 826 struct bio *bio; member 910 struct bio *bio; in __inc_remap_and_issue_cell() local 932 struct bio *bio; in inc_remap_and_issue_cell() local 1636 struct bio *bio; in retry_bios_on_resume() local 1818 struct bio *bio; in __remap_and_issue_shared_cell() local 1838 struct bio *bio; in remap_and_issue_shared_cell() local 2132 struct bio *bio; in __extract_sorted_bios() local 2147 struct bio *bio; in __sort_thin_deferred_bios() local [all …]
|
A D | dm-cache-target.c | 105 struct bio *bio; in __commit() local 143 void (*issue_op)(struct bio *bio, void *), in batcher_init() 520 static unsigned lock_level(struct bio *bio) in lock_level() 552 static void defer_bio(struct cache *cache, struct bio *bio) in defer_bio() 816 static void issue_op(struct bio *bio, void *context) in issue_op() 1000 static bool discard_or_flush(struct bio *bio) in discard_or_flush() 1118 static void overwrite_endio(struct bio *bio) in overwrite_endio() 1135 struct bio *bio = mg->overwrite_bio; in overwrite() local 1548 dm_oblock_t oblock, struct bio *bio) in invalidate_start() 1798 struct bio *bio; in process_deferred_bios() local [all …]
|
A D | raid1.c | 150 struct bio *bio; in r1buf_pool_alloc() local 242 struct bio **bio = r1_bio->bios + i; in put_all_bios() local 264 struct bio *bio = r1_bio->bios[i]; in put_buf() local 298 struct bio *bio = r1_bio->master_bio; in call_bio_endio() local 310 struct bio *bio = r1_bio->master_bio; in raid_end_bio_io() local 824 struct bio *bio; in flush_pending_writes() local 1102 struct bio *bio) in alloc_behind_master_bio() 1161 struct bio *bio; in raid1_unplug() local 2490 struct bio *bio; in handle_read_error() local 2616 struct bio *bio; in raid1_alloc_init_r1buf() local [all …]
|
A D | dm-clone-target.c | 269 static bool bio_triggers_commit(struct clone *clone, struct bio *bio) in bio_triggers_commit() 288 static void bio_region_range(struct clone *clone, struct bio *bio, in bio_region_range() 310 struct bio *bio; in fail_bios() local 320 struct bio *bio; in submit_bios() local 339 static void issue_bio(struct clone *clone, struct bio *bio) in issue_bio() 372 static void remap_and_issue(struct clone *clone, struct bio *bio) in remap_and_issue() 387 struct bio *bio; in issue_deferred_bios() local 837 static void overwrite_endio(struct bio *bio) in overwrite_endio() 1178 struct bio *bio; in process_deferred_discards() local 1230 struct bio *bio; in process_deferred_flush_bios() local [all …]
|