Lines Matching refs:bio
460 static void blkcg_iolatency_throttle(struct rq_qos *rqos, struct bio *bio) in blkcg_iolatency_throttle() argument
463 struct blkcg_gq *blkg = bio->bi_blkg; in blkcg_iolatency_throttle()
464 bool issue_as_root = bio_issue_as_root_blkg(bio); in blkcg_iolatency_throttle()
478 (bio->bi_opf & REQ_SWAP) == REQ_SWAP); in blkcg_iolatency_throttle()
588 static void blkcg_iolatency_done_bio(struct rq_qos *rqos, struct bio *bio) in blkcg_iolatency_done_bio() argument
595 bool issue_as_root = bio_issue_as_root_blkg(bio); in blkcg_iolatency_done_bio()
599 blkg = bio->bi_blkg; in blkcg_iolatency_done_bio()
600 if (!blkg || !bio_flagged(bio, BIO_TRACKED)) in blkcg_iolatency_done_bio()
603 iolat = blkg_to_lat(bio->bi_blkg); in blkcg_iolatency_done_bio()
625 if (iolat->min_lat_nsec && bio->bi_status != BLK_STS_AGAIN) { in blkcg_iolatency_done_bio()
626 iolatency_record_time(iolat, &bio->bi_issue, now, in blkcg_iolatency_done_bio()