Home
last modified time | relevance | path

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

12

/illumos-gate/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.c2353 IOCB *iocb; in emlxs_sli2_bde_setup() local
2360 iocb = (IOCB *) & sbp->iocbq; in emlxs_sli2_bde_setup()
2471 iocb->un.genreq64.bdl.bdeFlags = BUFF_TYPE_BDL; in emlxs_sli2_bde_setup()
2472 iocb->un.genreq64.bdl.addrHigh = PADDR_HI(bp); in emlxs_sli2_bde_setup()
2473 iocb->un.genreq64.bdl.addrLow = PADDR_LO(bp); in emlxs_sli2_bde_setup()
2474 iocb->un.genreq64.bdl.bdeSize = in emlxs_sli2_bde_setup()
2476 iocb->ULPBDECOUNT = 1; in emlxs_sli2_bde_setup()
2477 iocb->ULPLE = 1; in emlxs_sli2_bde_setup()
2495 IOCB *iocb; in emlxs_sli3_bde_setup() local
2522 iocb = (IOCB *)iocbq; in emlxs_sli3_bde_setup()
[all …]
H A Demlxs_hba.c2236 IOCB *iocb; in emlxs_handle_async_event() local
2240 iocb = &iocbq->iocb; in emlxs_handle_async_event()
2242 if (iocb->ULPSTATUS != 0) { in emlxs_handle_async_event()
2246 switch (iocb->un.astat.EventCode) { in emlxs_handle_async_event()
2251 iocb->ULPCONTEXT); in emlxs_handle_async_event()
2253 hba->temperature = iocb->ULPCONTEXT; in emlxs_handle_async_event()
2254 emlxs_log_temp_event(port, 0x02, iocb->ULPCONTEXT); in emlxs_handle_async_event()
2264 iocb->ULPCONTEXT); in emlxs_handle_async_event()
2266 hba->temperature = iocb->ULPCONTEXT; in emlxs_handle_async_event()
2267 emlxs_log_temp_event(port, 0x03, iocb->ULPCONTEXT); in emlxs_handle_async_event()
[all …]
H A Demlxs_fcp.c79 cmd = &iocbq->iocb; in emlxs_handle_fcp_event()
775 icmd = &iocbq->iocb; in emlxs_post_buffer()
2263 IOCB *iocb; in emlxs_tx_channel_flush() local
2344 iocb = &iocbq->iocb; in emlxs_tx_channel_flush()
2353 iocb->ULPIOTAG, 0); in emlxs_tx_channel_flush()
2407 icmd = &iocbq->iocb; in emlxs_tx_channel_flush()
2482 IOCB *iocb; in emlxs_tx_node_flush() local
2591 iocb = &iocbq->iocb; in emlxs_tx_node_flush()
2600 iocb->ULPIOTAG, 0); in emlxs_tx_node_flush()
2655 icmd = &iocbq->iocb; in emlxs_tx_node_flush()
[all …]
H A Demlxs_fct.c664 iocbq.iocb.un.elsreq.remoteID = fx->fx_sid; in emlxs_fct_handle_unsol_flogi()
665 iocbq.iocb.un.elsreq.myID = fx->fx_did; in emlxs_fct_handle_unsol_flogi()
666 iocbq.iocb.ULPCONTEXT = (uint16_t)fx->rsvd2; in emlxs_fct_handle_unsol_flogi()
691 fx->fx_sid, iocbq.iocb.ULPCONTEXT); in emlxs_fct_handle_unsol_flogi()
718 iocbq.iocb.un.elsreq.remoteID = fx->fx_sid; in emlxs_fct_handle_unsol_flogi()
719 iocbq.iocb.un.elsreq.myID = fx->fx_did; in emlxs_fct_handle_unsol_flogi()
720 iocbq.iocb.ULPCONTEXT = fx->rsvd2; in emlxs_fct_handle_unsol_flogi()
1705 IOCB *iocb; in emlxs_fct_send_cmd_rsp() local
1724 iocb = &iocbq->iocb; in emlxs_fct_send_cmd_rsp()
1725 status = iocb->ULPSTATUS; in emlxs_fct_send_cmd_rsp()
[all …]
H A Demlxs_sli4.c3025 IOCB *iocb; in emlxs_sli4_fct_bde_setup() local
3039 iocb = &iocbq->iocb; in emlxs_sli4_fct_bde_setup()
3068 if (iocb->ULPCOMMAND == CMD_FCP_TRECEIVE64_CX) { in emlxs_sli4_fct_bde_setup()
4201 IOCB *iocb; in emlxs_sli4_prep_fct_iocb() local
4218 iocb = &iocbq->iocb; in emlxs_sli4_prep_fct_iocb()
4221 if (iocb->ULPCOMMAND == CMD_ABORT_XRI_CX) { in emlxs_sli4_prep_fct_iocb()
4286 } else if (iocb->ULPCOMMAND == CMD_FCP_TRSP64_CX) { in emlxs_sli4_prep_fct_iocb()
4361 wqe->Command = iocb->ULPCOMMAND; in emlxs_sli4_prep_fct_iocb()
4454 iocb->ULPCT = 0; in emlxs_sli4_prep_fct_iocb()
4456 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()
1339 IOCB *iocb; in emlxs_tx_watchdog() local
H A Demlxs_solaris.c8581 IOCB *iocb; in emlxs_send_fcp_cmd() local
8619 iocb = &iocbq->iocb; in emlxs_send_fcp_cmd()
8755 sbp->class = iocb->ULPCLASS; in emlxs_send_fcp_cmd()
8860 IOCB *iocb; in emlxs_send_fct_status() local
8870 iocb = &iocbq->iocb; in emlxs_send_fct_status()
8885 iocb->ULPCOMMAND = CMD_FCP_TRSP64_CX; in emlxs_send_fct_status()
8905 IOCB *iocb; in emlxs_send_fct_abort() local
8915 iocb = &iocbq->iocb; in emlxs_send_fct_abort()
8930 iocb->ULPCOMMAND = CMD_ABORT_XRI_CX; in emlxs_send_fct_abort()
8951 IOCB *iocb; in emlxs_send_ip() local
[all …]
H A Demlxs_event.c770 emlxs_log_async_event(emlxs_port_t *port, IOCB *iocb) in emlxs_log_async_event() argument
789 bcopy((uint8_t *)iocb, bp, size); in emlxs_log_async_event()
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dacl_api.c79 ioc_sdbuf_t iocb; in smbfs_acl_iocget() local
88 bzero(&iocb, sizeof (iocb)); in smbfs_acl_iocget()
89 iocb.addr = mtod(m, uintptr_t); in smbfs_acl_iocget()
90 iocb.alloc = m->m_maxlen; in smbfs_acl_iocget()
91 iocb.used = 0; in smbfs_acl_iocget()
92 iocb.selector = selector; in smbfs_acl_iocget()
97 if (nsmb_ioctl(fd, SMBFSIO_GETSD, &iocb) < 0) { in smbfs_acl_iocget()
102 m->m_len = iocb.used; in smbfs_acl_iocget()
114 ioc_sdbuf_t iocb; in smbfs_acl_iocset() local
126 bzero(&iocb, sizeof (iocb)); in smbfs_acl_iocset()
[all …]
/illumos-gate/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 …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_acl.c197 ioc_sdbuf_t iocb; in smbfs_acl_iocget() local
206 if (ddi_copyin((void *)arg, &iocb, sizeof (iocb), flag)) in smbfs_acl_iocget()
213 error = smbfs_getsd(vp, iocb.selector, &m, cr); in smbfs_acl_iocget()
222 iocb.used = m_fixhdr(m); in smbfs_acl_iocget()
229 if (ddi_copyout(&iocb, (void *)arg, sizeof (iocb), flag)) { in smbfs_acl_iocget()
234 if (iocb.used > iocb.alloc) { in smbfs_acl_iocget()
242 ubuf = (void *)(uintptr_t)iocb.addr; in smbfs_acl_iocget()
243 error = md_get_mem(mdp, ubuf, iocb.used, MB_MUSER); in smbfs_acl_iocget()
258 ioc_sdbuf_t iocb; in smbfs_acl_iocset() local
266 if (ddi_copyin((void *)arg, &iocb, sizeof (iocb), flag)) in smbfs_acl_iocset()
[all …]
/illumos-gate/usr/src/cmd/bnu/
H A Ddkdial.c86 struct diocreq iocb; member
135 ioreq.iocb.req_traffic = 0;
136 ioreq.iocb.req_1param = 0;
137 ioreq.iocb.req_2param = 0;
150 fprintf(stderr, Conn_Msg, ioreq.dialstring, dkerr(ioreq.iocb.req_error));
158 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()
/illumos-gate/usr/src/uts/common/io/
H A Dstrplumb.c301 struct strioctl iocb; in getifflags() local
304 iocb.ic_cmd = SIOCGLIFFLAGS; in getifflags()
305 iocb.ic_timout = 15; in getifflags()
306 iocb.ic_len = sizeof (struct lifreq); in getifflags()
307 iocb.ic_dp = (char *)lifrp; in getifflags()
309 return (ldi_ioctl(lh, I_STR, (intptr_t)&iocb, FKIOCTL, CRED(), &rval)); in getifflags()
316 struct strioctl iocb; in setifname() local
319 iocb.ic_cmd = SIOCSLIFNAME; in setifname()
320 iocb.ic_timout = 15; in setifname()
321 iocb.ic_len = sizeof (struct lifreq); in setifname()
[all …]
H A Dtimod.c2935 struct iocblk *iocb) in tim_send_ioctl_tpi_msg() argument
2938 int ioc_cmd = iocb->ioc_cmd; in tim_send_ioctl_tpi_msg()
2968 ASSERT(iocb->ioc_cr == NULL || iocb->ioc_cr == DB_CRED(tmp)); in tim_send_ioctl_tpi_msg()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dlinet.c1492 struct strioctl iocb; in rtioctl() local
1496 iocb.ic_cmd = cmd; in rtioctl()
1497 iocb.ic_timout = 0; in rtioctl()
1498 iocb.ic_len = sizeof (struct rtentry); in rtioctl()
1499 iocb.ic_dp = (caddr_t)rtentry; in rtioctl()
1502 rc = kstr_ioctl(vp, I_STR, (intptr_t)&iocb); in rtioctl()
1519 struct strioctl iocb; in ifioctl() local
1530 iocb.ic_cmd = cmd; in ifioctl()
1531 iocb.ic_timout = 0; in ifioctl()
1532 iocb.ic_len = sizeof (ifr); in ifioctl()
[all …]
/illumos-gate/usr/src/uts/sun/io/
H A Dms.c277 struct iocblk *iocb; in msopen() local
329 iocb = (struct iocblk *)mp->b_rptr; in msopen()
330 iocb->ioc_count = sizeof (struct termios); in msopen()
344 msd->msd_iocid = iocb->ioc_id; /* this response */ in msopen()
891 struct iocblk *iocb; in msrput() local
970 iocb = (struct iocblk *)imp->b_rptr; in msrput()
971 iocb->ioc_count = sizeof (struct termios); in msrput()
985 msd->msd_iocid = iocb->ioc_id; in msrput()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/sys/
H A Daio_impl.h93 caddr_t iocb; /* ptr to aiocb: 32-32, 64-64 */ member
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_iocb.h807 emlxs_iocb_t iocb; member
/illumos-gate/usr/src/uts/common/os/
H A Daio.c819 reqp->aio_req_iocb.iocb; in aio_unlock_requests()
1424 reqp->aio_req_iocb.iocb = (caddr_t)cbp; in alio()
2183 reqp->aio_req_iocb.iocb = aiocb_arg; in aiorw()
2444 reqp->aio_req_iocb.iocb = NULL; in aio_req_setup()
3341 reqp->aio_req_iocb.iocb = NULL; in aio_req_setupLF()

12