Home
last modified time | relevance | path

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

123456789

/Linux-v4.19/include/linux/
Dbio.h51 #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 …]
Dblk_types.h144 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 …]
/Linux-v4.19/block/
Dbio.c245 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 …]
Dblk-merge.c16 struct bio *bio, in blk_bio_discard_split()
59 struct bio *bio, struct bio_set *bs, unsigned *nsegs) in blk_bio_write_zeroes_split()
73 struct bio *bio, in blk_bio_write_same_split()
89 struct bio *bio) in get_max_io_size()
101 struct bio *bio, in blk_bio_segment_split()
183 void blk_queue_split(struct request_queue *q, struct bio **bio) in blk_queue_split()
232 struct bio *bio, in __blk_recalc_rq_segments()
309 void blk_recount_segments(struct request_queue *q, struct bio *bio) in blk_recount_segments()
334 static int blk_phys_contig_segment(struct request_queue *q, struct bio *bio, in blk_phys_contig_segment()
416 static int __blk_bios_map_sg(struct request_queue *q, struct bio *bio, in __blk_bios_map_sg()
[all …]
Dbio-integrity.c51 struct bio_integrity_payload *bio_integrity_alloc(struct bio *bio, in bio_integrity_alloc()
105 static void bio_integrity_free(struct bio *bio) in bio_integrity_free()
135 int bio_integrity_add_page(struct bio *bio, struct page *page, in bio_integrity_add_page()
168 static blk_status_t bio_integrity_process(struct bio *bio, in bio_integrity_process()
214 bool bio_integrity_prep(struct bio *bio) in bio_integrity_prep()
332 struct bio *bio = bip->bip_bio; in bio_integrity_verify_fn() local
363 bool __bio_integrity_endio(struct bio *bio) in __bio_integrity_endio()
388 void bio_integrity_advance(struct bio *bio, unsigned int bytes_done) in bio_integrity_advance()
405 void bio_integrity_trim(struct bio *bio) in bio_integrity_trim()
422 int bio_integrity_clone(struct bio *bio, struct bio *bio_src, in bio_integrity_clone()
Dbounce.c143 static void bounce_end_io(struct bio *bio, mempool_t *pool) in bounce_end_io()
167 static void bounce_end_io_write(struct bio *bio) in bounce_end_io_write()
172 static void bounce_end_io_write_isa(struct bio *bio) in bounce_end_io_write_isa()
178 static void __bounce_end_io_read(struct bio *bio, mempool_t *pool) in __bounce_end_io_read()
188 static void bounce_end_io_read(struct bio *bio) in bounce_end_io_read()
193 static void bounce_end_io_read_isa(struct bio *bio) in bounce_end_io_read_isa()
203 struct bio *bio; in bounce_clone_bio() local
268 struct bio *bio; in __blk_queue_bounce() local
Dblk-map.c18 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
Dblk-lib.c13 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
111 struct bio *bio = NULL; in blkdev_issue_discard() local
148 struct bio *bio = *biop; in __blkdev_issue_write_same() local
207 struct bio *bio = NULL; in blkdev_issue_write_same() local
227 struct bio *bio = *biop; in __blkdev_issue_write_zeroes() local
284 struct bio *bio = *biop; in __blkdev_issue_zero_pages() local
374 struct bio *bio; in blkdev_issue_zeroout() local
Dblk-core.c264 static void req_bio_endio(struct request *rq, struct bio *bio, in req_bio_endio()
1347 struct bio *bio, blk_mq_req_flags_t flags, gfp_t gfp_mask) in __get_request()
1529 struct bio *bio, blk_mq_req_flags_t flags, gfp_t gfp) in get_request()
1799 struct bio *bio) in bio_attempt_back_merge()
1821 struct bio *bio) in bio_attempt_front_merge()
1845 struct bio *bio) in bio_attempt_discard_merge()
1890 bool blk_attempt_plug_merge(struct request_queue *q, struct bio *bio, in blk_attempt_plug_merge()
1970 void blk_init_request_from_bio(struct request *req, struct bio *bio) in blk_init_request_from_bio()
1989 static blk_qc_t blk_queue_bio(struct request_queue *q, struct bio *bio) in blk_queue_bio()
2116 static void handle_bad_sector(struct bio *bio, sector_t maxsector) in handle_bad_sector()
[all …]
Dblk-rq-qos.c30 void rq_qos_cleanup(struct request_queue *q, struct bio *bio) in rq_qos_cleanup()
70 void rq_qos_throttle(struct request_queue *q, struct bio *bio, in rq_qos_throttle()
81 void rq_qos_track(struct request_queue *q, struct request *rq, struct bio *bio) in rq_qos_track()
91 void rq_qos_done_bio(struct request_queue *q, struct bio *bio) in rq_qos_done_bio()
/Linux-v4.19/drivers/md/bcache/
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
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()
124 void bch_bbio_count_io_errors(struct cache_set *c, struct bio *bio, in bch_bbio_count_io_errors()
154 void bch_bbio_endio(struct cache_set *c, struct bio *bio, in bch_bbio_endio()
Drequest.c40 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()
470 struct bbio bio; member
487 static void bch_cache_read_endio(struct bio *bio) in bch_cache_read_endio()
518 struct bio *n, *bio = &s->bio.bio; in cache_lookup_fn() local
583 struct bio *bio = &s->bio.bio; in cache_lookup() local
623 static void request_endio(struct bio *bio) in request_endio()
[all …]
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-v4.19/fs/crypto/
Dbio.c29 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
/Linux-v4.19/drivers/md/
Ddm-zoned-target.c21 struct bio *bio; member
77 static inline void dmz_bio_endio(struct bio *bio, blk_status_t status) in dmz_bio_endio()
90 static void dmz_read_bio_end_io(struct bio *bio) in dmz_read_bio_end_io()
104 struct bio *bio, sector_t chunk_block, in dmz_submit_read_bio()
146 static void dmz_handle_read_zero(struct dmz_target *dmz, struct bio *bio, in dmz_handle_read_zero()
163 struct bio *bio) in dmz_handle_read()
235 struct bio *bio, sector_t chunk_block, in dmz_submit_write_bio()
256 struct dm_zone *zone, struct bio *bio, in dmz_handle_direct_write()
287 struct dm_zone *zone, struct bio *bio, in dmz_handle_buffered_write()
321 struct bio *bio) in dmz_handle_write()
[all …]
Ddm-raid1.c121 static void queue_bio(struct mirror_set *ms, struct bio *bio, int rw) in queue_bio()
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()
437 static int mirror_available(struct mirror_set *ms, struct bio *bio) in mirror_available()
451 static sector_t map_sector(struct mirror *m, struct bio *bio) in map_sector()
458 static void map_bio(struct mirror *m, struct bio *bio) in map_bio()
465 struct bio *bio) in map_region()
472 static void hold_bio(struct mirror_set *ms, struct bio *bio) in hold_bio()
507 struct bio *bio = context; in read_callback() local
[all …]
Draid1.c70 #define BIO_SPECIAL(bio) ((unsigned long)bio <= 2) argument
90 static inline struct r1bio *get_resync_r1bio(struct bio *bio) in get_resync_r1bio()
120 struct bio *bio; in r1buf_pool_alloc() local
212 struct bio **bio = r1_bio->bios + i; in put_all_bios() local
234 struct bio *bio = r1_bio->bios[i]; in put_buf() local
268 struct bio *bio = r1_bio->master_bio; in call_bio_endio() local
284 struct bio *bio = r1_bio->master_bio; in raid_end_bio_io() local
312 static int find_bio_disk(struct r1bio *r1_bio, struct bio *bio) in find_bio_disk()
328 static void raid1_end_read_request(struct bio *bio) in raid1_end_read_request()
411 static void raid1_end_write_request(struct bio *bio) in raid1_end_write_request()
[all …]
Ddm-thin.c352 struct bio *bio; member
411 static int bio_detain(struct pool *pool, struct dm_cell_key *key, struct bio *bio, in bio_detain()
570 struct bio *bio; in error_bio_list() local
648 static dm_block_t get_bio_block(struct thin_c *tc, struct bio *bio) in get_bio_block()
664 static void get_bio_block_range(struct thin_c *tc, struct bio *bio, in get_bio_block_range()
689 static void remap(struct thin_c *tc, struct bio *bio, dm_block_t block) in remap()
704 static void remap_to_origin(struct thin_c *tc, struct bio *bio) in remap_to_origin()
709 static int bio_triggers_commit(struct thin_c *tc, struct bio *bio) in bio_triggers_commit()
715 static void inc_all_io_entry(struct pool *pool, struct bio *bio) in inc_all_io_entry()
726 static void issue(struct thin_c *tc, struct bio *bio) in issue()
[all …]
Ddm-cache-target.c179 struct bio *bio; in __commit() local
217 void (*issue_op)(struct bio *bio, void *), in batcher_init()
256 static void issue_after_commit(struct batcher *b, struct bio *bio) in issue_after_commit()
296 static void dm_hook_bio(struct dm_hook_info *h, struct bio *bio, in dm_hook_bio()
305 static void dm_unhook_bio(struct dm_hook_info *h, struct bio *bio) in dm_unhook_bio()
600 static unsigned lock_level(struct bio *bio) in lock_level()
611 static struct per_bio_data *get_per_bio_data(struct bio *bio) in get_per_bio_data()
618 static struct per_bio_data *init_per_bio_data(struct bio *bio) in init_per_bio_data()
632 static void defer_bio(struct cache *cache, struct bio *bio) in defer_bio()
657 static bool bio_detain_shared(struct cache *cache, dm_oblock_t oblock, struct bio *bio) in bio_detain_shared()
[all …]
Draid10.c92 #define BIO_SPECIAL(bio) ((unsigned long)bio <= 2) argument
119 static inline struct r10bio *get_resync_r10bio(struct bio *bio) in get_resync_r10bio()
158 struct bio *bio; in r10buf_pool_alloc() local
256 struct bio *bio = r10bio->devs[j].bio; in r10buf_pool_free() local
280 struct bio **bio = & r10_bio->devs[i].bio; in put_all_bios() local
332 struct bio *bio = r10_bio->master_bio; in raid_end_bio_io() local
363 struct bio *bio, int *slotp, int *replp) in find_bio_disk()
387 static void raid10_end_read_request(struct bio *bio) in raid10_end_read_request()
465 static void raid10_end_write_request(struct bio *bio) in raid10_end_write_request()
900 struct bio *bio; in flush_pending_writes() local
[all …]
/Linux-v4.19/drivers/nvme/target/
Dio-cmd-bdev.c47 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
/Linux-v4.19/drivers/staging/erofs/
Ddata.c18 static inline void read_endio(struct bio *bio) in read_endio()
60 struct bio *bio; in erofs_get_meta_page() local
182 struct bio *bio, in erofs_read_raw_page()
324 struct bio *bio; in erofs_raw_access_readpage() local
343 struct bio *bio = NULL; in erofs_raw_access_readpages() local
/Linux-v4.19/drivers/lightnvm/
Dpblk-read.c27 static int pblk_read_from_cache(struct pblk *pblk, struct bio *bio, in pblk_read_from_cache()
42 struct bio *bio, sector_t blba, in pblk_read_ppalist_rq()
186 static void pblk_end_user_read(struct bio *bio) in pblk_end_user_read()
228 struct bio *bio = (struct bio *)r_ctx->private; in pblk_end_io_read() local
240 struct bio *bio = pr_ctx->orig_bio; in pblk_end_partial_read() local
317 struct bio *new_bio, *bio = r_ctx->private; in pblk_setup_partial_read() local
404 static void pblk_read_rq(struct pblk *pblk, struct nvm_rq *rqd, struct bio *bio, in pblk_read_rq()
445 int pblk_submit_read(struct pblk *pblk, struct bio *bio) in pblk_submit_read()
621 struct bio *bio; in pblk_submit_read_gc() local
/Linux-v4.19/mm/
Dpage_io.c33 struct bio *bio; in get_swap_bio() local
51 void end_swap_bio_write(struct bio *bio) in end_swap_bio_write()
123 static void end_swap_bio_read(struct bio *bio) in end_swap_bio_read()
281 struct bio *bio; in __swap_writepage() local
353 struct bio *bio; in swap_readpage() local
/Linux-v4.19/drivers/block/rsxx/
Ddev.c59 struct bio *bio; member
113 static void disk_stats_start(struct rsxx_cardinfo *card, struct bio *bio) in disk_stats_start()
120 struct bio *bio, in disk_stats_complete()
148 static blk_qc_t rsxx_make_request(struct request_queue *q, struct bio *bio) in rsxx_make_request()

123456789