Home
last modified time | relevance | path

Searched refs:icmd (Results 1 – 11 of 11) sorted by relevance

/titanic_44/usr/src/uts/common/io/comstar/port/fct/
H A Ddiscovery.c66 void fct_gid_cb(fct_i_cmd_t *icmd);
802 fct_i_cmd_t *icmd = (fct_i_cmd_t *)cmd->cmd_fct_private; in fct_handle_els() local
810 icmd->icmd_start_time = ddi_get_lbolt(); in fct_handle_els()
812 icmd->icmd_flags |= ICMD_KNOWN_TO_FCA; in fct_handle_els()
969 if (!(icmd->icmd_flags & ICMD_IMPLICIT)) { in fct_handle_els()
985 atomic_or_32(&icmd->icmd_flags, ICMD_IMPLICIT_CMD_HAS_RESOURCE); in fct_handle_els()
1006 atomic_or_32(&icmd->icmd_flags, ICMD_SESSION_AFFECTING); in fct_handle_els()
1011 fct_post_to_discovery_queue(iport, irp, icmd); in fct_handle_els()
1029 fct_i_cmd_t *icmd; in fct_trigger_rport_cleanup() local
1043 icmd = iport->iport_cmd_slots[i].slot_cmd; in fct_trigger_rport_cleanup()
[all …]
H A Dfct.c1275 fct_i_cmd_t *icmd, *next_icmd; in fct_deregister_local_port() local
1320 for (icmd = iport->iport_cached_cmdlist; icmd; icmd = next_icmd) { in fct_deregister_local_port()
1321 next_icmd = icmd->icmd_next; in fct_deregister_local_port()
1322 fct_free(icmd->icmd_cmd); in fct_deregister_local_port()
1484 fct_i_cmd_t *icmd; in fct_is_irp_logging_out() local
1486 for (icmd = irp->irp_els_list; icmd; icmd = icmd->icmd_next) { in fct_is_irp_logging_out()
1487 uint8_t op = (ICMD_TO_ELS(icmd))->els_req_payload[0]; in fct_is_irp_logging_out()
1490 if (icmd->icmd_flags & ICMD_IMPLICIT) in fct_is_irp_logging_out()
1614 fct_i_cmd_t *icmd; in fct_scsi_task_alloc() local
1659 if ((icmd = iport->iport_cached_cmdlist) != NULL) { in fct_scsi_task_alloc()
[all …]
H A Dfct_impl.h68 typedef void (* fct_icmd_cb_t)(struct fct_i_cmd *icmd);
389 #define IS_LOGO_ELS(icmd) \ argument
390 (ICMD_TO_ELS(icmd)->els_req_payload[0] == ELS_OP_LOGO)
410 fct_i_cmd_t *icmd, fct_status_t s);
423 fct_i_remote_port_t *irp, fct_i_cmd_t *icmd);
430 void fct_logo_cb(fct_i_cmd_t *icmd);
431 void fct_link_init_cb(fct_i_cmd_t *icmd);
432 void fct_gsnn_cb(fct_i_cmd_t *icmd);
433 void fct_gcs_cb(fct_i_cmd_t *icmd);
434 void fct_gft_cb(fct_i_cmd_t *icmd);
[all …]
H A Ddiscovery.h40 fct_i_cmd_t *icmd);
/titanic_44/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c418 static void fcp_ipkt_sema_init(struct fcp_ipkt *icmd);
419 static int fcp_ipkt_sema_wait(struct fcp_ipkt *icmd);
421 static void fcp_ipkt_sema_cleanup(struct fcp_ipkt *icmd);
431 struct fcp_ipkt *icmd, uchar_t opcode, int lcount, int tcount, int cause);
444 static void fcp_icmd_free(struct fcp_port *pptr, struct fcp_ipkt *icmd);
445 static int fcp_alloc_dma(struct fcp_port *pptr, struct fcp_ipkt *icmd,
447 static void fcp_free_dma(struct fcp_port *pptr, struct fcp_ipkt *icmd);
458 static void fcp_handle_inquiry(fc_packet_t *fpkt, struct fcp_ipkt *icmd);
459 static void fcp_handle_reportlun(fc_packet_t *fpkt, struct fcp_ipkt *icmd);
572 static int fcp_is_retryable(struct fcp_ipkt *icmd);
[all …]
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_fcp.c32 #define EMLXS_GET_VADDR(hba, rp, icmd) emlxs_mem_get_vaddr(hba, rp, \ argument
33 PADDR(icmd->un.cont64[i].addrHigh, icmd->un.cont64[i].addrLow));
726 IOCB *icmd; in emlxs_post_buffer() local
774 icmd = &iocbq->iocb; in emlxs_post_buffer()
786 icmd->ULPBDECOUNT = i; in emlxs_post_buffer()
788 mp = EMLXS_GET_VADDR(hba, rp, icmd); in emlxs_post_buffer()
809 (uint32_t *)&icmd->un.cont64[i].addrHigh, in emlxs_post_buffer()
810 (uint32_t *)&icmd->un.cont64[i].addrLow); in emlxs_post_buffer()
812 icmd->un.cont64[i].tus.f.bdeSize = size; in emlxs_post_buffer()
813 icmd->ULPCOMMAND = CMD_QUE_RING_BUF64_CN; in emlxs_post_buffer()
[all …]
H A Demlxs_ip.c459 IOCB *icmd; in emlxs_create_xri() local
505 icmd = &iocbq->iocb; in emlxs_create_xri()
506 icmd->ULPIOTAG = iotag; in emlxs_create_xri()
507 icmd->ULPCONTEXT = ndlp->nlp_Rpi; in emlxs_create_xri()
508 icmd->ULPLE = 1; in emlxs_create_xri()
509 icmd->ULPCOMMAND = CMD_CREATE_XRI_CR; in emlxs_create_xri()
510 icmd->ULPOWNER = OWN_CHIP; in emlxs_create_xri()
H A Demlxs_sli3.c5354 IOCB *icmd; in emlxs_sli3_issue_iocb() local
5362 icmd = &iocbq->iocb; in emlxs_sli3_issue_iocb()
5393 icmd->ULPCOMMAND); in emlxs_sli3_issue_iocb()
5410 BE_SWAP32_BCOPY((uint8_t *)icmd, (uint8_t *)iocb, in emlxs_sli3_issue_iocb()
H A Demlxs_sli4.c3032 icmd->ULPCOMMAND); in emlxs_sli4_issue_iocb_cmd()
/titanic_44/usr/src/cmd/mdb/common/modules/stmf/
H A Dstmf.c862 struct fct_i_cmd icmd; in print_tasks() local
865 if (mdb_vread(&icmd, sizeof (struct fct_i_cmd), in print_tasks()
871 (uintptr_t)icmd.icmd_cmd) != sizeof (struct fct_cmd)) { in print_tasks()
909 struct fct_i_cmd icmd; in print_tasks_on_rp() local
913 if (mdb_vread(&icmd, sizeof (struct fct_i_cmd), in print_tasks_on_rp()
919 (uintptr_t)icmd.icmd_cmd) != sizeof (struct fct_cmd)) { in print_tasks_on_rp()
962 print_all_cmds(struct fct_i_cmd *icmd, struct find_options *options, void *arg) in print_all_cmds() argument
964 mdb_printf("%p\n", icmd); in print_all_cmds()
1080 struct fct_i_cmd icmd; in fct_icmds() local
1110 if (mdb_vread(&icmd, sizeof (struct fct_i_cmd), in fct_icmds()
[all …]
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_io.c2549 iscsi_cmd_t icmd; in iscsi_handle_reset() local
2576 bzero(&icmd, sizeof (iscsi_cmd_t)); in iscsi_handle_reset()
2577 icmd.cmd_sig = ISCSI_SIG_CMD; in iscsi_handle_reset()
2578 icmd.cmd_state = ISCSI_CMD_STATE_FREE; in iscsi_handle_reset()
2579 icmd.cmd_type = ISCSI_CMD_TYPE_RESET; in iscsi_handle_reset()
2580 icmd.cmd_lun = ilp; in iscsi_handle_reset()
2581 icmd.cmd_un.reset.level = level; in iscsi_handle_reset()
2582 icmd.cmd_result = ISCSI_STATUS_SUCCESS; in iscsi_handle_reset()
2583 icmd.cmd_completed = B_FALSE; in iscsi_handle_reset()
2584 icmd.cmd_un.reset.response = SCSI_TCP_TM_RESP_COMPLETE; in iscsi_handle_reset()
[all …]