Lines Matching refs:iter_data
269 struct bt_iter_data *iter_data = data; in bt_iter() local
270 struct blk_mq_hw_ctx *hctx = iter_data->hctx; in bt_iter()
271 struct request_queue *q = iter_data->q; in bt_iter()
282 if (!iter_data->reserved) in bt_iter()
293 ret = iter_data->fn(rq, iter_data->data); in bt_iter()
317 struct bt_iter_data iter_data = { in bt_for_each() local
325 sbitmap_for_each_set(&bt->sb, bt_iter, &iter_data); in bt_for_each()
341 struct bt_tags_iter_data *iter_data = data; in bt_tags_iter() local
342 struct blk_mq_tags *tags = iter_data->tags; in bt_tags_iter()
345 bool iter_static_rqs = !!(iter_data->flags & BT_TAG_ITER_STATIC_RQS); in bt_tags_iter()
347 if (!(iter_data->flags & BT_TAG_ITER_RESERVED)) in bt_tags_iter()
361 if (!(iter_data->flags & BT_TAG_ITER_STARTED) || in bt_tags_iter()
363 ret = iter_data->fn(rq, iter_data->data); in bt_tags_iter()
384 struct bt_tags_iter_data iter_data = { in bt_tags_for_each() local
392 sbitmap_for_each_set(&bt->sb, bt_tags_iter, &iter_data); in bt_tags_for_each()