Searched refs:io_struct (Results 1 – 1 of 1) sorted by relevance
2028 static sector_t bfq_io_struct_pos(void *io_struct, bool request) in bfq_io_struct_pos() argument2031 return blk_rq_pos(io_struct); in bfq_io_struct_pos()2033 return ((struct bio *)io_struct)->bi_iter.bi_sector; in bfq_io_struct_pos()2036 static int bfq_rq_close_to_sector(void *io_struct, bool request, in bfq_rq_close_to_sector() argument2039 return abs(bfq_io_struct_pos(io_struct, request) - sector) <= in bfq_rq_close_to_sector()2224 void *io_struct, bool request) in bfq_setup_cooperator() argument2246 if (!io_struct || unlikely(bfqq == &bfqd->oom_bfqq)) in bfq_setup_cooperator()2257 bfq_rq_close_to_sector(io_struct, request, in bfq_setup_cooperator()2271 bfq_io_struct_pos(io_struct, request)); in bfq_setup_cooperator()