Home
last modified time | relevance | path

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

/linux-6.12.1/block/
Dbfq-iosched.c2666 static sector_t bfq_io_struct_pos(void *io_struct, bool request) in bfq_io_struct_pos() argument
2669 return blk_rq_pos(io_struct); in bfq_io_struct_pos()
2671 return ((struct bio *)io_struct)->bi_iter.bi_sector; in bfq_io_struct_pos()
2674 static int bfq_rq_close_to_sector(void *io_struct, bool request, in bfq_rq_close_to_sector() argument
2677 return abs(bfq_io_struct_pos(io_struct, request) - sector) <= in bfq_rq_close_to_sector()
2907 void *io_struct, bool request, struct bfq_io_cq *bic) in bfq_setup_cooperator() argument
3006 if (!io_struct || unlikely(bfqq == &bfqd->oom_bfqq)) in bfq_setup_cooperator()
3017 bfq_rq_close_to_sector(io_struct, request, in bfq_setup_cooperator()
3031 bfq_io_struct_pos(io_struct, request)); in bfq_setup_cooperator()