Lines Matching defs:taskio

1635 			struct ctl_taskio *taskio;
1636 taskio = (struct ctl_taskio *)ctl_alloc_io(
1638 ctl_zero_io((union ctl_io *)taskio);
1639 taskio->io_hdr.io_type = CTL_IO_TASK;
1640 taskio->io_hdr.flags |= CTL_FLAG_FROM_OTHER_SC;
1641 taskio->io_hdr.nexus = msg->hdr.nexus;
1642 taskio->task_action = msg->task.task_action;
1643 taskio->tag_num = msg->task.tag_num;
1644 taskio->tag_type = msg->task.tag_type;
1646 taskio->io_hdr.start_time = time_uptime;
1647 getbinuptime(&taskio->io_hdr.start_bt);
1649 ctl_run_task((union ctl_io *)taskio);
11746 msg_info.task.task_action = io->taskio.task_action;
11755 if (io->taskio.task_action == CTL_TASK_TARGET_RESET)
11767 io->taskio.task_status = CTL_TASK_FUNCTION_COMPLETE;
11841 io->taskio.task_status = CTL_TASK_LUN_DOES_NOT_EXIST;
11846 io->taskio.task_status = CTL_TASK_FUNCTION_COMPLETE;
11920 io->taskio.task_status = CTL_TASK_LUN_DOES_NOT_EXIST;
11926 if (io->taskio.task_action == CTL_TASK_ABORT_TASK_SET) {
11935 io->taskio.task_status = CTL_TASK_FUNCTION_COMPLETE;
11995 io->taskio.task_status = CTL_TASK_FUNCTION_COMPLETE;
12015 io->taskio.task_status = CTL_TASK_LUN_DOES_NOT_EXIST;
12045 && (io->taskio.tag_type == CTL_TAG_UNTAGGED))
12046 || (xio->scsiio.tag_num == io->taskio.tag_num)) {
12055 if (xio->scsiio.tag_num == io->taskio.tag_num) {
12064 msg_info.task.tag_num = io->taskio.tag_num;
12065 msg_info.task.tag_type = io->taskio.tag_type;
12076 io->taskio.task_status = CTL_TASK_FUNCTION_COMPLETE;
12094 io->taskio.task_status = CTL_TASK_LUN_DOES_NOT_EXIST;
12106 if (task_set || xio->scsiio.tag_num == io->taskio.tag_num) {
12113 io->taskio.task_status = CTL_TASK_FUNCTION_SUCCEEDED;
12115 io->taskio.task_status = CTL_TASK_FUNCTION_COMPLETE;
12132 io->taskio.task_status = CTL_TASK_LUN_DOES_NOT_EXIST;
12138 ua = ctl_build_qae(lun, initidx, io->taskio.task_resp);
12141 io->taskio.task_status = CTL_TASK_FUNCTION_SUCCEEDED;
12143 io->taskio.task_status = CTL_TASK_FUNCTION_COMPLETE;
12155 io->taskio.task_status = CTL_TASK_FUNCTION_NOT_SUPPORTED;
12156 bzero(io->taskio.task_resp, sizeof(io->taskio.task_resp));
12157 switch (io->taskio.task_action) {
12192 __func__, io->taskio.task_action);
12958 io->taskio.task_action,
12959 io->taskio.tag_num, io->taskio.tag_type);
13306 io->taskio.tag_num :