Lines Matching refs:next
94 * the stripe lock to the next pending IO
434 rbio = list_entry(table->stripe_cache.next,
666 * the next rbio on the list is run and the IO is started automatically.
755 * rbios waiting for this stripe, the next one on the list will be started
796 struct btrfs_raid_bio *next;
797 struct list_head *head = rbio->plug_list.next;
799 next = list_entry(head, struct btrfs_raid_bio,
804 list_add(&next->hash_list, &h->hash_list);
805 refcount_inc(&next->refs);
809 if (next->operation == BTRFS_RBIO_READ_REBUILD)
810 start_async_work(next, read_rebuild_work);
811 else if (next->operation == BTRFS_RBIO_REBUILD_MISSING) {
812 steal_rbio(rbio, next);
813 start_async_work(next, read_rebuild_work);
814 } else if (next->operation == BTRFS_RBIO_WRITE) {
815 steal_rbio(rbio, next);
816 start_async_work(next, rmw_work);
817 } else if (next->operation == BTRFS_RBIO_PARITY_SCRUB) {
818 steal_rbio(rbio, next);
819 start_async_work(next, scrub_parity_work);
858 struct bio *next;
861 next = cur->bi_next;
865 cur = next;
1700 cur = list_entry(plug->rbio_list.next,