Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_talk2ctlr.c442 size_t cmd_size; in cpqary3_init_ctlr() local
503 cmd_size = (8 * queue_depth); in cpqary3_init_ctlr()
511 replyq_start_addr = MEM_ZALLOC(cmd_size); in cpqary3_init_ctlr()
512 bzero(replyq_start_addr, cmd_size); in cpqary3_init_ctlr()
683 cmd_size = (8 * queue_depth); in cpqary3_init_ctlr()
686 cmd_size, &phy_addr, cpqary3_phyctgp); in cpqary3_init_ctlr()
693 bzero(replyq_start_addr, cmd_size); in cpqary3_init_ctlr()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_dump.c44 uint32_t cmd_size; in emlxs_menlo_set_mode() local
54 cmd_size = sizeof (menlo_set_cmd_t); in emlxs_menlo_set_mode()
55 cmd_buf = (menlo_cmd_t *)kmem_zalloc(cmd_size, KM_SLEEP); in emlxs_menlo_set_mode()
65 emlxs_swap32_buffer((uint8_t *)cmd_buf, cmd_size); in emlxs_menlo_set_mode()
68 if (rval = emlxs_send_menlo_cmd(hba, (uint8_t *)cmd_buf, cmd_size, in emlxs_menlo_set_mode()
107 uint32_t cmd_size; in emlxs_menlo_reset() local
117 cmd_size = sizeof (menlo_reset_cmd_t); in emlxs_menlo_reset()
118 cmd_buf = (menlo_cmd_t *)kmem_zalloc(cmd_size, KM_SLEEP); in emlxs_menlo_reset()
127 emlxs_swap32_buffer((uint8_t *)cmd_buf, cmd_size); in emlxs_menlo_reset()
130 if (rval = emlxs_send_menlo_cmd(hba, (uint8_t *)cmd_buf, cmd_size, in emlxs_menlo_reset()
[all …]
H A Demlxs_dfc.c5564 uint32_t cmd_size; in emlxs_dfc_send_ct() local
5573 cmd_size = dfc->buf1_size; in emlxs_dfc_send_ct()
5583 "%s: csize=%d rsize=%d", emlxs_dfc_xlate(dfc->cmd), cmd_size, in emlxs_dfc_send_ct()
5587 if (!cmd_size || !cmd_buf) { in emlxs_dfc_send_ct()
5628 if (cmd_size > MAX_CT_PAYLOAD) { in emlxs_dfc_send_ct()
5631 emlxs_dfc_xlate(dfc->cmd), cmd_size); in emlxs_dfc_send_ct()
5685 if (!(pkt = emlxs_pkt_alloc(port, cmd_size, rsp_size, 0, KM_NOSLEEP))) { in emlxs_dfc_send_ct()
5717 bcopy((void *)cmd_buf, (void *)pkt->pkt_cmd, cmd_size); in emlxs_dfc_send_ct()
5766 uint32_t cmd_size; in emlxs_dfc_send_ct_rsp() local
5772 cmd_size = dfc->buf1_size; in emlxs_dfc_send_ct_rsp()
[all …]
H A Demlxs_dhchap.c104 uint32_t d_id, uint32_t cmd_size, uint32_t rsp_size,
1163 uint32_t cmd_size; in emlxs_issue_dhchap_success() local
1192 cmd_size = cmdsize; in emlxs_issue_dhchap_success()
1195 if ((pkt = emlxs_prep_els_fc_pkt(port, ndlp->nlp_DID, cmd_size, in emlxs_issue_dhchap_success()
1348 uint32_t cmd_size; in emlxs_issue_auth_reject() local
1359 cmd_size = cmdsize; in emlxs_issue_auth_reject()
1362 if ((pkt = emlxs_prep_els_fc_pkt(port, ndlp->nlp_DID, cmd_size, in emlxs_issue_auth_reject()
1426 uint32_t cmd_size, in emlxs_prep_els_fc_pkt() argument
1434 if (!(pkt = emlxs_pkt_alloc(port, cmd_size, rsp_size, in emlxs_prep_els_fc_pkt()
1485 uint32_t cmd_size; in emlxs_issue_auth_negotiate() local
[all …]
/titanic_50/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_scsi.c1842 uint32_t cmd_size, n; in sbd_handle_mode_sense() local
1857 cmd_size = (cdb[0] == SCMD_MODE_SENSE) ? cdb[4] : in sbd_handle_mode_sense()
1875 if ((cmd_size < header_size) || (pc_valid == 0)) { in sbd_handle_mode_sense()
1987 cmd_size, n); in sbd_handle_mode_sense()
2123 uint32_t cmd_size; in sbd_handle_identifying_info() local
2130 cmd_size = READ_SCSI32(&cdb[6], uint32_t); in sbd_handle_identifying_info()
2134 if (cmd_size < 4) { in sbd_handle_identifying_info()
2176 cmd_size, xfer_size); in sbd_handle_identifying_info()
2622 uint16_t cmd_size; in sbd_handle_inquiry() local
2646 cmd_size = (((uint16_t)cdbp[3]) << 8) | cdbp[4]; in sbd_handle_inquiry()
[all …]
/titanic_50/usr/src/uts/sun/io/
H A Dsocal.c4409 uint32_t cmd_size, uint32_t rsp_size, caddr_t *rprivp, uint32_t polled) in socal_els_alloc() argument
4451 if (ddi_dma_mem_alloc(chandle, cmd_size, &socal_acc_attr, in socal_els_alloc()
4458 if (real_len < cmd_size) in socal_els_alloc()
4462 (caddr_t)cmd, cmd_size, in socal_els_alloc()
4503 srp->sr_soc_hdr.sh_byte_cnt = cmd_size; in socal_els_alloc()
4505 srp->sr_dataseg[0].fc_count = cmd_size; in socal_els_alloc()
4558 uint32_t cmd_size, uint32_t rsp_size, caddr_t *rprivp, in socal_lbf_alloc() argument
4597 if (ddi_dma_mem_alloc(chandle, cmd_size, &socal_acc_attr, in socal_lbf_alloc()
4604 if (real_len < cmd_size) in socal_lbf_alloc()
4608 (caddr_t)cmd, cmd_size, in socal_lbf_alloc()
[all …]
/titanic_50/usr/src/uts/i86pc/io/ioat/
H A Dioat_chan.c159 size_t cmd_size; in ioat_channel_alloc() local
229 cmd_size = sizeof (struct dcopy_cmd_s) + in ioat_channel_alloc()
234 channel->ic_cmd_cache = kmem_cache_create(chanstr, cmd_size, 64, in ioat_channel_alloc()
/titanic_50/usr/src/uts/common/io/1394/
H A Dh1394.c131 uint_t cmd_size; in h1394_attach() local
207 cmd_size = sizeof (cmd1394_cmd_t) + sizeof (s1394_cmd_priv_t) + in h1394_attach()
210 hal->hal_kmem_cachep = kmem_cache_create(buf, cmd_size, 8, NULL, NULL, in h1394_attach()
H A Ds1394_asynch.c72 uint_t cmd_size; in s1394_alloc_cmd() local
106 cmd_size = sizeof (cmd1394_cmd_t) + in s1394_alloc_cmd()
108 bzero((void *)*cmdp, cmd_size); in s1394_alloc_cmd()
/titanic_50/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c3001 sf_els_alloc(struct sf *sf, uchar_t dest_id, int priv_size, int cmd_size, in sf_els_alloc() argument
3043 if (ddi_dma_mem_alloc(cmd_dma_handle, cmd_size, in sf_els_alloc()
3052 if (real_size < cmd_size) { in sf_els_alloc()
3127 fpkt->fcal_socal_request.sr_soc_hdr.sh_byte_cnt = cmd_size; in sf_els_alloc()
3134 fpkt->fcal_socal_request.sr_dataseg[0].fc_count = cmd_size; in sf_els_alloc()
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h840 uint32_t cmd_size, uint8_t *rsp_buf,