Searched refs:queued_cmds (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/block/ |
D | bsg.c | 42 int queued_cmds; member 99 bd->queued_cmds--; in bsg_free_command() 111 if (bd->queued_cmds >= bd->max_queue) in bsg_alloc_command() 114 bd->queued_cmds++; in bsg_alloc_command() 120 bd->queued_cmds--; in bsg_alloc_command() 146 BUG_ON(bd->done_cmds > bd->queued_cmds); in bsg_io_schedule() 154 if (bd->done_cmds == bd->queued_cmds) { in bsg_io_schedule() 511 if (!bd->queued_cmds) { in bsg_complete_all_commands() 879 if (bd->queued_cmds < bd->max_queue) in bsg_poll()
|
/linux-3.4.99/drivers/scsi/ |
D | esp_scsi.c | 655 list_for_each_entry(ent, &esp->queued_cmds, list) { in find_and_prep_issuable_command() 938 list_add_tail(&ent->list, &esp->queued_cmds); in esp_queuecommand_lck() 1248 list_move(&ent->list, &esp->queued_cmds); in esp_finish_select() 2005 list_for_each_entry_safe(ent, tmp, &esp->queued_cmds, list) { in esp_reset_cleanup() 2200 INIT_LIST_HEAD(&esp->queued_cmds); in esp_init_swstate() 2460 list_for_each_entry(ent, &esp->queued_cmds, list) { in esp_eh_abort_handler() 2474 list_for_each_entry(tmp, &esp->queued_cmds, list) { in esp_eh_abort_handler()
|
D | esp_scsi.h | 428 struct list_head queued_cmds; member
|