• Home
  • Raw
  • Download

Lines Matching refs:i

79 	int i;  in blk_flags_show()  local
81 for (i = 0; i < sizeof(flags) * BITS_PER_BYTE; i++) { in blk_flags_show()
82 if (!(flags & BIT(i))) in blk_flags_show()
87 if (i < flag_name_count && flag_name[i]) in blk_flags_show()
88 seq_puts(m, flag_name[i]); in blk_flags_show()
90 seq_printf(m, "%d", i); in blk_flags_show()
187 int i; in queue_write_hint_show() local
189 for (i = 0; i < BLK_MAX_WRITE_HINTS; i++) in queue_write_hint_show()
190 seq_printf(m, "hint%d: %llu\n", i, q->write_hints[i]); in queue_write_hint_show()
199 int i; in queue_write_hint_store() local
201 for (i = 0; i < BLK_MAX_WRITE_HINTS; i++) in queue_write_hint_store()
202 q->write_hints[i] = 0; in queue_write_hint_store()
556 int i; in hctx_dispatched_show() local
560 for (i = 1; i < BLK_MQ_MAX_DISPATCH_ORDER - 1; i++) { in hctx_dispatched_show()
561 unsigned int d = 1U << (i - 1); in hctx_dispatched_show()
563 seq_printf(m, "%8u\t%lu\n", d, hctx->dispatched[i]); in hctx_dispatched_show()
566 seq_printf(m, "%8u+\t%lu\n", 1U << (i - 1), hctx->dispatched[i]); in hctx_dispatched_show()
574 int i; in hctx_dispatched_write() local
576 for (i = 0; i < BLK_MQ_MAX_DISPATCH_ORDER; i++) in hctx_dispatched_write()
577 hctx->dispatched[i] = 0; in hctx_dispatched_write()
830 int i; in blk_mq_debugfs_register() local
843 queue_for_each_hw_ctx(q, hctx, i) { in blk_mq_debugfs_register()
882 int i; in blk_mq_debugfs_register_hctx() local
892 hctx_for_each_ctx(hctx, ctx, i) in blk_mq_debugfs_register_hctx()
906 int i; in blk_mq_debugfs_register_hctxs() local
908 queue_for_each_hw_ctx(q, hctx, i) in blk_mq_debugfs_register_hctxs()
915 int i; in blk_mq_debugfs_unregister_hctxs() local
917 queue_for_each_hw_ctx(q, hctx, i) in blk_mq_debugfs_unregister_hctxs()