Searched refs:ptask (Results 1 – 3 of 3) sorted by relevance
131 static void pppt_task_sent_status(pppt_task_t *ptask);133 static pppt_status_t pppt_task_try_abort(pppt_task_t *ptask);135 static void pppt_task_rele(pppt_task_t *ptask);137 static void pppt_task_update_state(pppt_task_t *ptask,758 pppt_task_t *ptask = task->task_port_private; in pppt_lport_send_status() local766 if (pppt_task_done(ptask) == PPPT_STATUS_ABORTED) { in pppt_lport_send_status()774 ptask->pt_task_id, in pppt_lport_send_status()775 ptask->pt_sess->ps_session_id, in pppt_lport_send_status()776 ptask->pt_lun_id, in pppt_lport_send_status()785 pppt_task_sent_status(ptask); in pppt_lport_send_status()[all …]
253 pppt_task_t *ptask; in pppt_msg_scsi_cmd() local263 ptask = pppt_task_alloc(); in pppt_msg_scsi_cmd()264 if (ptask == NULL) { in pppt_msg_scsi_cmd()284 pppt_task_free(ptask); in pppt_msg_scsi_cmd()291 ptask->pt_sess = pppt_sess; in pppt_msg_scsi_cmd()292 ptask->pt_task_id = scmd->icsc_task_msgid; in pppt_msg_scsi_cmd()299 pppt_status = pppt_task_start(ptask); in pppt_msg_scsi_cmd()305 pppt_task_free(ptask); in pppt_msg_scsi_cmd()316 ptask->pt_stmf_task = stmf_task_alloc(lport, stmf_sess, in pppt_msg_scsi_cmd()319 if (ptask->pt_stmf_task == NULL) { in pppt_msg_scsi_cmd()[all …]
261 void pppt_task_free(pppt_task_t *ptask);263 pppt_status_t pppt_task_start(pppt_task_t *ptask);265 pppt_status_t pppt_task_done(pppt_task_t *ptask);