HomeSort by relevance Sort by last modified time
    Searched defs:task (Results 1 - 25 of 35) sorted by null

1 2

  /onnv/onnv-gate/usr/src/uts/common/sys/
task.h 39 #define TASK_NORMAL 0x0 /* task may create tasks via settaskid() */
40 #define TASK_FINAL 0x1 /* task finalized, settaskid() will fail */
41 #define TASK_MASK 0x1 /* task flags mask */
55 typedef struct task { struct
56 taskid_t tk_tkid; /* task id */
57 uint_t tk_flags; /* task properties */
62 /* task members */
64 task_usage_t *tk_usage; /* total task resource usage */
67 rctl_set_t *tk_rctls; /* task's resource controls */
72 struct zone *tk_zone; /* zone task belongs to *
    [all...]
rctl.h 167 struct task;
176 struct task *task; member in union:rctl_entity_p_struct::__anon868
  /onnv/onnv-gate/usr/src/uts/common/io/comstar/port/pppt/
pppt_msg.c 254 scsi_task_t *task; local
261 * Get a task context
296 * Add task to our internal task set.
313 * Allocate STMF task context
328 task = ptask->pt_stmf_task;
329 task->task_port_private = ptask;
330 task->task_flags = scmd->icsc_task_flags;
331 task->task_additional_flags = 0;
332 task->task_priority = 0
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mms/mm/common/
mm_mmp_cp.c 63 uuid_text_t task; local
259 mm_get_uuid(task);
260 exit_cmd->cmd_textcmd = mms_strnew("exit task[\"%s\"];", task);
275 task);
806 query = "scan task[\"%s\"] fromslot[\"%s\"] "
816 query = "scan task[\"%s\"] slot[\"%s\"];";
825 query = "scan task[\"%s\"] drive[\"%s\"];";
834 query = "scan task[\"%s\"] all;";
931 uuid_text_t task; local
    [all...]
mm_msg.c 184 uuid_text_t task; local
207 mm_get_uuid(task);
209 buf = mms_strnew("private task[\"%s\"] "
213 task,
251 mm_get_uuid(task);
253 buf = mms_strnew("private task[\"%s\"] "
257 task,
    [all...]
mm_dmp_sql.c 224 uuid_text_t task; local
335 mm_get_uuid(task);
336 cmd->cmd_textcmd = mms_strnew(ACTIVATE_DISABLE, task);
359 uuid_text_t task; local
372 mm_get_uuid(task);
373 cmd->cmd_textcmd = mms_strnew(ACTIVATE_ENABLE, task);
1176 #define DMP_SEND_ATTACH "attach task [\"%s\"] " \
1187 char *task = cmd->cmd_task; local
1200 mms_trace(MMS_DEVP, "DM Name is %s, task id is %s",
1201 DMName, task);
1297 char *task = cmd->cmd_task; local
1389 char *task = cmd->cmd_task; local
1594 char *task = cmd->cmd_task; local
1838 char *task = cmd->cmd_task; local
2081 char *task = cmd->cmd_task; local
2206 char *task = cmd->cmd_task; local
    [all...]
mm_lmp_sql.c 277 "scan task[\"%s\"] ",
387 uuid_text_t task; local
430 mm_get_uuid(task);
431 cmd->cmd_textcmd = mms_strnew(ACTIVATE_ENABLE, task);
    [all...]
mm.c 182 /* Task Manager */
219 attr_info->status_objs[5] = strdup("TASK");
816 "delete from \"TASK\" where " \
819 mms_trace(MMS_ERR, "Error Removing task objects...");
838 "delete from \"TASK\" where " \
841 mms_trace(MMS_ERR, "Error Removing task objects...");
2464 char *task; local
    [all...]
  /onnv/onnv-gate/usr/src/lib/mms/mms/common/
mms_mgmt.c 195 * Parse a command, extracting the command type and task id.
302 * Extract the task id from the command.
309 char *task; local
311 node = mms_pn_lookup(root, "task", MMS_PN_CLAUSE, NULL);
314 "mms_cmd_get_task: Couldn't find a task clause");
321 "mms_cmd_get_task: Couldn't find the task string");
326 "mms_cmd_get_task: Task string is null");
330 task = strdup(mms_pn_token(tasknode));
331 return (task);
367 * Return the command list element for task 'tid'
    [all...]
  /onnv/onnv-gate/usr/src/lib/libzpool/common/
taskq.c 31 typedef struct task { struct
32 struct task *task_next;
33 struct task *task_prev;
73 * task structures) without risking deadlock with
  /onnv/onnv-gate/usr/src/uts/common/io/comstar/port/fcoet/
fcoet_eth.c 565 scsi_task_t *task; local
574 task = XCH2TASK(xch);
575 task->task_csn_size = 8;
576 task->task_max_nbufs = 1;
577 task->task_cmd_seq_no = FCOE_B2V_1(ffc->ffc_ref_num);
578 task->task_flags = FCOE_B2V_1(ffc->ffc_attribute) & 0x07;
579 task->task_flags |=
581 task->task_expected_xfer_length = FCOE_B2V_4(ffc->ffc_fcp_dl);
586 task->task_mgmt_function = TM_ABORT_TASK_SET;
588 task->task_mgmt_function = TM_CLEAR_TASK_SET
    [all...]
fcoet_fc.c 745 scsi_task_t *task = CMD2TASK(cmd); local
752 if (task->task_scsi_status == STATUS_GOOD && !task->task_resid) {
757 if (task->task_scsi_status == STATUS_CHECK) {
758 raw_frame_size += task->task_sense_length;
780 if ((task->task_scsi_status == STATUS_CHECK) &&
781 task->task_sense_length) {
782 bcopy(task->task_sense_data, frm->frm_payload +
783 sizeof (fcoe_fcp_rsp_t), task->task_sense_length);
792 if (task->task_scsi_status == STATUS_CHECK || task->task_resid)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/comstar/port/srpt/
srpt_stp.c 63 static stmf_status_t srpt_stp_xfer_data(struct scsi_task *task,
65 stmf_status_t srpt_stp_send_status(struct scsi_task *task,
67 static void srpt_stp_task_free(struct scsi_task *task);
70 static void srpt_stp_task_poll(struct scsi_task *task);
487 srpt_stp_xfer_data(struct scsi_task *task, struct stmf_data_buf *dbuf,
503 SRPT_DPRINTF_L3("stp_xfer_data, invoked task (%p), dbuf (%p)",
504 (void *)task, (void *)dbuf);
505 iu = task->task_port_private;
532 * return a bad status and let STMF abort the task.
570 * task
940 struct scsi_task *task; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/
rctl.c 32 #include <sys/task.h>
154 type = "task";
192 * Print out all project, task, and process rctls for a given process.
201 task_t task; local
247 if (mdb_vread(&task, sizeof (task_t), (uintptr_t)proc.p_task) == -1) {
248 mdb_warn("failed to read task at %p", proc.p_task);
252 (uintptr_t)task.tk_proj) == -1) {
253 mdb_warn("failed to read proj at %p", task.tk_proj);
271 set = (uintptr_t)task.tk_rctls;
  /onnv/onnv-gate/usr/src/uts/common/io/1394/targets/scsa1394/
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 status is received
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...]
  /onnv/onnv-gate/usr/src/cmd/mms/dm/common/
dm_target.c 120 char *task; local
126 task = dm_bld_task("show-target-base");
128 "show task['%s'] reportmode[namevalue] "
130 "report[ DM.'DMTargetPath']" ";", task, DMNAME);
131 cmd = dm_send_cmd(show_cmd, dm_cmd_response, task);
133 free(task);
dm_command.c 68 * create a task id for use with a DMP command
71 * pointer to the task id. Caller must free after its use
81 char *task; local
83 task = mms_strnew("%s:%s:%s:%s:%ld-%d", wka->dm_local_hostname,
85 return (task);
312 * return the task id of a command from the parse tree
315 * task id string
327 char *task; local
333 node = mms_pn_lookup(root, "task", MMS_PN_CLAUSE, NULL);
336 "No task clause"))
372 char *task; local
439 char *task; local
568 char *task; local
1011 char *task; local
1190 char *task; local
1287 char *task; local
1346 char *task; local
1451 char *task; local
1505 char *task; local
1546 char *task; local
1613 char *task; local
1668 char *task; local
1707 char *task; local
1810 char *task; local
1847 char *task; local
1924 char *task; local
1958 char *task; local
2097 char *task; local
2129 char *task; local
2167 char *task; local
2213 char *task; local
2241 char *task; local
2521 char *task; local
3352 char *task; local
4392 char *task; local
4466 char *task; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/sbp2/
sbp2.c 469 * Send task management request, one of:
471 * ABORT TASK, ABORT TASK SET, LOGICAL UNIT RESET, TARGET RESET
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
852 sbp2_task_t *task; local
879 sbp2_task_t *task; \/* task actually being submitted *\/ local
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
1618 sbp2_task_t *task = arg; local
1666 sbp2_task_t *task; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/stmf/
stmf.c 877 struct scsi_task task; local
880 if (mdb_vread(&task, sizeof (struct scsi_task),
891 mdb_printf(" task_flags=%x", task.task_flags);
899 mdb_printf(" lport=%p", task.task_lport);
932 struct scsi_task task; local
935 if (mdb_vread(&task, sizeof (struct scsi_task),
946 mdb_printf(" task_flags=%x", task.task_flags);
954 mdb_printf(" lport=%p", task.task_lport);
1143 * worker_task_head to get the start of the task list
1152 mdb_warn("failed to read in the task address\n")
1208 scsi_task_t *task_addr, task; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/idm/
idm.c 263 "idm_ini_conn_destroy: Couldn't dispatch task");
679 * transferred to the initiator associated with task 'idt'. The connection
725 * Bind buffer but don't start a transfer since the task
735 * Once the task is aborted, any buffers added to the
760 * mapped to the respective buffer by the task tags (ITT & TTT).
806 * Bind buffer but don't start a transfer since the task
861 * task. This allows us to also ignore the case where we've
862 * been asked to abort a task but the last transfer of the
863 * task has completed. IDM has no idea whether this was, in
864 * fact, the last transfer of the task so it would be difficul
1530 idm_task_t *task; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
sbd_scsi.c 88 static void sbd_handle_sync_cache(struct scsi_task *task,
90 void sbd_handle_read_xfer_completion(struct scsi_task *task,
92 void sbd_handle_short_write_xfer_completion(scsi_task_t *task,
94 void sbd_handle_short_write_transfers(scsi_task_t *task,
96 static void sbd_handle_sync_cache(struct scsi_task *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);
113 * a scsi task executes in a single threaded manner, even the aborts.
119 sbd_do_read_xfer(struct scsi_task *task, sbd_cmd_t *scmd,
122 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private
1919 scsi_task_t *task; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/comstar/port/iscsit/
iscsit.c 165 iscsit_dbuf_alloc(scsi_task_t *task, uint32_t size, uint32_t *pminsize,
867 * before freeing the task so we don't need to
873 * Task is no longer active
878 * STMF has already asked for this task to be aborted
890 * Tell STMF to stop processing the task.
962 scsi_task_t *task = NULL; local
979 task = itask->it_stmf_task;
981 rsp->cmd_status = task->task_scsi_status;
983 if (task->task_status_ctrl & TASK_SCTRL_OVER) {
985 } else if (task->task_status_ctrl & TASK_SCTRL_UNDER)
1786 scsi_task_t *task; local
2143 scsi_task_t *task; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
mptsas_impl.c 1080 pMpi2SCSITaskManagementRequest_t task; local
1088 * Can't start another task management routine.
1091 mptsas_log(mpt, CE_WARN, "Can only start 1 task management"
1120 task = (pMpi2SCSITaskManagementRequest_t)(mpt->m_req_frame +
1122 bzero(task, mpt->m_req_frame_size);
1125 * form message for requested task
1127 mptsas_init_std_hdr(mpt->m_acc_req_frame_hdl, task, dev_handle, lun, 0
    [all...]
  /onnv/onnv-gate/usr/src/cmd/pcmciad/
pcmciad.c 323 * so we now start the work finding task
765 struct tasklist *task; local
816 task = tasklists[
834 (void) mutex_lock(&task->lock);
837 (struct qelem *)task->work.prev);
841 (void) cond_broadcast(&task->sleep);
842 (void) mutex_unlock(&task->lock);
862 struct tasklist *task; local
871 task = tasklists[socket];
899 task->drivers[i] = defhandler
966 struct tasklist *task; local
1011 struct tasklist *task; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/inet/iptun/
iptun.c 553 iptun_task_t task = itd->itd_task; local
566 * between the time the task was dispatched and now. That isn't an
574 switch (task) {
598 switch (task) {
    [all...]

Completed in 4259 milliseconds

1 2