Lines Matching refs:in_use_bm

358 	unsigned long in_use_bm[SDEBUG_CANQUEUE_WORDS];  member
4967 if (unlikely(!test_and_clear_bit(qc_idx, sqp->in_use_bm))) { in sdebug_q_cmd_complete()
4982 k = find_last_bit(sqp->in_use_bm, retval); in sdebug_q_cmd_complete()
5280 if (test_bit(k, sqp->in_use_bm)) { in stop_queued_cmnd()
5298 clear_bit(k, sqp->in_use_bm); in stop_queued_cmnd()
5321 if (test_bit(k, sqp->in_use_bm)) { in stop_all_queued()
5338 clear_bit(k, sqp->in_use_bm); in stop_all_queued()
5640 k = find_first_zero_bit(sqp->in_use_bm, sdebug_max_queue); in schedule_resp()
5651 set_bit(k, sqp->in_use_bm); in schedule_resp()
5663 clear_bit(k, sqp->in_use_bm); in schedule_resp()
5723 clear_bit(k, sqp->in_use_bm); in schedule_resp()
6038 f = find_first_bit(sqp->in_use_bm, sdebug_max_queue); in scsi_debug_show_info()
6040 l = find_last_bit(sqp->in_use_bm, sdebug_max_queue); in scsi_debug_show_info()
6097 k = find_first_bit(sqp->in_use_bm, in delay_store()
6137 k = find_first_bit(sqp->in_use_bm, in ndelay_store()
6467 a = find_last_bit(sqp->in_use_bm, SDEBUG_CANQUEUE); in max_queue_store()
7538 qc_idx = find_first_bit(sqp->in_use_bm, sdebug_max_queue); in sdebug_blk_mq_poll()
7545 if (!test_bit(qc_idx, sqp->in_use_bm)) in sdebug_blk_mq_poll()
7548 qc_idx = find_next_bit(sqp->in_use_bm, sdebug_max_queue, qc_idx + 1); in sdebug_blk_mq_poll()
7578 if (unlikely(!test_and_clear_bit(qc_idx, sqp->in_use_bm))) { in sdebug_blk_mq_poll()
7591 k = find_last_bit(sqp->in_use_bm, retval); in sdebug_blk_mq_poll()
7602 if (find_first_bit(sqp->in_use_bm, sdebug_max_queue) >= sdebug_max_queue) in sdebug_blk_mq_poll()