/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_scsi.c | 90 static void sbd_handle_sync_cache(struct scsi_task *task, 92 void sbd_handle_read_xfer_completion(struct scsi_task *task, 94 void sbd_handle_short_write_xfer_completion(scsi_task_t *task, 96 void sbd_handle_short_write_transfers(scsi_task_t *task, 98 void sbd_handle_mode_select_xfer(scsi_task_t *task, uint8_t *buf, 100 void sbd_handle_mode_select(scsi_task_t *task, stmf_data_buf_t *dbuf); 101 void sbd_handle_identifying_info(scsi_task_t *task, stmf_data_buf_t *dbuf); 103 static void sbd_handle_unmap_xfer(scsi_task_t *task, uint8_t *buf, 105 static void sbd_handle_unmap(scsi_task_t *task, stmf_data_buf_t *dbuf); 114 void sbd_do_sgl_write_xfer(struct scsi_task *task, sbd_cmd_ 132 sbd_do_read_xfer(struct scsi_task *task, sbd_cmd_t *scmd, struct stmf_data_buf *dbuf) argument 209 sbd_do_sgl_read_xfer(struct scsi_task *task, sbd_cmd_t *scmd, int first_xfer) argument 452 sbd_handle_read_xfer_completion(struct scsi_task *task, sbd_cmd_t *scmd, struct stmf_data_buf *dbuf) argument 505 sbd_handle_sgl_read_xfer_completion(struct scsi_task *task, sbd_cmd_t *scmd, struct stmf_data_buf *dbuf) argument 594 sbd_handle_sgl_write_xfer_completion(struct scsi_task *task, sbd_cmd_t *scmd, struct stmf_data_buf *dbuf) argument 720 sbd_copy_rdwr(scsi_task_t *task, uint64_t laddr, stmf_data_buf_t *dbuf, int cmd, int commit) argument 804 sbd_handle_read(struct scsi_task *task, struct stmf_data_buf *initial_dbuf) argument 1007 sbd_do_write_xfer(struct scsi_task *task, sbd_cmd_t *scmd, struct stmf_data_buf *dbuf, uint8_t dbuf_reusable) argument 1074 sbd_do_sgl_write_xfer(struct scsi_task *task, sbd_cmd_t *scmd, int first_xfer) argument 1292 sbd_handle_write_xfer_completion(struct scsi_task *task, sbd_cmd_t *scmd, struct stmf_data_buf *dbuf, uint8_t dbuf_reusable) argument 1397 sbd_zcopy_write_useful(scsi_task_t *task, uint64_t laddr, uint32_t len, uint64_t blksize) argument 1424 sbd_handle_write(struct scsi_task *task, struct stmf_data_buf *initial_dbuf) argument 1586 sbd_handle_short_read_transfers(scsi_task_t *task, stmf_data_buf_t *dbuf, uint8_t *p, uint32_t cdb_xfer_size, uint32_t cmd_xfer_size) argument 1643 sbd_handle_short_read_xfer_completion(struct scsi_task *task, sbd_cmd_t *scmd, struct stmf_data_buf *dbuf) argument 1657 sbd_handle_short_write_transfers(scsi_task_t *task, stmf_data_buf_t *dbuf, uint32_t cdb_xfer_size) argument 1710 sbd_handle_short_write_xfer_completion(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 1771 sbd_handle_read_capacity(struct scsi_task *task, struct stmf_data_buf *initial_dbuf) argument 1838 sbd_handle_mode_sense(struct scsi_task *task, struct stmf_data_buf *initial_dbuf, uint8_t *buf) argument 1991 sbd_handle_mode_select(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 2017 sbd_handle_mode_select_xfer(scsi_task_t *task, uint8_t *buf, uint32_t buflen) argument 2118 sbd_handle_identifying_info(struct scsi_task *task, stmf_data_buf_t *initial_dbuf) argument 2221 sbd_write_same_data(struct scsi_task *task, sbd_cmd_t *scmd) argument 2303 sbd_handle_write_same_xfer_completion(struct scsi_task *task, sbd_cmd_t *scmd, struct stmf_data_buf *dbuf, uint8_t dbuf_reusable) argument 2373 sbd_do_write_same_xfer(struct scsi_task *task, sbd_cmd_t *scmd, struct stmf_data_buf *dbuf, uint8_t dbuf_reusable) argument 2423 sbd_handle_write_same(scsi_task_t *task, struct stmf_data_buf *initial_dbuf) argument 2547 sbd_handle_unmap(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 2573 sbd_handle_unmap_xfer(scsi_task_t *task, uint8_t *buf, uint32_t buflen) argument 2614 sbd_handle_inquiry(struct scsi_task *task, struct stmf_data_buf *initial_dbuf) argument 2938 sbd_task_alloc(struct scsi_task *task) argument 3010 sbd_new_task(struct scsi_task *task, struct stmf_data_buf *initial_dbuf) argument 3431 sbd_dbuf_xfer_done(struct scsi_task *task, struct stmf_data_buf *dbuf) argument 3491 sbd_send_status_done(struct scsi_task *task) argument 3498 sbd_task_free(struct scsi_task *task) argument 3523 scsi_task_t *task; local 3560 sbd_dbuf_free(struct scsi_task *task, struct stmf_data_buf *dbuf) argument 3704 sbd_handle_sync_cache(struct scsi_task *task, struct stmf_data_buf *initial_dbuf) argument [all...] |
H A D | sbd_pgr.c | 89 extern void sbd_handle_short_write_transfers(scsi_task_t *task, 91 extern void sbd_handle_short_read_transfers(scsi_task_t *task, 748 sbd_pgr_initialize_it(scsi_task_t *task, sbd_it_data_t *it) argument 750 sbd_lu_t *slu = (sbd_lu_t *)task->task_lu->lu_provider_private; 751 stmf_scsi_session_t *ses = task->task_session; 815 sbd_pgr_reservation_conflict(scsi_task_t *task) argument 817 sbd_lu_t *slu = (sbd_lu_t *)task->task_lu->lu_provider_private; 819 sbd_it_data_t *it = (sbd_it_data_t *)task->task_lu_itl_handle; 851 task->task_cdb[0])) { 863 if (PGR_REGISTERED_POSSIBLE_CMDS(task 888 sbd_handle_pgr_in_cmd(scsi_task_t *task, stmf_data_buf_t *initial_dbuf) argument 922 sbd_handle_pgr_out_cmd(scsi_task_t *task, stmf_data_buf_t *initial_dbuf) argument 957 sbd_handle_pgr_out_data(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 1064 sbd_pgr_in_read_keys(scsi_task_t *task, stmf_data_buf_t *initial_dbuf) argument 1094 sbd_pgr_in_read_reservation(scsi_task_t *task, stmf_data_buf_t *initial_dbuf) argument 1131 sbd_pgr_in_report_capabilities(scsi_task_t *task, stmf_data_buf_t *initial_dbuf) argument 1169 sbd_pgr_in_read_full_status(scsi_task_t *task, stmf_data_buf_t *initial_dbuf) argument 1232 sbd_pgr_out_register(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 1460 sbd_pgr_out_reserve(scsi_task_t *task) argument 1541 sbd_pgr_out_release(scsi_task_t *task) argument 1586 sbd_pgr_out_clear(scsi_task_t *task) argument 1617 sbd_pgr_out_preempt(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 1738 sbd_pgr_out_register_and_move(scsi_task_t *task, stmf_data_buf_t *dbuf) argument [all...] |
H A D | stmf_sbd.h | 285 sbd_status_t sbd_data_read(sbd_lu_t *sl, scsi_task_t *task, 287 sbd_status_t sbd_data_write(sbd_lu_t *sl, scsi_task_t *task, 289 stmf_status_t sbd_task_alloc(struct scsi_task *task); 290 void sbd_new_task(struct scsi_task *task, struct stmf_data_buf *initial_dbuf); 291 void sbd_dbuf_xfer_done(struct scsi_task *task, struct stmf_data_buf *dbuf); 292 void sbd_send_status_done(struct scsi_task *task); 293 void sbd_task_free(struct scsi_task *task);
|
H A D | sbd_impl.h | 296 stmf_status_t sbd_task_alloc(struct scsi_task *task); 297 void sbd_new_task(struct scsi_task *task, struct stmf_data_buf *initial_dbuf); 298 void sbd_dbuf_xfer_done(struct scsi_task *task, struct stmf_data_buf *dbuf); 299 void sbd_send_status_done(struct scsi_task *task); 300 void sbd_task_free(struct scsi_task *task); 303 void sbd_dbuf_free(struct scsi_task *task, struct stmf_data_buf *dbuf);
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | lpif.h | 52 stmf_status_t (*lu_task_alloc)(struct scsi_task *task); 53 void (*lu_new_task)(struct scsi_task *task, 55 void (*lu_dbuf_xfer_done)(struct scsi_task *task, 64 void (*lu_send_status_done)(struct scsi_task *task); 65 void (*lu_task_free)(struct scsi_task *task); 68 void (*lu_task_poll)(struct scsi_task *task); 77 void (*lu_dbuf_free)(struct scsi_task *task,
|
H A D | stmf.h | 73 * indicated by the command task flags. 120 uint8_t task_flags; /* See def. for task flags */ 150 /* Misc. task data */ 157 * length is unknown when the task is allocated (e.g. SAS) 366 void stmf_post_task(scsi_task_t *task, stmf_data_buf_t *dbuf); 367 stmf_data_buf_t *stmf_alloc_dbuf(scsi_task_t *task, uint32_t size, 369 void stmf_free_dbuf(scsi_task_t *task, stmf_data_buf_t *dbuf); 370 stmf_status_t stmf_setup_dbuf(scsi_task_t *task, stmf_data_buf_t *dbuf, 372 void stmf_teardown_dbuf(scsi_task_t *task, stmf_data_buf_t *dbuf); 373 stmf_status_t stmf_xfer_data(scsi_task_t *task, stmf_data_buf_ [all...] |
H A D | portif.h | 41 stmf_data_buf_t *(*ds_alloc_data_buf)(struct scsi_task *task, 47 stmf_status_t (*ds_setup_dbuf)(struct scsi_task *task, 67 stmf_status_t (*lport_xfer_data)(struct scsi_task *task, 69 stmf_status_t (*lport_send_status)(struct scsi_task *task, 71 void (*lport_task_free)(struct scsi_task *task); 74 void (*lport_task_poll)(struct scsi_task *task);
|
H A D | task.h | 36 #define TASK_NORMAL 0x0 /* task may create tasks via settaskid() */ 37 #define TASK_FINAL 0x1 /* task finalized, settaskid() will fail */ 38 #define TASK_MASK 0x1 /* task flags mask */ 52 typedef struct task { struct 53 taskid_t tk_tkid; /* task id */ 54 uint_t tk_flags; /* task properties */ 59 /* task members */ 61 task_usage_t *tk_usage; /* total task resource usage */ 64 rctl_set_t *tk_rctls; /* task's resource controls */ 69 struct zone *tk_zone; /* zone task belong [all...] |
/illumos-gate/usr/src/uts/common/io/sbp2/ |
H A D | sbp2.c | 469 * Send task management request, one of: 546 sbp2_task_t *task = NULL; local 557 for (task = sp->s_task_head; task != NULL; task = task->ts_next) { 558 if (task->ts_state < SBP2_TASK_COMP) { 559 task->ts_error = SBP2_TASK_ERR_LUN_RESET; 560 task->ts_state = SBP2_TASK_COMP; 792 * their associated task set 852 sbp2_task_t *task; local 879 sbp2_task_t *task; /* task actually being submitted */ local 1010 sbp2_ses_append_task(sbp2_ses_t *sp, sbp2_task_t *task) argument 1041 sbp2_ses_remove_task_locked(sbp2_ses_t *sp, sbp2_task_t *task) argument 1068 sbp2_ses_remove_task(sbp2_ses_t *sp, sbp2_task_t *task) argument 1085 sbp2_task_t *task = NULL; local 1104 sbp2_task_t *task = NULL; local 1123 sbp2_task_t *task = NULL; local 1142 sbp2_task_t *task = NULL; local 1167 sbp2_task_t *task = NULL; local 1200 sbp2_ses_abort_task(sbp2_ses_t *sp, sbp2_task_t *task, int *berr) argument 1244 sbp2_orb_freelist_get(sbp2_lun_t *lp, sbp2_task_t *task, int len) argument 1310 sbp2_task_orb_alloc(sbp2_lun_t *lp, sbp2_task_t *task, int len) argument 1336 sbp2_task_orb_free(sbp2_lun_t *lp, sbp2_task_t *task) argument 1350 sbp2_task_orb_kaddr(sbp2_task_t *task) argument 1356 sbp2_task_orb_sync(sbp2_lun_t *lp, sbp2_task_t *task, int flags) argument 1618 sbp2_task_t *task = arg; local 1666 sbp2_task_t *task; local [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
H A D | stmf.c | 91 static void stmf_abort_task_offline(scsi_task_t *task, int offline_lu, 110 void stmf_abort_target_reset(scsi_task_t *task); 111 stmf_status_t stmf_lun_reset_poll(stmf_lu_t *lu, struct scsi_task *task, 113 void stmf_target_reset_poll(struct scsi_task *task); 114 void stmf_handle_lun_reset(scsi_task_t *task); 115 void stmf_handle_target_reset(scsi_task_t *task); 129 static void stmf_task_lu_free(scsi_task_t *task, stmf_i_scsi_session_t *iss); 185 * The reason default task timeout is 75 is because we want the 1635 * helper function to find a task that matches a task_msgid 1672 /* task no 1761 scsi_task_t *task; local 1789 scsi_task_t *task; local 1873 stmf_proxy_scsi_cmd(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 2732 stmf_update_kstat_lu_q(scsi_task_t *task, void func()) argument 2752 stmf_update_kstat_lport_q(scsi_task_t *task, void func()) argument 2769 stmf_update_kstat_lport_io(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 2786 stmf_update_kstat_lu_io(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 3915 stmf_alloc_dbuf(scsi_task_t *task, uint32_t size, uint32_t *pminsize, uint32_t flags) argument 3941 stmf_setup_dbuf(scsi_task_t *task, stmf_data_buf_t *dbuf, uint32_t flags) argument 3973 stmf_teardown_dbuf(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 3989 stmf_free_dbuf(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 4001 stmf_handle_to_buf(scsi_task_t *task, uint8_t h) argument 4021 scsi_task_t *task; local 4169 stmf_task_lu_free(scsi_task_t *task, stmf_i_scsi_session_t *iss) argument 4268 scsi_task_t *task; local 4373 scsi_task_t *task = itask->itask_task; local 4392 stmf_task_free(scsi_task_t *task) argument 4430 stmf_post_task(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 4591 stmf_xfer_data(scsi_task_t *task, stmf_data_buf_t *dbuf, uint32_t ioflags) argument 4643 stmf_data_xfer_done(scsi_task_t *task, stmf_data_buf_t *dbuf, uint32_t iof) argument 4741 stmf_send_scsi_status(scsi_task_t *task, uint32_t ioflags) argument 4788 stmf_send_status_done(scsi_task_t *task, stmf_status_t s, uint32_t iof) argument 4869 stmf_task_lu_done(scsi_task_t *task) argument 4904 stmf_queue_task_for_abort(scsi_task_t *task, stmf_status_t s) argument 4953 stmf_abort(int abort_cmd, scsi_task_t *task, stmf_status_t s, void *arg) argument 4991 stmf_task_lu_aborted(scsi_task_t *task, stmf_status_t s, uint32_t iof) argument 5019 stmf_task_lport_aborted(scsi_task_t *task, stmf_status_t s, uint32_t iof) argument 5054 stmf_task_poll_lu(scsi_task_t *task, uint32_t timeout) argument 5102 stmf_task_poll_lport(scsi_task_t *task, uint32_t timeout) argument 5149 stmf_do_task_abort(scsi_task_t *task) argument 5740 stmf_scsilib_send_status(scsi_task_t *task, uint8_t st, uint32_t saa) argument 5761 stmf_scsilib_prepare_vpd_page83(scsi_task_t *task, uint8_t *page, uint32_t page_len, uint8_t byte0, uint32_t vpd_mask) argument 5856 stmf_scsilib_handle_report_tpgs(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 5920 stmf_scsilib_handle_task_mgmt(scsi_task_t *task) argument 5954 stmf_handle_lun_reset(scsi_task_t *task) argument 5997 stmf_handle_target_reset(scsi_task_t *task) argument 6091 scsi_task_t *task = itask->itask_task; local 6185 scsi_task_t *task; local 6576 stmf_dlun0_task_alloc(scsi_task_t *task) argument 6582 stmf_dlun0_new_task(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 6729 stmf_dlun0_dbuf_done(scsi_task_t *task, stmf_data_buf_t *dbuf) argument 6780 stmf_dlun0_status_done(scsi_task_t *task) argument 6786 stmf_dlun0_task_free(scsi_task_t *task) argument 6794 scsi_task_t *task = (scsi_task_t *)arg; local 6842 stmf_dlun0_task_poll(struct scsi_task *task) argument 6914 stmf_abort_target_reset(scsi_task_t *task) argument 6942 stmf_lun_reset_poll(stmf_lu_t *lu, struct scsi_task *task, int target_reset) argument 6999 stmf_target_reset_poll(struct scsi_task *task) argument 7145 scsi_task_t *task = itask->itask_task; local 7165 scsi_task_t *task = itask->itask_task; local 7184 scsi_task_t *task = itask->itask_task; local 7646 stmf_abort_task_offline(scsi_task_t *task, int offline_lu, char *info) argument [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/ |
H A D | pppt_msg.c | 254 scsi_task_t *task; local 261 * Get a task context 297 * Add task to our internal task set. 314 * Allocate STMF task context 329 task = ptask->pt_stmf_task; 332 task->task_port_private = ptask; 333 task->task_flags = scmd->icsc_task_flags; 334 task->task_additional_flags = 0; 335 task [all...] |
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | util.py | 64 __slots__ = "why", "task", "errno" 67 def __init__(self, eno, task=None, why=None): 70 task -- a string describing the task that failed 75 self.task = task 80 if self.task: 81 s += self.task + ": "
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | tasksys.c | 36 #include <sys/task.h>
|
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_stp.c | 64 static stmf_status_t srpt_stp_xfer_data(struct scsi_task *task, 66 stmf_status_t srpt_stp_send_status(struct scsi_task *task, 68 static void srpt_stp_task_free(struct scsi_task *task); 71 static void srpt_stp_task_poll(struct scsi_task *task); 525 srpt_stp_xfer_data(struct scsi_task *task, struct stmf_data_buf *dbuf, argument 541 SRPT_DPRINTF_L3("stp_xfer_data, invoked task (%p), dbuf (%p)", 542 (void *)task, (void *)dbuf); 543 iu = task->task_port_private; 570 * return a bad status and let STMF abort the task. 608 * task 829 srpt_stp_send_status(struct scsi_task *task, uint32_t ioflags) argument 940 srpt_stp_task_free(struct scsi_task *task) argument 983 struct scsi_task *task; local 1027 srpt_stp_task_poll(struct scsi_task *task) argument [all...] |
H A D | srpt_ioc.h | 55 stmf_data_buf_t *srpt_ioc_ds_alloc_dbuf(struct scsi_task *task,
|
H A D | srpt_stp.h | 59 stmf_status_t srpt_stp_send_status(struct scsi_task *task,
|
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | sbp2_driver.c | 369 /* resume task processing */ 615 sbp2_task_t *task = CMD2TASK(cmd); local 620 task->ts_timeout = cmd->sc_timeout; 621 task->ts_error = SBP2_TASK_ERR_NONE; 622 task->ts_bus_error = 0; 623 task->ts_state = SBP2_TASK_INIT; 625 ret = sbp2_ses_submit_task(lp->l_ses, task); 629 } if (task->ts_error == SBP2_TASK_ERR_BUS) { 630 if (task->ts_bus_error == CMD1394_EDEVICE_BUSY) { 641 * This function is called by SBP-2 layer when task statu 646 scsa1394_sbp2_status_cb(void *arg, sbp2_task_t *task) argument 723 sbp2_task_t *task; local 749 sbp2_task_t *task = CMD2TASK(cmd); local 907 sbp2_task_t *task; local 942 sbp2_task_t *task = CMD2TASK(cmd); local 975 sbp2_task_t *task; local [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit.c | 196 iscsit_dbuf_alloc(scsi_task_t *task, uint32_t size, uint32_t *pminsize, 977 * before freeing the task so we don't need to 988 * STMF has already asked for this task to be aborted 1000 * Tell STMF to stop processing the task. 1072 scsi_task_t *task = NULL; local 1089 task = itask->it_stmf_task; 1091 rsp->cmd_status = task->task_scsi_status; 1093 if (task->task_status_ctrl & TASK_SCTRL_OVER) { 1095 } else if (task->task_status_ctrl & TASK_SCTRL_UNDER) { 1098 rsp->residual_count = htonl(task 1450 iscsit_dbuf_alloc(scsi_task_t *task, uint32_t size, uint32_t *pminsize, uint32_t flags) argument 1526 iscsit_xfer_scsi_data(scsi_task_t *task, stmf_data_buf_t *dbuf, uint32_t ioflags) argument 1643 iscsit_send_scsi_status(scsi_task_t *task, uint32_t ioflags) argument 1832 iscsit_lport_task_free(scsi_task_t *task) argument 1971 scsi_task_t *task; local 2348 scsi_task_t *task; local [all...] |
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Task/ |
H A D | Task.xs | 5 * Task.xs contains XS wrappers for the task maniplulation functions. 9 #include <sys/task.h>
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vds.c | 416 VD_NONFINAL_RANGE_TASK, /* task for intermediate descriptor in range */ 417 VD_FINAL_RANGE_TASK, /* task for last in a range of descriptors */ 421 * Structure describing the task for processing a descriptor 424 struct vd *vd; /* vd instance task is for */ 425 vd_task_type_t type; /* type of descriptor task */ 426 int index; /* dring elem index for task */ 427 vio_msg_t *msg; /* VIO message task is for */ 429 vd_dring_payload_t *request; /* request task will perform */ 431 ldc_mem_handle_t mhdl; /* task memory handle */ 432 int status; /* status of processing task */ 1909 vd_task_t *task = (vd_task_t *)buf->b_private; local 1968 vd_start_bio(vd_task_t *task) argument 2411 vd_complete_bio(vd_task_t *task) argument 2534 vd_notify(vd_task_t *task) argument 2577 vd_complete_notify(vd_task_t *task) argument 2634 vd_task_t *task = (vd_task_t *)arg; local 3588 vd_task_t *task = (vd_task_t *)arg; local 3603 vd_ioctl(vd_task_t *task) argument 3709 vd_get_devid(vd_task_t *task) argument 3805 vd_reset(vd_task_t *task) argument 3827 vd_get_capacity(vd_task_t *task) argument 3870 vd_get_access(vd_task_t *task) argument 3909 vd_set_access(vd_task_t *task) argument 4133 vd_do_process_task(vd_task_t *task) argument 4206 vd_process_task(vd_task_t *task) argument 5133 vd_task_t task; local [all...] |
/illumos-gate/usr/src/uts/common/sys/1394/targets/scsa1394/ |
H A D | cmd.h | 61 sbp2_task_t sc_task; /* corresponding SBP-2 task */ 120 _NOTE(SCHEME_PROTECTS_DATA("unique per task", { scsa1394_cmd scsa1394_cmd_seg 125 #define TASK2CMD(task) ((scsa1394_cmd_t *)(task)->ts_drv_priv)
|
/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/ |
H A D | fcoet_fc.c | 743 scsi_task_t *task = CMD2TASK(cmd); local 750 if (task->task_scsi_status == STATUS_GOOD && !task->task_resid) { 755 if (task->task_scsi_status == STATUS_CHECK) { 756 raw_frame_size += task->task_sense_length; 778 if ((task->task_scsi_status == STATUS_CHECK) && 779 task->task_sense_length) { 780 bcopy(task->task_sense_data, frm->frm_payload + 781 sizeof (fcoe_fcp_rsp_t), task->task_sense_length); 790 if (task [all...] |
H A D | fcoet_eth.c | 564 scsi_task_t *task; local 573 task = XCH2TASK(xch); 574 task->task_csn_size = 8; 575 task->task_max_nbufs = 1; 576 task->task_cmd_seq_no = FCOE_B2V_1(ffc->ffc_ref_num); 577 task->task_flags = FCOE_B2V_1(ffc->ffc_attribute) & 0x07; 578 task->task_flags |= 580 task->task_expected_xfer_length = FCOE_B2V_4(ffc->ffc_fcp_dl); 585 task->task_mgmt_function = TM_ABORT_TASK_SET; 587 task [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | multi_thread_def.h | 88 struct task_t task[MAX_THREAD_QUEUE]; /* The request queue. */ member in struct:tasks_queue_t
|
/illumos-gate/usr/src/lib/libfakekernel/common/sys/ |
H A D | proc.h | 47 struct task;
|