Lines Matching refs:cmds_max
1124 if (i >= session->cmds_max) in iscsi_itt_to_task()
1317 if (i >= session->cmds_max) { in iscsi_verify_itt()
1320 "%u.\n", i, session->cmds_max); in iscsi_verify_itt()
1898 for (i = 0; i < session->cmds_max; i++) { in fail_scsi_tasks()
2071 for (i = 0; i < conn->session->cmds_max; i++) { in iscsi_eh_cmd_timed_out()
2907 uint16_t cmds_max, int dd_size, int cmd_task_size, in iscsi_session_setup() argument
2924 scsi_cmds = iscsi_host_get_max_scsi_cmds(shost, cmds_max); in iscsi_session_setup()
2942 session->cmds_max = scsi_cmds + ISCSI_MGMT_CMDS_MAX; in iscsi_session_setup()
2959 if (iscsi_pool_init(&session->cmdpool, session->cmds_max, in iscsi_session_setup()
2965 for (cmd_i = 0; cmd_i < session->cmds_max; cmd_i++) { in iscsi_session_setup()
3216 for (i = 0; i < conn->session->cmds_max; i++) { in fail_mgmt_tasks()