Searched refs:done_cmds (Results 1 – 1 of 1) sorted by relevance
43 int done_cmds; member146 BUG_ON(bd->done_cmds > bd->queued_cmds); in bsg_io_schedule()154 if (bd->done_cmds == bd->queued_cmds) { in bsg_io_schedule()349 bd->done_cmds++; in bsg_rq_end_io()387 if (bd->done_cmds) { in bsg_next_done_cmd()390 bd->done_cmds--; in bsg_next_done_cmd()415 ret = wait_event_interruptible(bd->wq_done, bd->done_cmds); in bsg_get_done_cmd()