Home
last modified time | relevance | path

Searched refs:bio (Results 1 – 2 of 2) sorted by relevance

/kernel/trace/
Dblktrace.c755 blk_trace_bio_get_cgid(struct request_queue *q, struct bio *bio) in blk_trace_bio_get_cgid() argument
762 if (!bio->bi_blkg) in blk_trace_bio_get_cgid()
764 return cgroup_get_kernfs_id(bio_blkcg(bio)->css.cgroup); in blk_trace_bio_get_cgid()
768 blk_trace_bio_get_cgid(struct request_queue *q, struct bio *bio) in blk_trace_bio_get_cgid() argument
777 if (!rq->bio) in blk_trace_request_get_cgid()
780 return blk_trace_bio_get_cgid(q, rq->bio); in blk_trace_request_get_cgid()
857 static void blk_add_trace_bio(struct request_queue *q, struct bio *bio, in blk_add_trace_bio() argument
865 __blk_add_trace(bt, bio->bi_iter.bi_sector, bio->bi_iter.bi_size, in blk_add_trace_bio()
866 bio_op(bio), bio->bi_opf, what, error, 0, NULL, in blk_add_trace_bio()
867 blk_trace_bio_get_cgid(q, bio)); in blk_add_trace_bio()
[all …]
/kernel/power/
Dswap.c238 static void hib_end_io(struct bio *bio) in hib_end_io() argument
240 struct hib_bio_batch *hb = bio->bi_private; in hib_end_io()
241 struct page *page = bio_first_page_all(bio); in hib_end_io()
243 if (bio->bi_status) { in hib_end_io()
245 MAJOR(bio_dev(bio)), MINOR(bio_dev(bio)), in hib_end_io()
246 (unsigned long long)bio->bi_iter.bi_sector); in hib_end_io()
249 if (bio_data_dir(bio) == WRITE) in hib_end_io()
255 if (bio->bi_status && !hb->error) in hib_end_io()
256 hb->error = bio->bi_status; in hib_end_io()
260 bio_put(bio); in hib_end_io()
[all …]