Lines Matching refs:bioctx
77 struct dmz_bioctx *bioctx = in dmz_bio_endio() local
82 if (bioctx->dev && bio->bi_status != BLK_STS_OK) in dmz_bio_endio()
83 bioctx->dev->flags |= DMZ_CHECK_BDEV; in dmz_bio_endio()
85 if (refcount_dec_and_test(&bioctx->ref)) { in dmz_bio_endio()
86 struct dm_zone *zone = bioctx->zone; in dmz_bio_endio()
105 struct dmz_bioctx *bioctx = clone->bi_private; in dmz_clone_endio() local
109 dmz_bio_endio(bioctx->bio, status); in dmz_clone_endio()
120 struct dmz_bioctx *bioctx = in dmz_submit_bio() local
132 bioctx->dev = dev; in dmz_submit_bio()
137 clone->bi_private = bioctx; in dmz_submit_bio()
141 refcount_inc(&bioctx->ref); in dmz_submit_bio()
398 struct dmz_bioctx *bioctx = in dmz_handle_bio() local
421 bioctx->zone = zone; in dmz_handle_bio()
629 struct dmz_bioctx *bioctx = dm_per_bio_data(bio, sizeof(struct dmz_bioctx)); in dmz_map() local
653 bioctx->dev = NULL; in dmz_map()
654 bioctx->zone = NULL; in dmz_map()
655 bioctx->bio = bio; in dmz_map()
656 refcount_set(&bioctx->ref, 1); in dmz_map()