Lines Matching defs:task
1499 * Insert first the idle task and then our job.
2958 * a given target/lun/task condition (-1 means all),
2965 sym_dequeue_from_squeue(struct sym_hcb *np, int i, int target, int lun, int task)
2977 * that matches the target/lun/task condition.
2989 (task == -1 || cp->tag == task)) {
3005 if (i != j) /* Copy back the idle task if needed */
3184 * - task=-1 means any task, otherwise a given one.
3186 int sym_clear_tasks(struct sym_hcb *np, int cam_status, int target, int lun, int task)
3211 (task != -1 &&
3212 (cp->tag != NO_TAG && cp->scsi_smsg[2] != task))) {
3258 * - If an untagged task is to be aborted, we send the
3260 * - If a tagged task is to be aborted, we send the
3261 * IDENTIFY(lun) + task attributes + M_ABORT_TAG.
3275 int target=-1, lun=-1, task;
3282 * some task recovery.
3477 * disconnect the BUS and not abort any task.
3486 * We have some task to abort.
3495 * a IDENTITFY + task attributes + ABORT TAG.
3537 * this target from our task list (lun=task=-1)
3540 task = -1;
3564 task = np->abrt_msg[2];
3573 sym_clear_tasks(np, DID_ABORT, target, lun, task);
5017 * Let the itl task point to error handling.
5055 * Allocate the task table and and the tag allocation
5069 * Initialize the task table with invalid entries.
5080 * Make the task table available to SCRIPTS,
5736 * Prepare the idle and invalid task actions.