/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | raid56.c | 95 WARN_ON(!bio_list_empty(&rbio->bio_list)); in free_raid_bio() 326 * merging means we take the bio_list from the victim and 335 bio_list_merge(&dest->bio_list, &victim->bio_list); in merge_rbio() 340 bio_list_init(&victim->bio_list); in merge_rbio() 384 * If the bio_list was empty, we also remove in __remove_rbio_from_cache() 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() 823 * bio_list an 1035 rbio_add_io_sector(struct btrfs_raid_bio *rbio, struct bio_list *bio_list, struct sector_ptr *sector, unsigned int stripe_nr, unsigned int sector_nr, enum req_op op) rbio_add_io_sector() argument 1176 bio_list_put(struct bio_list *bio_list) bio_list_put() argument 1226 rmw_assemble_write_bios(struct btrfs_raid_bio *rbio, struct bio_list *bio_list) rmw_assemble_write_bios() argument 1507 submit_read_wait_bio_list(struct btrfs_raid_bio *rbio, struct bio_list *bio_list) submit_read_wait_bio_list() argument 1916 struct bio_list bio_list = BIO_EMPTY_LIST; recover_rbio() local 2134 struct bio_list bio_list = BIO_EMPTY_LIST; rmw_read_wait_recover() local 2185 submit_write_bios(struct btrfs_raid_bio *rbio, struct bio_list *bio_list) submit_write_bios() argument 2228 struct bio_list bio_list; rmw_rbio() local 2412 struct bio_list bio_list; finish_parity_scrub() local 2645 struct bio_list bio_list = BIO_EMPTY_LIST; scrub_assemble_read_bios() local [all...] |
H A D | raid56.h | 35 * bio_list and bio_list_lock are used to add more bios into the stripe 38 struct bio_list bio_list; member 80 * Size of all the bios in the bio_list. This helps us decide if the 109 /* Pointers to the sectors in the bio_list, for faster lookup */
|
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | raid56.c | 87 struct bio_list bio_list; member 135 * size of all the bios in the bio_list. This 160 * pointers to the pages in the bio_list. Stored 324 * merging means we take the bio_list from the victim and 333 bio_list_merge(&dest->bio_list, &victim->bio_list); in merge_rbio() 339 bio_list_init(&victim->bio_list); in merge_rbio() 383 * If the bio_list was empty, we also remove in __remove_rbio_from_cache() 387 if (bio_list_empty(&rbio->bio_list)) { in __remove_rbio_from_cache() 1087 rbio_add_io_page(struct btrfs_raid_bio *rbio, struct bio_list *bio_list, struct page *page, int stripe_nr, unsigned long page_index, unsigned long bio_max_len) rbio_add_io_page() argument 1206 struct bio_list bio_list; finish_rmw() local 1517 struct bio_list bio_list; raid56_rmw_stripe() local 2082 struct bio_list bio_list; __raid56_parity_recover() local 2372 struct bio_list bio_list; finish_parity_scrub() local 2619 struct bio_list bio_list; raid56_parity_scrub_stripe() local [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | bio.h | 546 * A bio_list anchors a singly-linked list of bios chained through the bi_next 547 * member of the bio. The bio_list also caches the last list member to allow 550 struct bio_list { struct 555 static inline int bio_list_empty(const struct bio_list *bl) in bio_list_empty() 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 *bl [all...] |
H A D | dm-region-hash.h | 34 struct bio_list; 37 struct bio_list *bios), 75 void dm_rh_inc_pending(struct dm_region_hash *rh, struct bio_list *bios);
|
H A D | pktcdvd.h | 71 struct bio_list read_queue; 72 struct bio_list write_queue; 112 struct bio_list orig_bios; /* Original bios passed to pkt_make_request */
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | bio.h | 546 * A bio_list anchors a singly-linked list of bios chained through the bi_next 547 * member of the bio. The bio_list also caches the last list member to allow 550 struct bio_list { struct 555 static inline int bio_list_empty(const struct bio_list *bl) in bio_list_empty() 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 *bl [all...] |
H A D | dm-region-hash.h | 37 struct bio_list; 40 struct bio_list *bios), 78 void dm_rh_inc_pending(struct dm_region_hash *rh, struct bio_list *bios);
|
H A D | pktcdvd.h | 71 struct bio_list read_queue; 72 struct bio_list write_queue; 112 struct bio_list orig_bios; /* Original bios passed to pkt_make_request */
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-bio-prison-v1.h | 46 struct bio_list bios; 89 struct bio_list *bios); 92 struct bio_list *inmates);
|
H A D | dm-bio-prison-v2.h | 53 struct bio_list bios; 148 struct bio_list *bios);
|
H A D | dm-raid1.c | 60 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 *write [all...] |
H A D | dm-bio-prison-v1.c | 185 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()
|
H A D | dm-clone-target.c | 113 struct bio_list deferred_bios; 114 struct bio_list deferred_discard_bios; 115 struct bio_list deferred_flush_bios; 116 struct bio_list deferred_flush_completions; 314 static void fail_bios(struct bio_list *bios, blk_status_t status) in fail_bios() 324 static void submit_bios(struct bio_list *bios) in submit_bios() 391 static void issue_deferred_bios(struct clone *clone, struct bio_list *bios) in issue_deferred_bios() 395 struct bio_list flush_bios = BIO_EMPTY_LIST; in issue_deferred_bios() 396 struct bio_list normal_bios = BIO_EMPTY_LIST; in issue_deferred_bios() 542 struct bio_list deferred_bio [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-bio-prison-v1.h | 57 struct bio_list bios; 105 struct bio_list *bios); 108 struct bio_list *inmates);
|
H A D | dm-bio-prison-v2.h | 54 struct bio_list bios; 149 struct bio_list *bios);
|
H A D | dm-raid1.c | 65 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 *write [all...] |
H A D | dm-bio-prison-v1.c | 215 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()
|
H A D | raid1-10.c | 34 struct bio_list pending; 164 * current->bio_list will be set under submit_bio() context, in this case bitmap 171 if (current->bio_list) in raid1_prepare_flush_writes()
|
H A D | dm-zoned-target.c | 34 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()
|
H A D | dm-clone-target.c | 107 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_bio [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | blk-core.c | 623 * bio_list to a pointer to the bio_list_on_stack, thus initialising the 624 * bio_list of new bios to be added. ->submit_bio() may indeed add some more 626 * non-NULL value in bio_list and re-enter the loop from the top. 628 * pretending) and so remove it from bio_list, and call into ->submit_bio() 637 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() 649 * Create a fresh bio_list for all subordinate requests. in __submit_bio_noacct() 676 current->bio_list = NULL; in __submit_bio_noacct() 681 struct bio_list bio_lis in __submit_bio_noacct_mq() local [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | direct-io.c | 138 struct bio *bio_list; /* singly linked via bi_private */ member 374 * implement a singly-linked list of completed BIOs, at dio->bio_list. 382 bio->bi_private = dio->bio_list; in dio_bio_end_io() 383 dio->bio_list = bio; in dio_bio_end_io() 478 while (dio->refcount > 1 && dio->bio_list == NULL) { in dio_await_one() 489 if (dio->bio_list) { in dio_await_one() 490 bio = dio->bio_list; in dio_await_one() 491 dio->bio_list = bio->bi_private; in dio_await_one() 550 while (dio->bio_list) { in dio_bio_reap() 556 bio = dio->bio_list; in dio_bio_reap() [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | direct-io.c | 136 struct bio *bio_list; /* singly linked via bi_private */ member 379 * implement a singly-linked list of completed BIOs, at dio->bio_list. 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() [all...] |
/kernel/linux/linux-5.10/block/ |
H A D | blk-core.c | 941 * bio_list to a pointer to the bio_list_on_stack, thus initialising the 942 * bio_list of new bios to be added. ->submit_bio() may indeed add some more 944 * non-NULL value in bio_list and re-enter the loop from the top. 946 * pretending) and so remove it from bio_list, and call into ->submit_bio() 955 struct bio_list bio_list_on_stack[2]; in __submit_bio_noacct() 961 current->bio_list = bio_list_on_stack; in __submit_bio_noacct() 965 struct bio_list lower, same; in __submit_bio_noacct() 971 * Create a fresh bio_list for all subordinate requests. in __submit_bio_noacct() 998 current->bio_list = NULL; in __submit_bio_noacct() 1004 struct bio_list bio_lis in __submit_bio_noacct_mq() local [all...] |