Home
last modified time | relevance | path

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

/block/
Dblk-mq-tag.c398 int bit, i; in bt_for_each() local
403 for (bit = find_first_bit(&bm->word, bm->depth); in bt_for_each()
404 bit < bm->depth; in bt_for_each()
405 bit = find_next_bit(&bm->word, bm->depth, bit + 1)) { in bt_for_each()
406 rq = hctx->tags->rqs[off + bit]; in bt_for_each()
Dblk-sysfs.c197 int bit; \
198 bit = test_bit(QUEUE_FLAG_##flag, &q->queue_flags); \
199 return queue_var_show(neg ? !bit : bit, page); \
Dblk-mq.c645 unsigned int off, bit; in flush_busy_ctxs() local
650 bit = 0; in flush_busy_ctxs()
653 bit = find_next_bit(&bm->word, bm->depth, bit); in flush_busy_ctxs()
654 if (bit >= bm->depth) in flush_busy_ctxs()
657 ctx = hctx->ctxs[bit + off]; in flush_busy_ctxs()
658 clear_bit(bit, &bm->word); in flush_busy_ctxs()
663 bit++; in flush_busy_ctxs()
Dblk-core.c139 int bit; in blk_dump_rq_flags() local
153 for (bit = 0; bit < BLK_MAX_CDB; bit++) in blk_dump_rq_flags()
154 printk("%02x ", rq->cmd[bit]); in blk_dump_rq_flags()