Home
last modified time | relevance | path

Searched refs:iocb (Results 1 – 25 of 36) sorted by relevance

12

/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_els.c88 IOCB *iocb; in emlxs_els_handle_event() local
97 iocb = &iocbq->iocb; in emlxs_els_handle_event()
111 iocbq, (uint32_t)iocb->ULPCOMMAND, in emlxs_els_handle_event()
112 (uint32_t)iocb->ULPIOTAG, iocb->ULPSTATUS, in emlxs_els_handle_event()
113 iocb->un.ulpWord[4]); in emlxs_els_handle_event()
124 (uint32_t)iocb->ULPCOMMAND, (uint32_t)iocb->ULPIOTAG, in emlxs_els_handle_event()
125 iocb->ULPSTATUS, iocb->un.ulpWord[4]); in emlxs_els_handle_event()
142 switch (iocb->ULPCOMMAND) { in emlxs_els_handle_event()
174 pkt->pkt_rsplen - iocb->un.elsreq64.bdl.bdeSize; in emlxs_els_handle_event()
180 if ((iocb->ULPSTATUS == 0) && (els->elsCode == 0x02)) { in emlxs_els_handle_event()
[all …]
H A Demlxs_sli3.c2348 IOCB *iocb; in emlxs_sli2_bde_setup() local
2355 iocb = (IOCB *) & sbp->iocbq; in emlxs_sli2_bde_setup()
2466 iocb->un.genreq64.bdl.bdeFlags = BUFF_TYPE_BDL; in emlxs_sli2_bde_setup()
2467 iocb->un.genreq64.bdl.addrHigh = PADDR_HI(bp); in emlxs_sli2_bde_setup()
2468 iocb->un.genreq64.bdl.addrLow = PADDR_LO(bp); in emlxs_sli2_bde_setup()
2469 iocb->un.genreq64.bdl.bdeSize = in emlxs_sli2_bde_setup()
2471 iocb->ULPBDECOUNT = 1; in emlxs_sli2_bde_setup()
2472 iocb->ULPLE = 1; in emlxs_sli2_bde_setup()
2490 IOCB *iocb; in emlxs_sli3_bde_setup() local
2517 iocb = (IOCB *)iocbq; in emlxs_sli3_bde_setup()
[all …]
H A Demlxs_hba.c2211 IOCB *iocb; in emlxs_handle_async_event() local
2215 iocb = &iocbq->iocb; in emlxs_handle_async_event()
2217 if (iocb->ULPSTATUS != 0) { in emlxs_handle_async_event()
2221 switch (iocb->un.astat.EventCode) { in emlxs_handle_async_event()
2226 iocb->ULPCONTEXT); in emlxs_handle_async_event()
2228 hba->temperature = iocb->ULPCONTEXT; in emlxs_handle_async_event()
2229 emlxs_log_temp_event(port, 0x02, iocb->ULPCONTEXT); in emlxs_handle_async_event()
2239 iocb->ULPCONTEXT); in emlxs_handle_async_event()
2241 hba->temperature = iocb->ULPCONTEXT; in emlxs_handle_async_event()
2242 emlxs_log_temp_event(port, 0x03, iocb->ULPCONTEXT); in emlxs_handle_async_event()
[all …]
H A Demlxs_fcp.c78 cmd = &iocbq->iocb; in emlxs_handle_fcp_event()
774 icmd = &iocbq->iocb; in emlxs_post_buffer()
2254 IOCB *iocb; in emlxs_tx_channel_flush() local
2335 iocb = &iocbq->iocb; in emlxs_tx_channel_flush()
2344 iocb->ULPIOTAG, 0); in emlxs_tx_channel_flush()
2398 icmd = &iocbq->iocb; in emlxs_tx_channel_flush()
2473 IOCB *iocb; in emlxs_tx_node_flush() local
2582 iocb = &iocbq->iocb; in emlxs_tx_node_flush()
2591 iocb->ULPIOTAG, 0); in emlxs_tx_node_flush()
2646 icmd = &iocbq->iocb; in emlxs_tx_node_flush()
[all …]
H A Demlxs_fct.c661 iocbq.iocb.un.elsreq.remoteID = fx->fx_sid;
662 iocbq.iocb.un.elsreq.myID = fx->fx_did;
663 iocbq.iocb.ULPCONTEXT = (uint16_t)fx->rsvd2;
688 fx->fx_sid, iocbq.iocb.ULPCONTEXT);
715 iocbq.iocb.un.elsreq.remoteID = fx->fx_sid;
716 iocbq.iocb.un.elsreq.myID = fx->fx_did;
717 iocbq.iocb.ULPCONTEXT = fx->rsvd2;
1694 IOCB *iocb; local
1713 iocb = &iocbq->iocb;
1714 status = iocb->ULPSTATUS;
[all …]
H A Demlxs_sli4.c2667 IOCB *iocb; in emlxs_sli4_fct_bde_setup() local
2681 iocb = &iocbq->iocb; in emlxs_sli4_fct_bde_setup()
2710 if (iocb->ULPCOMMAND == CMD_FCP_TRECEIVE64_CX) { in emlxs_sli4_fct_bde_setup()
3855 IOCB *iocb; in emlxs_sli4_prep_fct_iocb() local
3872 iocb = &iocbq->iocb; in emlxs_sli4_prep_fct_iocb()
3875 if (iocb->ULPCOMMAND == CMD_ABORT_XRI_CX) { in emlxs_sli4_prep_fct_iocb()
3940 } else if (iocb->ULPCOMMAND == CMD_FCP_TRSP64_CX) { in emlxs_sli4_prep_fct_iocb()
4015 wqe->Command = iocb->ULPCOMMAND; in emlxs_sli4_prep_fct_iocb()
4108 iocb->ULPCT = 0; in emlxs_sli4_prep_fct_iocb()
4110 iocb->ULPCOMMAND = CMD_FCP_TRECEIVE64_CX; in emlxs_sli4_prep_fct_iocb()
[all …]
H A Demlxs_ip.c41 cmd = &iocbq->iocb; in emlxs_ip_handle_event()
194 cmd = &iocbq->iocb; in emlxs_ip_handle_unsol_req()
315 cmd = &iocbq->iocb; in emlxs_ip_handle_rcv_seq_list()
329 hbqE = (HBQE_t *)&iocbq->iocb; in emlxs_ip_handle_rcv_seq_list()
388 cmd = &iocbq->iocb; in emlxs_handle_create_xri()
505 icmd = &iocbq->iocb; in emlxs_create_xri()
H A Demlxs_clock.c283 IOCB *iocb; in emlxs_timer_check_pkts() local
326 iocb = &iocbq->iocb; in emlxs_timer_check_pkts()
385 iocb = &iocbq->iocb; in emlxs_timer_check_pkts()
451 iocb = &iocbq->iocb; in emlxs_timer_check_pkts()
460 iocb->ULPIOTAG, 0); in emlxs_timer_check_pkts()
1332 IOCB *iocb; in emlxs_tx_watchdog() local
H A Demlxs_solaris.c8558 IOCB *iocb; in emlxs_send_fcp_cmd() local
8596 iocb = &iocbq->iocb; in emlxs_send_fcp_cmd()
8732 sbp->class = iocb->ULPCLASS; in emlxs_send_fcp_cmd()
8837 IOCB *iocb; in emlxs_send_fct_status() local
8847 iocb = &iocbq->iocb; in emlxs_send_fct_status()
8862 iocb->ULPCOMMAND = CMD_FCP_TRSP64_CX; in emlxs_send_fct_status()
8882 IOCB *iocb; in emlxs_send_fct_abort() local
8892 iocb = &iocbq->iocb; in emlxs_send_fct_abort()
8907 iocb->ULPCOMMAND = CMD_ABORT_XRI_CX; in emlxs_send_fct_abort()
8928 IOCB *iocb; in emlxs_send_ip() local
[all …]
H A Demlxs_event.c767 emlxs_log_async_event(emlxs_port_t *port, IOCB *iocb) in emlxs_log_async_event() argument
786 bcopy((uint8_t *)iocb, bp, size); in emlxs_log_async_event()
/titanic_50/usr/src/uts/common/inet/kifconf/
H A Dkifconf.c165 struct strioctl iocb; in kifioctl() local
183 iocb.ic_len = nbuf->len; in kifioctl()
184 iocb.ic_dp = nbuf->buf; in kifioctl()
192 iocb.ic_len = sizeof (lifr); in kifioctl()
193 iocb.ic_dp = (caddr_t)&lifr; in kifioctl()
196 iocb.ic_len = sizeof (lifr); in kifioctl()
197 iocb.ic_dp = (caddr_t)&lifr; in kifioctl()
201 iocb.ic_cmd = cmd; in kifioctl()
202 iocb.ic_timout = 0; in kifioctl()
205 rc = kstr_ioctl(vp, I_STR, (intptr_t)&iocb); in kifioctl()
[all …]
/titanic_50/usr/src/lib/libsmbfs/smb/
H A Dacl_api.c77 ioc_sdbuf_t iocb; in smbfs_acl_iocget() local
86 iocb.addr = mtod(m, uintptr_t); in smbfs_acl_iocget()
87 iocb.alloc = m->m_maxlen; in smbfs_acl_iocget()
88 iocb.used = 0; in smbfs_acl_iocget()
89 iocb.selector = selector; in smbfs_acl_iocget()
94 if (ioctl(fd, SMBFSIO_GETSD, &iocb) < 0) { in smbfs_acl_iocget()
99 m->m_len = iocb.used; in smbfs_acl_iocget()
111 ioc_sdbuf_t iocb; in smbfs_acl_iocset() local
123 iocb.addr = mtod(m, uintptr_t); in smbfs_acl_iocset()
124 iocb.alloc = m->m_maxlen; in smbfs_acl_iocset()
[all …]
/titanic_50/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_acl.c209 ioc_sdbuf_t iocb; in smbfs_acl_iocget() local
218 if (ddi_copyin((void *)arg, &iocb, sizeof (iocb), flag)) in smbfs_acl_iocget()
225 error = smbfs_getsd(vp, iocb.selector, &m, cr); in smbfs_acl_iocget()
234 iocb.used = m_fixhdr(m); in smbfs_acl_iocget()
241 if (ddi_copyout(&iocb, (void *)arg, sizeof (iocb), flag)) { in smbfs_acl_iocget()
246 if (iocb.used > iocb.alloc) { in smbfs_acl_iocget()
254 ubuf = (void *)(uintptr_t)iocb.addr; in smbfs_acl_iocget()
255 error = md_get_mem(mdp, ubuf, iocb.used, MB_MUSER); in smbfs_acl_iocget()
270 ioc_sdbuf_t iocb; in smbfs_acl_iocset() local
278 if (ddi_copyin((void *)arg, &iocb, sizeof (iocb), flag)) in smbfs_acl_iocset()
[all …]
/titanic_50/usr/src/cmd/bnu/
H A Ddkdial.c88 struct diocreq iocb; member
137 ioreq.iocb.req_traffic = 0;
138 ioreq.iocb.req_1param = 0;
139 ioreq.iocb.req_2param = 0;
152 fprintf(stderr, Conn_Msg, ioreq.dialstring, dkerr(ioreq.iocb.req_error));
160 return(-dkerrmap(dk_errno = ioreq.iocb.req_error));
H A Ddkminor.c44 struct diocreq iocb; in dkminor() local
47 if (ioctl(fd, DIOCINFO, &iocb) < 0) in dkminor()
49 return(iocb.req_chmin); /* req_chmin contains channel number */ in dkminor()
/titanic_50/usr/src/uts/common/io/
H A Dstrplumb.c289 struct strioctl iocb; in getifflags() local
292 iocb.ic_cmd = SIOCGLIFFLAGS; in getifflags()
293 iocb.ic_timout = 15; in getifflags()
294 iocb.ic_len = sizeof (struct lifreq); in getifflags()
295 iocb.ic_dp = (char *)lifrp; in getifflags()
297 return (ldi_ioctl(lh, I_STR, (intptr_t)&iocb, FKIOCTL, CRED(), &rval)); in getifflags()
304 struct strioctl iocb; in setifname() local
307 iocb.ic_cmd = SIOCSLIFNAME; in setifname()
308 iocb.ic_timout = 15; in setifname()
309 iocb.ic_len = sizeof (struct lifreq); in setifname()
[all …]
H A Dttcompat.c191 struct iocblk *iocb; in ttcompatopen() local
254 iocb = (struct iocblk *)mp->b_rptr; in ttcompatopen()
255 iocb->ioc_count = sizeof (struct termios); in ttcompatopen()
266 tp->t_iocid = iocb->ioc_id; in ttcompatopen()
H A Dkbd.c289 register struct iocblk *iocb; in kbdopen() local
362 iocb = (struct iocblk *)mp->b_rptr; in kbdopen()
363 iocb->ioc_count = sizeof (struct termios); in kbdopen()
374 kbdd->kbdd_iocid = iocb->ioc_id; /* waiting for this response */ in kbdopen()
/titanic_50/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c52 struct strioctl iocb; in rds_do_ip_ioctl() local
68 iocb.ic_cmd = cmd; in rds_do_ip_ioctl()
69 iocb.ic_timout = 0; in rds_do_ip_ioctl()
70 iocb.ic_len = len; in rds_do_ip_ioctl()
71 iocb.ic_dp = (caddr_t)arg; in rds_do_ip_ioctl()
73 err = kstr_ioctl(vp, I_STR, (intptr_t)&iocb); in rds_do_ip_ioctl()
/titanic_50/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_arp.c278 struct strioctl iocb; in ibcm_do_ip_ioctl() local
289 iocb.ic_cmd = cmd; in ibcm_do_ip_ioctl()
290 iocb.ic_timout = 0; in ibcm_do_ip_ioctl()
291 iocb.ic_len = len; in ibcm_do_ip_ioctl()
292 iocb.ic_dp = (caddr_t)arg; in ibcm_do_ip_ioctl()
293 err = kstr_ioctl(tiptr->fp->f_vnode, I_STR, (intptr_t)&iocb); in ibcm_do_ip_ioctl()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c1429 struct strioctl iocb; in rtioctl() local
1433 iocb.ic_cmd = cmd; in rtioctl()
1434 iocb.ic_timout = 0; in rtioctl()
1435 iocb.ic_len = sizeof (struct rtentry); in rtioctl()
1436 iocb.ic_dp = (caddr_t)rtentry; in rtioctl()
1439 rc = kstr_ioctl(vp, I_STR, (intptr_t)&iocb); in rtioctl()
1456 struct strioctl iocb; in ifioctl() local
1467 iocb.ic_cmd = cmd; in ifioctl()
1468 iocb.ic_timout = 0; in ifioctl()
1469 iocb.ic_len = sizeof (ifr); in ifioctl()
[all …]
/titanic_50/usr/src/uts/sun/io/
H A Dms.c288 register struct iocblk *iocb; local
340 iocb = (struct iocblk *)mp->b_rptr;
341 iocb->ioc_count = sizeof (struct termios);
355 msd->msd_iocid = iocb->ioc_id; /* this response */
913 register struct iocblk *iocb; local
992 iocb = (struct iocblk *)imp->b_rptr;
993 iocb->ioc_count = sizeof (struct termios);
1007 msd->msd_iocid = iocb->ioc_id;
/titanic_50/usr/src/uts/common/io/softmac/
H A Dsoftmac_main.c717 struct strioctl iocb; in softmac_mac_register() local
824 iocb.ic_cmd = DLIOCMARGININFO; in softmac_mac_register()
825 iocb.ic_timout = INFTIM; in softmac_mac_register()
826 iocb.ic_len = sizeof (margin); in softmac_mac_register()
827 iocb.ic_dp = (char *)&margin; in softmac_mac_register()
830 if (ldi_ioctl(lh, I_STR, (intptr_t)&iocb, FKIOCTL, kcred, in softmac_mac_register()
/titanic_50/usr/src/uts/common/sys/
H A Daio_impl.h93 caddr_t iocb; /* ptr to aiocb: 32-32, 64-64 */ member
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_iocb.h807 emlxs_iocb_t iocb; member

12