Home
last modified time | relevance | path

Searched refs:bio_list (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v5.15/fs/btrfs/
Draid56.c88 struct bio_list bio_list; member
325 bio_list_merge(&dest->bio_list, &victim->bio_list); in merge_rbio()
328 bio_list_init(&victim->bio_list); in merge_rbio()
376 if (bio_list_empty(&rbio->bio_list)) { in __remove_rbio_from_cache()
682 if (bio_list_empty(&cur->bio_list) && in lock_stripe_add()
772 BUG_ON(!bio_list_empty(&rbio->bio_list)); in unlock_stripe()
832 WARN_ON(!bio_list_empty(&rbio->bio_list)); in __free_raid_bio()
864 struct bio *cur = bio_list_get(&rbio->bio_list); in rbio_orig_end_io()
879 extra = bio_list_get(&rbio->bio_list); in rbio_orig_end_io()
985 bio_list_init(&rbio->bio_list); in alloc_rbio()
[all …]
/Linux-v5.15/include/linux/
Dbio.h531 struct bio_list { struct
536 static inline int bio_list_empty(const struct bio_list *bl) in bio_list_empty() argument
541 static inline void bio_list_init(struct bio_list *bl) in bio_list_init()
551 static inline unsigned bio_list_size(const struct bio_list *bl) in bio_list_size()
562 static inline void bio_list_add(struct bio_list *bl, struct bio *bio) in bio_list_add()
574 static inline void bio_list_add_head(struct bio_list *bl, struct bio *bio) in bio_list_add_head()
584 static inline void bio_list_merge(struct bio_list *bl, struct bio_list *bl2) in bio_list_merge()
597 static inline void bio_list_merge_head(struct bio_list *bl, in bio_list_merge_head()
598 struct bio_list *bl2) in bio_list_merge_head()
611 static inline struct bio *bio_list_peek(struct bio_list *bl) in bio_list_peek()
[all …]
Ddm-region-hash.h34 struct bio_list;
37 struct bio_list *bios),
75 void dm_rh_inc_pending(struct dm_region_hash *rh, struct bio_list *bios);
Dpktcdvd.h71 struct bio_list read_queue;
72 struct bio_list write_queue;
112 struct bio_list orig_bios; /* Original bios passed to pkt_make_request */
Dsched.h42 struct bio_list;
1161 struct bio_list *bio_list; member
/Linux-v5.15/drivers/md/
Ddm-bio-prison-v1.h46 struct bio_list bios;
89 struct bio_list *bios);
92 struct bio_list *inmates);
Ddm-raid1.c60 struct bio_list reads;
61 struct bio_list writes;
62 struct bio_list failures;
63 struct bio_list holds; /* bios are waiting until suspend */
125 struct bio_list *bl; in queue_bio()
137 static void dispatch_bios(void *context, struct bio_list *bio_list) in dispatch_bios() argument
142 while ((bio = bio_list_pop(bio_list))) in dispatch_bios()
559 static void do_reads(struct mirror_set *ms, struct bio_list *reads) in do_reads()
679 static void do_writes(struct mirror_set *ms, struct bio_list *writes) in do_writes()
683 struct bio_list sync, nosync, recover, *this_list = NULL; in do_writes()
[all …]
Ddm-bio-prison-v2.h53 struct bio_list bios;
148 struct bio_list *bios);
Ddm-bio-prison-v1.c185 struct bio_list *inmates) in __cell_release()
198 struct bio_list *bios) in dm_cell_release()
211 struct bio_list *inmates) in __cell_release_no_holder()
219 struct bio_list *inmates) in dm_cell_release_no_holder()
232 struct bio_list bios; in dm_cell_error()
Ddm-clone-target.c107 struct bio_list deferred_bios;
108 struct bio_list deferred_discard_bios;
109 struct bio_list deferred_flush_bios;
110 struct bio_list deferred_flush_completions;
308 static void fail_bios(struct bio_list *bios, blk_status_t status) in fail_bios()
318 static void submit_bios(struct bio_list *bios) in submit_bios()
385 static void issue_deferred_bios(struct clone *clone, struct bio_list *bios) in issue_deferred_bios()
389 struct bio_list flush_bios = BIO_EMPTY_LIST; in issue_deferred_bios()
390 struct bio_list normal_bios = BIO_EMPTY_LIST; in issue_deferred_bios()
536 struct bio_list deferred_bios;
[all …]
Ddm-zoned-target.c34 struct bio_list bio_list; member
62 struct bio_list flush_list;
470 WARN_ON(!bio_list_empty(&cw->bio_list)); in dmz_put_chunk_work()
488 while ((bio = bio_list_pop(&cw->bio_list))) { in dmz_chunk_work()
559 bio_list_init(&cw->bio_list); in dmz_queue_chunk_work()
568 bio_list_add(&cw->bio_list, bio); in dmz_queue_chunk_work()
Ddm-region-hash.c93 void (*dispatch_bios)(void *context, struct bio_list *bios);
111 struct bio_list delayed_bios;
163 struct bio_list *bios), in dm_region_hash_create()
526 void dm_rh_inc_pending(struct dm_region_hash *rh, struct bio_list *bios) in dm_rh_inc_pending()
Draid1.h89 struct bio_list pending_bio_list;
Draid10.h77 struct bio_list pending_bio_list;
Ddm-bio-prison-v2.c319 struct bio_list *bios) in __unlock()
337 struct bio_list *bios) in dm_cell_unlock_v2()
Ddm-thin.c260 struct bio_list deferred_flush_bios;
261 struct bio_list deferred_flush_completions;
352 struct bio_list deferred_bio_list;
353 struct bio_list retry_on_resume_list;
468 struct bio_list *bios) in cell_release()
485 struct bio_list *bios) in cell_release_no_holder()
594 static void __merge_bio_list(struct bio_list *bios, struct bio_list *master) in __merge_bio_list()
600 static void error_bio_list(struct bio_list *bios, blk_status_t error) in error_bio_list()
610 static void error_thin_bio_list(struct thin_c *tc, struct bio_list *master, in error_thin_bio_list()
613 struct bio_list bios; in error_thin_bio_list()
[all …]
Ddm-core.h74 struct bio_list deferred;
Ddm-ebs-target.c27 struct bio_list bios_in; /* Worker bios input list. */
182 struct bio_list bios; in __ebs_process_bios()
Ddm-cache-target.c92 struct bio_list bios;
106 struct bio_list bios; in __commit()
350 struct bio_list deferred_bios;
561 static void defer_bios(struct cache *cache, struct bio_list *bios) in defer_bios()
1166 struct bio_list bios; in mg_complete()
1447 struct bio_list bios; in invalidate_complete()
1797 struct bio_list bios; in process_deferred_bios()
1829 struct bio_list bios; in requeue_deferred_bios()
/Linux-v5.15/block/
Dblk-core.c957 struct bio_list bio_list_on_stack[2]; in __submit_bio_noacct()
963 current->bio_list = bio_list_on_stack; in __submit_bio_noacct()
967 struct bio_list lower, same; in __submit_bio_noacct()
997 current->bio_list = NULL; in __submit_bio_noacct()
1003 struct bio_list bio_list[2] = { }; in __submit_bio_noacct_mq() local
1006 current->bio_list = bio_list; in __submit_bio_noacct_mq()
1010 } while ((bio = bio_list_pop(&bio_list[0]))); in __submit_bio_noacct_mq()
1012 current->bio_list = NULL; in __submit_bio_noacct_mq()
1033 if (current->bio_list) { in submit_bio_noacct()
1034 bio_list_add(&current->bio_list[0], bio); in submit_bio_noacct()
[all …]
Dbio.c29 struct bio_list free_list;
364 struct bio_list punt, nopunt; in punt_bios_to_rescuer()
383 while ((bio = bio_list_pop(&current->bio_list[0]))) in punt_bios_to_rescuer()
385 current->bio_list[0] = nopunt; in punt_bios_to_rescuer()
388 while ((bio = bio_list_pop(&current->bio_list[1]))) in punt_bios_to_rescuer()
390 current->bio_list[1] = nopunt; in punt_bios_to_rescuer()
460 if (current->bio_list && in bio_alloc_bioset()
461 (!bio_list_empty(&current->bio_list[0]) || in bio_alloc_bioset()
462 !bio_list_empty(&current->bio_list[1])) && in bio_alloc_bioset()
/Linux-v5.15/fs/
Ddirect-io.c138 struct bio *bio_list; /* singly linked via bi_private */ member
382 bio->bi_private = dio->bio_list; in dio_bio_end_io()
383 dio->bio_list = bio; in dio_bio_end_io()
480 while (dio->refcount > 1 && dio->bio_list == NULL) { in dio_await_one()
491 if (dio->bio_list) { in dio_await_one()
492 bio = dio->bio_list; in dio_await_one()
493 dio->bio_list = bio->bi_private; in dio_await_one()
552 while (dio->bio_list) { in dio_bio_reap()
558 bio = dio->bio_list; in dio_bio_reap()
559 dio->bio_list = bio->bi_private; in dio_bio_reap()
/Linux-v5.15/drivers/s390/block/
Ddasd_diag.h79 struct dasd_diag_bio *bio_list; member
Ddasd_diag.c185 private->iob.bio_list = dreq->bio; in dasd_start_diag()
419 private->iob.bio_list = bio; in dasd_diag_check_device()
/Linux-v5.15/drivers/target/
Dtarget_core_iblock.c370 static void iblock_submit_bios(struct bio_list *list) in iblock_submit_bios()
488 struct bio_list list; in iblock_execute_write_same()
723 struct bio_list list; in iblock_execute_rw()

12