Home
last modified time | relevance | path

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

123

/linux-6.1.9/fs/btrfs/
Draid56.c273 bio_list_merge(&dest->bio_list, &victim->bio_list); in merge_rbio()
278 bio_list_init(&victim->bio_list); in merge_rbio()
326 if (bio_list_empty(&rbio->bio_list)) { in __remove_rbio_from_cache()
631 if (bio_list_empty(&cur->bio_list) && in lock_stripe_add()
721 BUG_ON(!bio_list_empty(&rbio->bio_list)); in unlock_stripe()
781 WARN_ON(!bio_list_empty(&rbio->bio_list)); in __free_raid_bio()
813 struct bio *cur = bio_list_get(&rbio->bio_list); in rbio_orig_end_io()
832 extra = bio_list_get(&rbio->bio_list); in rbio_orig_end_io()
941 bio_list_init(&rbio->bio_list); in alloc_rbio()
1015 struct bio_list *bio_list, in rbio_add_io_sector() argument
[all …]
Draid56.h39 struct bio_list bio_list; member
/linux-6.1.9/include/linux/
Dbio.h524 struct bio_list { struct
529 static inline int bio_list_empty(const struct bio_list *bl) in bio_list_empty() argument
534 static inline void bio_list_init(struct bio_list *bl) in bio_list_init()
544 static inline unsigned bio_list_size(const struct bio_list *bl) in bio_list_size()
555 static inline void bio_list_add(struct bio_list *bl, struct bio *bio) in bio_list_add()
567 static inline void bio_list_add_head(struct bio_list *bl, struct bio *bio) in bio_list_add_head()
577 static inline void bio_list_merge(struct bio_list *bl, struct bio_list *bl2) in bio_list_merge()
590 static inline void bio_list_merge_head(struct bio_list *bl, in bio_list_merge_head()
591 struct bio_list *bl2) in bio_list_merge_head()
604 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 */
/linux-6.1.9/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()
557 static void do_reads(struct mirror_set *ms, struct bio_list *reads) in do_reads()
677 static void do_writes(struct mirror_set *ms, struct bio_list *writes) in do_writes()
681 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;
469 WARN_ON(!bio_list_empty(&cw->bio_list)); in dmz_put_chunk_work()
487 while ((bio = bio_list_pop(&cw->bio_list))) { in dmz_chunk_work()
558 bio_list_init(&cw->bio_list); in dmz_queue_chunk_work()
567 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;
Draid1-10.c33 struct bio_list pending;
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;
350 struct bio_list deferred_bio_list;
351 struct bio_list retry_on_resume_list;
466 struct bio_list *bios) in cell_release()
483 struct bio_list *bios) in cell_release_no_holder()
592 static void __merge_bio_list(struct bio_list *bios, struct bio_list *master) in __merge_bio_list()
598 static void error_bio_list(struct bio_list *bios, blk_status_t error) in error_bio_list()
608 static void error_thin_bio_list(struct thin_c *tc, struct bio_list *master, in error_thin_bio_list()
611 struct bio_list bios; in error_thin_bio_list()
[all …]
Ddm-core.h94 struct bio_list deferred;
Ddm-ebs-target.c27 struct bio_list bios_in; /* Worker bios input list. */
183 struct bio_list bios; in __ebs_process_bios()
/linux-6.1.9/block/
Dblk-core.c618 struct bio_list bio_list_on_stack[2]; in __submit_bio_noacct()
623 current->bio_list = bio_list_on_stack; in __submit_bio_noacct()
627 struct bio_list lower, same; in __submit_bio_noacct()
657 current->bio_list = NULL; in __submit_bio_noacct()
662 struct bio_list bio_list[2] = { }; in __submit_bio_noacct_mq() local
664 current->bio_list = bio_list; in __submit_bio_noacct_mq()
668 } while ((bio = bio_list_pop(&bio_list[0]))); in __submit_bio_noacct_mq()
670 current->bio_list = NULL; in __submit_bio_noacct_mq()
681 if (current->bio_list) in submit_bio_noacct_nocheck()
682 bio_list_add(&current->bio_list[0], bio); in submit_bio_noacct_nocheck()
Dbio.c376 struct bio_list punt, nopunt; in punt_bios_to_rescuer()
395 while ((bio = bio_list_pop(&current->bio_list[0]))) in punt_bios_to_rescuer()
397 current->bio_list[0] = nopunt; in punt_bios_to_rescuer()
400 while ((bio = bio_list_pop(&current->bio_list[1]))) in punt_bios_to_rescuer()
402 current->bio_list[1] = nopunt; in punt_bios_to_rescuer()
515 if (current->bio_list && in bio_alloc_bioset()
516 (!bio_list_empty(&current->bio_list[0]) || in bio_alloc_bioset()
517 !bio_list_empty(&current->bio_list[1])) && in bio_alloc_bioset()
Dblk-throttle.h31 struct bio_list bios; /* queued bios */
/linux-6.1.9/fs/
Ddirect-io.c136 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()
472 while (dio->refcount > 1 && dio->bio_list == NULL) { in dio_await_one()
481 if (dio->bio_list) { in dio_await_one()
482 bio = dio->bio_list; in dio_await_one()
483 dio->bio_list = bio->bi_private; in dio_await_one()
543 while (dio->bio_list) { in dio_bio_reap()
549 bio = dio->bio_list; in dio_bio_reap()
550 dio->bio_list = bio->bi_private; in dio_bio_reap()
/linux-6.1.9/drivers/s390/block/
Ddasd_diag.h79 struct dasd_diag_bio *bio_list; member
/linux-6.1.9/drivers/target/
Dtarget_core_iblock.c371 static void iblock_submit_bios(struct bio_list *list) in iblock_submit_bios()
488 struct bio_list list; in iblock_execute_write_same()
725 struct bio_list list; in iblock_execute_rw()

123