Home
last modified time | relevance | path

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

/block/
Dblk-mq-tag.c428 int bit, i; in bt_for_each() local
433 for (bit = find_first_bit(&bm->word, bm->depth); in bt_for_each()
434 bit < bm->depth; in bt_for_each()
435 bit = find_next_bit(&bm->word, bm->depth, bit + 1)) { in bt_for_each()
436 rq = hctx->tags->rqs[off + bit]; in bt_for_each()
450 int bit, i; in bt_tags_for_each() local
457 for (bit = find_first_bit(&bm->word, bm->depth); in bt_tags_for_each()
458 bit < bm->depth; in bt_tags_for_each()
459 bit = find_next_bit(&bm->word, bm->depth, bit + 1)) { in bt_tags_for_each()
460 rq = tags->rqs[off + bit]; in bt_tags_for_each()
Dblk-sysfs.c232 int bit; \
233 bit = test_bit(QUEUE_FLAG_##flag, &q->queue_flags); \
234 return queue_var_show(neg ? !bit : bit, page); \
Dblk-mq.c714 unsigned int off, bit; in flush_busy_ctxs() local
719 bit = 0; in flush_busy_ctxs()
722 bit = find_next_bit(&bm->word, bm->depth, bit); in flush_busy_ctxs()
723 if (bit >= bm->depth) in flush_busy_ctxs()
726 ctx = hctx->ctxs[bit + off]; in flush_busy_ctxs()
727 clear_bit(bit, &bm->word); in flush_busy_ctxs()
732 bit++; in flush_busy_ctxs()
Dblk-core.c162 int bit; in blk_dump_rq_flags() local
176 for (bit = 0; bit < BLK_MAX_CDB; bit++) in blk_dump_rq_flags()
177 printk("%02x ", rq->cmd[bit]); in blk_dump_rq_flags()