Searched refs:io_struct (Results 1 – 1 of 1) sorted by relevance
2672 static sector_t bfq_io_struct_pos(void *io_struct, bool request) in bfq_io_struct_pos() argument2675 return blk_rq_pos(io_struct); in bfq_io_struct_pos()2677 return ((struct bio *)io_struct)->bi_iter.bi_sector; in bfq_io_struct_pos()2680 static int bfq_rq_close_to_sector(void *io_struct, bool request, in bfq_rq_close_to_sector() argument2683 return abs(bfq_io_struct_pos(io_struct, request) - sector) <= in bfq_rq_close_to_sector()2879 void *io_struct, bool request, struct bfq_io_cq *bic) in bfq_setup_cooperator() argument2991 if (!io_struct || unlikely(bfqq == &bfqd->oom_bfqq)) in bfq_setup_cooperator()3002 bfq_rq_close_to_sector(io_struct, request, in bfq_setup_cooperator()3016 bfq_io_struct_pos(io_struct, request)); in bfq_setup_cooperator()