Home
last modified time | relevance | path

Searched defs:bio (Results 1 – 25 of 233) sorted by relevance

12345678910

/linux-6.6.21/include/linux/
Dbio.h22 #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
28 #define bio_iter_page(bio, iter) \ argument
30 #define bio_iter_len(bio, iter) \ argument
32 #define bio_iter_offset(bio, iter) \ argument
35 #define bio_page(bio) bio_iter_page((bio), (bio)->bi_iter) argument
36 #define bio_offset(bio) bio_iter_offset((bio), (bio)->bi_iter) argument
37 #define bio_iovec(bio) bio_iter_iovec((bio), (bio)->bi_iter) argument
42 #define bio_sectors(bio) bvec_iter_sectors((bio)->bi_iter) argument
[all …]
Dblk_types.h265 struct bio { struct
266 struct bio *bi_next; /* request queue link */ argument
279 bio_end_io_t *bi_end_io; argument
283 * Represents the association of the css and request_queue for the bio. argument
289 struct bio_issue bi_issue; argument
296 struct bio_crypt_ctx *bi_crypt_context; argument
305 unsigned short bi_vcnt; /* how many bio_vec's */ argument
315 struct bio_vec *bi_io_vec; /* the actual vec list */ argument
317 struct bio_set *bi_pool; argument
320 * We can inline a number of vecs at the end of the bio, to avoid argument
[all …]
/linux-6.6.21/block/
Dbio.c214 void bio_uninit(struct bio *bio) in bio_uninit()
229 static void bio_free(struct bio *bio) in bio_free()
246 void bio_init(struct bio *bio, struct block_device *bdev, struct bio_vec *table, in bio_init()
300 void bio_reset(struct bio *bio, struct block_device *bdev, blk_opf_t opf) 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()
348 struct bio *blk_next_bio(struct bio *bio, struct block_device *bdev, in blk_next_bio()
365 struct bio *bio; in bio_alloc_rescue() local
382 struct bio *bio; in punt_bios_to_rescuer() local
[all …]
Dblk-merge.c21 static inline void bio_get_first_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_first_bvec()
26 static inline void bio_get_last_bvec(struct bio *bio, struct bio_vec *bv) in bio_get_last_bvec()
88 static inline bool req_gap_back_merge(struct request *req, struct bio *bio) in req_gap_back_merge()
93 static inline bool req_gap_front_merge(struct request *req, struct bio *bio) in req_gap_front_merge()
108 static struct bio *bio_split_discard(struct bio *bio, in bio_split_discard()
149 static struct bio *bio_split_write_zeroes(struct bio *bio, in bio_split_write_zeroes()
169 static inline unsigned get_max_io_size(struct bio *bio, in get_max_io_size()
279 struct bio *bio_split_rw(struct bio *bio, const struct queue_limits *lim, in bio_split_rw()
354 struct bio *__bio_split_to_limits(struct bio *bio, in __bio_split_to_limits()
401 struct bio *bio_split_to_limits(struct bio *bio) in bio_split_to_limits()
[all …]
Dblk-map.c48 static int bio_copy_from_iter(struct bio *bio, struct iov_iter *iter) in bio_copy_from_iter()
79 static int bio_copy_to_iter(struct bio *bio, struct iov_iter iter) in bio_copy_to_iter()
109 static int bio_uncopy_user(struct bio *bio) in bio_uncopy_user()
136 struct bio *bio; in bio_copy_user_iov() local
243 static void blk_mq_map_bio_put(struct bio *bio) in blk_mq_map_bio_put()
256 struct bio *bio; in blk_rq_map_bio_alloc() local
278 struct bio *bio; in bio_map_user_iov() local
359 static void bio_invalidate_vmalloc_pages(struct bio *bio) in bio_invalidate_vmalloc_pages()
372 static void bio_map_kern_endio(struct bio *bio) in bio_map_kern_endio()
399 struct bio *bio; in bio_map_kern() local
[all …]
Dbio-integrity.c48 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()
169 static blk_status_t bio_integrity_process(struct bio *bio, in bio_integrity_process()
212 bool bio_integrity_prep(struct bio *bio) in bio_integrity_prep()
317 struct bio *bio = bip->bip_bio; in bio_integrity_verify_fn() local
342 bool __bio_integrity_endio(struct bio *bio) in __bio_integrity_endio()
367 void bio_integrity_advance(struct bio *bio, unsigned int bytes_done) in bio_integrity_advance()
383 void bio_integrity_trim(struct bio *bio) in bio_integrity_trim()
400 int bio_integrity_clone(struct bio *bio, struct bio *bio_src, in bio_integrity_clone()
Dblk-crypto-internal.h37 struct bio *bio) in bio_crypt_ctx_back_mergeable()
44 struct bio *bio) in bio_crypt_ctx_front_mergeable()
97 struct bio *bio) in bio_crypt_rq_ctx_compatible()
103 struct bio *bio) in bio_crypt_ctx_front_mergeable()
109 struct bio *bio) in bio_crypt_ctx_back_mergeable()
135 static inline void bio_crypt_advance(struct bio *bio, unsigned int bytes) in bio_crypt_advance()
142 static inline void bio_crypt_free_ctx(struct bio *bio) in bio_crypt_free_ctx()
149 struct bio *bio) in bio_crypt_do_front_merge()
200 static inline int blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio, in blk_crypto_rq_bio_prep()
Dblk-core.c338 int __bio_queue_enter(struct request_queue *q, struct bio *bio) in __bio_queue_enter()
499 static inline void bio_check_ro(struct bio *bio) in bio_check_ro()
518 static noinline int should_fail_bio(struct bio *bio) in should_fail_bio()
531 static inline int bio_check_eod(struct bio *bio) in bio_check_eod()
551 static int blk_partition_remap(struct bio *bio) in blk_partition_remap()
571 struct bio *bio) in blk_check_zone_append()
601 static void __submit_bio(struct bio *bio) in __submit_bio()
635 static void __submit_bio_noacct(struct bio *bio) in __submit_bio_noacct()
679 static void __submit_bio_noacct_mq(struct bio *bio) in __submit_bio_noacct_mq()
692 void submit_bio_noacct_nocheck(struct bio *bio) in submit_bio_noacct_nocheck()
[all …]
Dblk.h64 static inline int bio_queue_enter(struct bio *bio) in bio_queue_enter()
186 static inline bool bio_integrity_endio(struct bio *bio) in bio_integrity_endio()
210 struct bio *bio) in integrity_req_gap_front_merge()
238 struct bio *bio) in integrity_req_gap_front_merge()
246 static inline bool bio_integrity_endio(struct bio *bio) in bio_integrity_endio()
250 static inline void bio_integrity_free(struct bio *bio) in bio_integrity_free()
296 static inline bool bio_may_exceed_limits(struct bio *bio, in bio_may_exceed_limits()
375 static inline void blk_throtl_bio_endio(struct bio *bio) { } in blk_throtl_bio_endio()
388 static inline struct bio *blk_queue_bounce(struct bio *bio, in blk_queue_bounce()
446 static inline void bio_release_page(struct bio *bio, struct page *page) in bio_release_page()
Dblk-crypto.c91 void bio_crypt_set_ctx(struct bio *bio, const struct blk_crypto_key *key, in bio_crypt_set_ctx()
110 void __bio_crypt_free_ctx(struct bio *bio) in __bio_crypt_free_ctx()
144 void __bio_crypt_advance(struct bio *bio, unsigned int bytes) in __bio_crypt_advance()
193 bool bio_crypt_rq_ctx_compatible(struct request *rq, struct bio *bio) in bio_crypt_rq_ctx_compatible()
213 static bool bio_crypt_check_alignment(struct bio *bio) in bio_crypt_check_alignment()
275 struct bio *bio = *bio_ptr; in __blk_crypto_bio_prep() local
303 int __blk_crypto_rq_bio_prep(struct request *rq, struct bio *bio, in __blk_crypto_rq_bio_prep()
Dbounce.c102 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
204 struct bio *bio; in __blk_queue_bounce() local
Dblk-lib.c41 struct bio *bio = *biop; in __blkdev_issue_discard() local
100 struct bio *bio = NULL; in blkdev_issue_discard() local
122 struct bio *bio = *biop; in __blkdev_issue_write_zeroes() local
172 struct bio *bio = *biop; in __blkdev_issue_zero_pages() local
257 struct bio *bio; in blkdev_issue_zeroout() local
308 struct bio *bio = NULL; in blkdev_issue_secure_erase() local
/linux-6.6.21/drivers/md/bcache/
Drequest.c40 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 …]
Dio.c17 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
35 void __bch_submit_bbio(struct bio *bio, struct cache_set *c) in __bch_submit_bbio()
46 void bch_submit_bbio(struct bio *bio, struct cache_set *c, in bch_submit_bbio()
56 void bch_count_backing_io_errors(struct cached_dev *dc, struct bio *bio) in bch_count_backing_io_errors()
137 void bch_bbio_count_io_errors(struct cache_set *c, struct bio *bio, in bch_bbio_count_io_errors()
167 void bch_bbio_endio(struct cache_set *c, struct bio *bio, in bch_bbio_endio()
Dmovinggc.c19 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-6.6.21/drivers/md/
Ddm-io-rewind.c56 static void dm_bio_integrity_rewind(struct bio *bio, unsigned int bytes_done) in dm_bio_integrity_rewind()
68 static inline void dm_bio_integrity_rewind(struct bio *bio, in dm_bio_integrity_rewind()
94 static void dm_bio_crypt_rewind(struct bio *bio, unsigned int bytes) in dm_bio_crypt_rewind()
104 static inline void dm_bio_crypt_rewind(struct bio *bio, unsigned int bytes) in dm_bio_crypt_rewind()
110 static inline void dm_bio_rewind_iter(const struct bio *bio, in dm_bio_rewind_iter()
132 static void dm_bio_rewind(struct bio *bio, unsigned int bytes) in dm_bio_rewind()
Ddm-thin.c385 struct bio *bio; member
443 static int bio_detain(struct pool *pool, struct dm_cell_key *key, struct bio *bio, in bio_detain()
602 struct bio *bio; in error_bio_list() local
677 static dm_block_t get_bio_block(struct thin_c *tc, struct bio *bio) in get_bio_block()
693 static void get_bio_block_range(struct thin_c *tc, struct bio *bio, in get_bio_block_range()
718 static void remap(struct thin_c *tc, struct bio *bio, dm_block_t block) in remap()
733 static void remap_to_origin(struct thin_c *tc, struct bio *bio) in remap_to_origin()
738 static int bio_triggers_commit(struct thin_c *tc, struct bio *bio) in bio_triggers_commit()
744 static void inc_all_io_entry(struct pool *pool, struct bio *bio) in inc_all_io_entry()
755 static void issue(struct thin_c *tc, struct bio *bio) in issue()
[all …]
Ddm-zoned-target.c22 struct bio *bio; member
75 static inline void dmz_bio_endio(struct bio *bio, blk_status_t status) in dmz_bio_endio()
117 struct bio *bio, sector_t chunk_block, in dmz_submit_bio()
153 static void dmz_handle_read_zero(struct dmz_target *dmz, struct bio *bio, in dmz_handle_read_zero()
170 struct bio *bio) in dmz_handle_read()
250 struct dm_zone *zone, struct bio *bio, in dmz_handle_direct_write()
283 struct dm_zone *zone, struct bio *bio, in dmz_handle_buffered_write()
319 struct bio *bio) in dmz_handle_write()
358 struct bio *bio) in dmz_handle_discard()
396 struct bio *bio) in dmz_handle_bio()
[all …]
Ddm-raid1.c126 static void queue_bio(struct mirror_set *ms, struct bio *bio, int rw) in queue_bio()
145 struct bio *bio; in dispatch_bios() local
168 static struct mirror *bio_get_m(struct bio *bio) in bio_get_m()
173 static void bio_set_m(struct bio *bio, struct mirror *m) in bio_set_m()
445 static int mirror_available(struct mirror_set *ms, struct bio *bio) in mirror_available()
459 static sector_t map_sector(struct mirror *m, struct bio *bio) in map_sector()
466 static void map_bio(struct mirror *m, struct bio *bio) in map_bio()
473 struct bio *bio) in map_region()
480 static void hold_bio(struct mirror_set *ms, struct bio *bio) in hold_bio()
517 struct bio *bio = context; in read_callback() local
[all …]
Draid1-10.c23 #define BIO_SPECIAL(bio) ((unsigned long)bio <= 2) argument
90 static inline struct resync_pages *get_resync_pages(struct bio *bio) in get_resync_pages()
96 static void md_bio_reset_resync_pages(struct bio *bio, struct resync_pages *rp, in md_bio_reset_resync_pages()
117 static inline void raid1_submit_write(struct bio *bio) in raid1_submit_write()
133 static inline bool raid1_add_bio_to_plug(struct mddev *mddev, struct bio *bio, in raid1_add_bio_to_plug()
/linux-6.6.21/fs/ext4/
Dreadpage.c63 struct bio *bio; member
69 static void __read_end_io(struct bio *bio) in __read_end_io()
93 struct bio *bio = ctx->bio; in decrypt_work() local
105 struct bio *bio = ctx->bio; in verity_work() local
152 static bool bio_post_read_required(struct bio *bio) in bio_post_read_required()
169 static void mpage_end_io(struct bio *bio) in mpage_end_io()
187 static void ext4_set_bio_post_read_ctx(struct bio *bio, in ext4_set_bio_post_read_ctx()
221 struct bio *bio = NULL; in ext4_mpage_readpages() local
/linux-6.6.21/drivers/nvme/target/
Dio-cmd-bdev.c179 static void nvmet_bio_done(struct bio *bio) in nvmet_bio_done()
188 static int nvmet_bdev_alloc_bip(struct nvmet_req *req, struct bio *bio, in nvmet_bdev_alloc_bip()
233 static int nvmet_bdev_alloc_bip(struct nvmet_req *req, struct bio *bio, in nvmet_bdev_alloc_bip()
243 struct bio *bio; in nvmet_bdev_execute_rw() local
333 struct bio *bio = &req->b.inline_bio; in nvmet_bdev_execute_flush() local
362 struct nvme_dsm_range *range, struct bio **bio) in nvmet_bdev_discard_range()
381 struct bio *bio = NULL; in nvmet_bdev_execute_discard() local
429 struct bio *bio = NULL; in nvmet_bdev_execute_write_zeroes() local
/linux-6.6.21/mm/
Dpage_io.c30 static void __end_swap_bio_write(struct bio *bio) in __end_swap_bio_write()
52 static void end_swap_bio_write(struct bio *bio) in end_swap_bio_write()
58 static void __end_swap_bio_read(struct bio *bio) in __end_swap_bio_read()
72 static void end_swap_bio_read(struct bio *bio) in end_swap_bio_read()
218 static void bio_associate_blkg_from_page(struct bio *bio, struct folio *folio) in bio_associate_blkg_from_page()
233 #define bio_associate_blkg_from_page(bio, folio) do { } while (0) argument
333 struct bio bio; in swap_writepage_bdev_sync() local
354 struct bio *bio; in swap_writepage_bdev_async() local
464 struct bio bio; in swap_readpage_bdev_sync() local
483 struct bio *bio; in swap_readpage_bdev_async() local
/linux-6.6.21/fs/btrfs/
Dbio.c67 struct bio *bio; in btrfs_bio_alloc() local
80 struct bio *bio; in btrfs_split_bio() local
327 static void btrfs_log_dev_io_error(struct bio *bio, struct btrfs_device *dev) in btrfs_log_dev_io_error()
343 struct bio *bio) in btrfs_end_io_wq()
361 static void btrfs_simple_end_io(struct bio *bio) in btrfs_simple_end_io()
382 static void btrfs_raid56_end_io(struct bio *bio) in btrfs_raid56_end_io()
397 static void btrfs_orig_write_end_io(struct bio *bio) in btrfs_orig_write_end_io()
423 static void btrfs_clone_write_end_io(struct bio *bio) in btrfs_clone_write_end_io()
437 static void btrfs_submit_dev_bio(struct btrfs_device *dev, struct bio *bio) in btrfs_submit_dev_bio()
476 struct bio *orig_bio = bioc->orig_bio, *bio; in btrfs_submit_mirrored_bio() local
[all …]
/linux-6.6.21/fs/f2fs/
Diostat.h45 static inline void iostat_update_submit_ctx(struct bio *bio, in iostat_update_submit_ctx()
54 static inline struct bio_post_read_ctx *get_post_read_ctx(struct bio *bio) in get_post_read_ctx()
71 static inline void iostat_update_and_unbind_ctx(struct bio *bio) {} in iostat_update_and_unbind_ctx()
73 struct bio *bio, struct bio_post_read_ctx *ctx) {} in iostat_alloc_and_bind_ctx()
74 static inline void iostat_update_submit_ctx(struct bio *bio, in iostat_update_submit_ctx()
76 static inline struct bio_post_read_ctx *get_post_read_ctx(struct bio *bio) in get_post_read_ctx()

12345678910