Home
last modified time | relevance | path

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

/linux-6.1.9/block/
Dbfq-iosched.c2678 static sector_t bfq_io_struct_pos(void *io_struct, bool request) in bfq_io_struct_pos() argument
2681 return blk_rq_pos(io_struct); in bfq_io_struct_pos()
2683 return ((struct bio *)io_struct)->bi_iter.bi_sector; in bfq_io_struct_pos()
2686 static int bfq_rq_close_to_sector(void *io_struct, bool request, in bfq_rq_close_to_sector() argument
2689 return abs(bfq_io_struct_pos(io_struct, request) - sector) <= in bfq_rq_close_to_sector()
2885 void *io_struct, bool request, struct bfq_io_cq *bic) in bfq_setup_cooperator() argument
2997 if (!io_struct || unlikely(bfqq == &bfqd->oom_bfqq)) in bfq_setup_cooperator()
3008 bfq_rq_close_to_sector(io_struct, request, in bfq_setup_cooperator()
3022 bfq_io_struct_pos(io_struct, request)); in bfq_setup_cooperator()