Lines Matching refs:bio_list
87 struct bio_list bio_list;
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);
339 bio_list_init(&victim->bio_list);
383 * If the bio_list was empty, we also remove
387 if (bio_list_empty(&rbio->bio_list)) {
693 if (bio_list_empty(&cur->bio_list) &&
783 BUG_ON(!bio_list_empty(&rbio->bio_list));
843 WARN_ON(!bio_list_empty(&rbio->bio_list));
871 * bio_list and calls end_io on them
875 struct bio *cur = bio_list_get(&rbio->bio_list);
888 * At this moment, rbio->bio_list is empty, however since rbio does not
890 * hash list, rbio may be merged with others so that rbio->bio_list
892 * Once unlock_stripe() is done, rbio->bio_list will not be updated any
896 extra = bio_list_get(&rbio->bio_list);
941 * that are outside the bio_list
1002 bio_list_init(&rbio->bio_list);
1088 struct bio_list *bio_list,
1094 struct bio *last = bio_list->tail;
1133 bio_list_add(bio_list, bio);
1170 bio_list_for_each(bio, &rbio->bio_list) {
1206 struct bio_list bio_list;
1210 bio_list_init(&bio_list);
1289 * higher layers (the bio_list in our rbio) and our p/q. Ignore
1308 ret = rbio_add_io_page(rbio, &bio_list,
1337 ret = rbio_add_io_page(rbio, &bio_list, page,
1346 atomic_set(&rbio->stripes_pending, bio_list_size(&bio_list));
1349 while ((bio = bio_list_pop(&bio_list))) {
1361 while ((bio = bio_list_pop(&bio_list)))
1517 struct bio_list bio_list;
1523 bio_list_init(&bio_list);
1557 ret = rbio_add_io_page(rbio, &bio_list, page,
1564 bios_to_read = bio_list_size(&bio_list);
1580 while ((bio = bio_list_pop(&bio_list))) {
1595 while ((bio = bio_list_pop(&bio_list)))
1678 u64 a_sector = ra->bio_list.head->bi_iter.bi_sector;
1679 u64 b_sector = rb->bio_list.head->bi_iter.bi_sector;
1754 /* Add the original bio into rbio->bio_list, and update rbio::dbitmap. */
1768 bio_list_add(&rbio->bio_list, orig_bio);
2082 struct bio_list bio_list;
2088 bio_list_init(&bio_list);
2111 ret = rbio_add_io_page(rbio, &bio_list,
2119 bios_to_read = bio_list_size(&bio_list);
2139 while ((bio = bio_list_pop(&bio_list))) {
2156 while ((bio = bio_list_pop(&bio_list)))
2284 bio_list_add(&rbio->bio_list, bio);
2372 struct bio_list bio_list;
2377 bio_list_init(&bio_list);
2465 * higher layers (the bio_list in our rbio) and our p/q. Ignore
2472 ret = rbio_add_io_page(rbio, &bio_list,
2485 ret = rbio_add_io_page(rbio, &bio_list, page,
2493 nr_data = bio_list_size(&bio_list);
2502 while ((bio = bio_list_pop(&bio_list))) {
2514 while ((bio = bio_list_pop(&bio_list)))
2619 struct bio_list bio_list;
2625 bio_list_init(&bio_list);
2657 ret = rbio_add_io_page(rbio, &bio_list, page,
2664 bios_to_read = bio_list_size(&bio_list);
2680 while ((bio = bio_list_pop(&bio_list))) {
2695 while ((bio = bio_list_pop(&bio_list)))
2731 bio_list_add(&rbio->bio_list, bio);