Home
last modified time | relevance | path

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

123

/linux-6.6.21/fs/btrfs/
Draid56.c95 WARN_ON(!bio_list_empty(&rbio->bio_list)); in free_raid_bio()
335 bio_list_merge(&dest->bio_list, &victim->bio_list); in merge_rbio()
340 bio_list_init(&victim->bio_list); in merge_rbio()
388 if (bio_list_empty(&rbio->bio_list)) { in __remove_rbio_from_cache()
669 if (bio_list_empty(&cur->bio_list) && in lock_stripe_add()
760 BUG_ON(!bio_list_empty(&rbio->bio_list)); in unlock_stripe()
827 struct bio *cur = bio_list_get(&rbio->bio_list); in rbio_orig_end_io()
851 extra = bio_list_get(&rbio->bio_list); in rbio_orig_end_io()
940 bio_list_init(&rbio->bio_list); in alloc_rbio()
1036 struct bio_list *bio_list, in rbio_add_io_sector() argument
[all …]
Draid56.h38 struct bio_list bio_list; member
/linux-6.6.21/include/linux/
Dbio.h550 struct bio_list { struct
555 static inline int bio_list_empty(const struct bio_list *bl) in bio_list_empty() argument
560 static inline void bio_list_init(struct bio_list *bl) in bio_list_init()
570 static inline unsigned bio_list_size(const struct bio_list *bl) in bio_list_size()
581 static inline void bio_list_add(struct bio_list *bl, struct bio *bio) in bio_list_add()
593 static inline void bio_list_add_head(struct bio_list *bl, struct bio *bio) in bio_list_add_head()
603 static inline void bio_list_merge(struct bio_list *bl, struct bio_list *bl2) in bio_list_merge()
616 static inline void bio_list_merge_head(struct bio_list *bl, in bio_list_merge_head()
617 struct bio_list *bl2) in bio_list_merge_head()
630 static inline struct bio *bio_list_peek(struct bio_list *bl) in bio_list_peek()
[all …]
Ddm-region-hash.h37 struct bio_list;
40 struct bio_list *bios),
78 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.6.21/drivers/md/
Ddm-bio-prison-v1.h57 struct bio_list bios;
105 struct bio_list *bios);
108 struct bio_list *inmates);
Ddm-raid1.c65 struct bio_list reads;
66 struct bio_list writes;
67 struct bio_list failures;
68 struct bio_list holds; /* bios are waiting until suspend */
130 struct bio_list *bl; in queue_bio()
142 static void dispatch_bios(void *context, struct bio_list *bio_list) in dispatch_bios() argument
147 while ((bio = bio_list_pop(bio_list))) in dispatch_bios()
567 static void do_reads(struct mirror_set *ms, struct bio_list *reads) in do_reads()
687 static void do_writes(struct mirror_set *ms, struct bio_list *writes) in do_writes()
691 struct bio_list sync, nosync, recover, *this_list = NULL; in do_writes()
[all …]
Ddm-bio-prison-v2.h54 struct bio_list bios;
149 struct bio_list *bios);
Ddm-bio-prison-v1.c215 struct bio_list *inmates) in __cell_release()
228 struct bio_list *bios) in dm_cell_release()
243 struct bio_list *inmates) in __cell_release_no_holder()
251 struct bio_list *inmates) in dm_cell_release_no_holder()
265 struct bio_list bios; in dm_cell_error()
Draid1-10.c34 struct bio_list pending;
171 if (current->bio_list) in raid1_prepare_flush_writes()
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.c96 void (*dispatch_bios)(void *context, struct bio_list *bios);
114 struct bio_list delayed_bios;
166 struct bio_list *bios), in dm_region_hash_create()
529 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.c320 struct bio_list *bios) in __unlock()
338 struct bio_list *bios) in dm_cell_unlock_v2()
Ddm-thin.c263 struct bio_list deferred_flush_bios;
264 struct bio_list deferred_flush_completions;
353 struct bio_list deferred_bio_list;
354 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-ebs-target.c28 struct bio_list bios_in; /* Worker bios input list. */
184 struct bio_list bios; in __ebs_process_bios()
Ddm-core.h97 struct bio_list deferred;
Ddm-cache-target.c93 struct bio_list bios;
107 struct bio_list bios; in __commit()
351 struct bio_list deferred_bios;
565 static void defer_bios(struct cache *cache, struct bio_list *bios) in defer_bios()
1171 struct bio_list bios; in mg_complete()
1456 struct bio_list bios; in invalidate_complete()
1813 struct bio_list bios; in process_deferred_bios()
1847 struct bio_list bios; in requeue_deferred_bios()
/linux-6.6.21/block/
Dblk-core.c637 struct bio_list bio_list_on_stack[2]; in __submit_bio_noacct()
642 current->bio_list = bio_list_on_stack; in __submit_bio_noacct()
646 struct bio_list lower, same; in __submit_bio_noacct()
676 current->bio_list = NULL; in __submit_bio_noacct()
681 struct bio_list bio_list[2] = { }; in __submit_bio_noacct_mq() local
683 current->bio_list = bio_list; in __submit_bio_noacct_mq()
687 } while ((bio = bio_list_pop(&bio_list[0]))); in __submit_bio_noacct_mq()
689 current->bio_list = NULL; in __submit_bio_noacct_mq()
712 if (current->bio_list) in submit_bio_noacct_nocheck()
713 bio_list_add(&current->bio_list[0], bio); in submit_bio_noacct_nocheck()
Dbio.c381 struct bio_list punt, nopunt; in punt_bios_to_rescuer()
400 while ((bio = bio_list_pop(&current->bio_list[0]))) in punt_bios_to_rescuer()
402 current->bio_list[0] = nopunt; in punt_bios_to_rescuer()
405 while ((bio = bio_list_pop(&current->bio_list[1]))) in punt_bios_to_rescuer()
407 current->bio_list[1] = nopunt; in punt_bios_to_rescuer()
537 if (current->bio_list && in bio_alloc_bioset()
538 (!bio_list_empty(&current->bio_list[0]) || in bio_alloc_bioset()
539 !bio_list_empty(&current->bio_list[1])) && in bio_alloc_bioset()
Dblk-throttle.h31 struct bio_list bios; /* queued bios */
/linux-6.6.21/fs/
Ddirect-io.c136 struct bio *bio_list; /* singly linked via bi_private */ member
387 bio->bi_private = dio->bio_list; in dio_bio_end_io()
388 dio->bio_list = bio; in dio_bio_end_io()
478 while (dio->refcount > 1 && dio->bio_list == NULL) { in dio_await_one()
487 if (dio->bio_list) { in dio_await_one()
488 bio = dio->bio_list; in dio_await_one()
489 dio->bio_list = bio->bi_private; in dio_await_one()
549 while (dio->bio_list) { in dio_bio_reap()
555 bio = dio->bio_list; in dio_bio_reap()
556 dio->bio_list = bio->bi_private; in dio_bio_reap()
/linux-6.6.21/drivers/s390/block/
Ddasd_diag.h79 struct dasd_diag_bio *bio_list; member

123