Lines Matching refs:cmds_max
1194 if (i >= session->cmds_max) in iscsi_itt_to_task()
1387 if (i >= session->cmds_max) { in iscsi_verify_itt()
1390 "%u.\n", i, session->cmds_max); in iscsi_verify_itt()
1970 for (i = 0; i < session->cmds_max; i++) { in fail_scsi_tasks()
2170 for (i = 0; i < conn->session->cmds_max; i++) { in iscsi_eh_cmd_timed_out()
3019 uint16_t cmds_max, int dd_size, int cmd_task_size, in iscsi_session_setup() argument
3036 scsi_cmds = iscsi_host_get_max_scsi_cmds(shost, cmds_max); in iscsi_session_setup()
3054 session->cmds_max = scsi_cmds + ISCSI_MGMT_CMDS_MAX; in iscsi_session_setup()
3071 if (iscsi_pool_init(&session->cmdpool, session->cmds_max, in iscsi_session_setup()
3077 for (cmd_i = 0; cmd_i < session->cmds_max; cmd_i++) { in iscsi_session_setup()
3336 for (i = 0; i < conn->session->cmds_max; i++) { in fail_mgmt_tasks()