Home
last modified time | relevance | path

Searched refs:ioc_cmd (Results 1 – 25 of 129) sorted by relevance

123456

/illumos-gate/usr/src/uts/common/io/
H A Dttcompat.c266 switch (iocbp->ioc_cmd) { in ttcompatwput()
288 switch (iocbp->ioc_cmd) { in ttcompatwput()
312 tp->t_ioccmd = iocbp->ioc_cmd; in ttcompatwput()
409 switch (iocp->ioc_cmd) { in ttcompat_do_ioctl()
500 tp->t_ioccmd = iocp->ioc_cmd; in ttcompat_do_ioctl()
503 iocp->ioc_cmd = TCGETS; in ttcompat_do_ioctl()
518 iocp->ioc_cmd = TIOCMBIS; /* turn it into a TIOCMBIS */ in ttcompat_do_ioctl()
537 iocp->ioc_cmd = TIOCMBIC; /* turn it into a TIOCMBIC */ in ttcompat_do_ioctl()
573 iocp->ioc_cmd = TCFLSH; /* turn it into a TCFLSH */ in ttcompat_do_ioctl()
588 iocp->ioc_cmd = TCXONC; /* turn it into a XONC */ in ttcompat_do_ioctl()
[all …]
H A Dtimod.c993 int ioc_cmd; in timodrproc() local
1008 ioc_cmd = iocbp->ioc_cmd; in timodrproc()
1013 if (ioc_cmd == TI_CAPABILITY) { in timodrproc()
1076 if (ioc_cmd != TI_GETINFO && ioc_cmd != TI_SYNC) { in timodrproc()
1083 if (iocbp->ioc_cmd == TI_SYNC) { in timodrproc()
1128 if (iocbp->ioc_cmd == TI_SYNC) { in timodrproc()
1337 if (iocbp->ioc_cmd == TI_GETMYNAME) { in timodrproc()
1361 } else if (iocbp->ioc_cmd == TI_GETPEERNAME) { in timodrproc()
1411 if (((iocbp->ioc_cmd == TI_GETMYNAME) || in timodrproc()
1412 (iocbp->ioc_cmd == TI_GETPEERNAME)) && in timodrproc()
[all …]
H A Dsad.c297 switch (SAD_CMD(iocp->ioc_cmd)) { in sadwput()
315 switch (SAD_CMD(iocp->ioc_cmd)) { in sadwput()
328 iocp->ioc_cmd); in sadwput()
360 if (SAD_VER(iocp->ioc_cmd) > AP_VERSION) { in apush_ioctl()
366 switch (SAD_CMD(iocp->ioc_cmd)) { in apush_ioctl()
376 if (SAD_VER(iocp->ioc_cmd) == 1) in apush_ioctl()
631 ASSERT(SAD_CMD(iocp->ioc_cmd) == SAD_VML); in vml_ioctl()
H A Dconskbd.c831 switch (iocp->ioc_cmd) { in conskbd_ioctl()
906 switch (iocp->ioc_cmd) { in conskbd_virtual_kbd_ioctl()
1034 switch (iocp->ioc_cmd) { in conskbd_legacy_kbd_ioctl()
1226 "ACK/NAK - cmd 0x%x\n", iocp->ioc_cmd)); in conskbdlrput()
1292 ASSERT(iocp->ioc_cmd == CONSOPENPOLLEDIO || in conskbd_handle_downstream_msg()
1293 iocp->ioc_cmd == CONSCLOSEPOLLEDIO || in conskbd_handle_downstream_msg()
1294 iocp->ioc_cmd == KIOCCMD || in conskbd_handle_downstream_msg()
1295 iocp->ioc_cmd == KIOCMKTONE); in conskbd_handle_downstream_msg()
1300 msg->kpm_req_cmd = iocp->ioc_cmd; in conskbd_handle_downstream_msg()
1311 if (iocp->ioc_cmd == CONSCLOSEPOLLEDIO && in conskbd_handle_downstream_msg()
[all …]
H A Dpckt.c618 int32_t ioc_cmd; in add_ctl_info() member
638 niocblk_32.ioc_cmd = iocblk_64->ioc_cmd; in add_ctl_info()
H A Dwscons.c684 switch (iocp->ioc_cmd) { in wcuwput()
872 if ((iocp->ioc_cmd & VTIOC) == VTIOC || in wcioctl()
873 (iocp->ioc_cmd & KDIOC) == KDIOC) { in wcioctl()
878 switch (iocp->ioc_cmd) { in wcioctl()
1048 if (iocp->ioc_cmd == TCSBRK) in wcioctl()
1293 switch (iocp->ioc_cmd) { in wclrput()
1339 switch (iocp->ioc_cmd) { in wclrput()
H A Dptem.c286 switch (iocp->ioc_cmd) { in ptemrput()
534 switch (iocp->ioc_cmd) { in ptemwput()
633 switch (iocp->ioc_cmd) { in ptemwmsg()
651 switch (iocp->ioc_cmd) { in ptemwmsg()
902 switch (iocp->ioc_cmd) { in ptioc()
H A Dlogindmux.c416 switch (ioc->ioc_cmd) { in logdmuxuwput()
660 switch (ioc->ioc_cmd) { in logdmuxlrput()
676 " request for ioctl 0x%x", ioc->ioc_cmd); in logdmuxlrput()
853 switch (ioc->ioc_cmd) { in logdmuxlrsrv()
870 ioc->ioc_cmd); in logdmuxlrsrv()
H A Dtty_common.c137 switch (iocp->ioc_cmd) { in ttycommon_ioctl()
292 switch (iocp->ioc_cmd) { in ttycommon_ioctl()
H A Drlmod.c1094 switch (ioc->ioc_cmd) { in tty_flow()
1134 "rloginmod: tty_flow: bad ioctl 0x%x", ioc->ioc_cmd); in tty_flow()
1189 switch (ioc->ioc_cmd) { in rlmodwioctl()
1260 ioc->ioc_cmd); in rlmodwioctl()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_impl.c170 m_event_struct_t *ioc_cmd = NULL; in mptsas_ioc_event_find_by_cmd() local
172 ioc_cmd = mpt->m_ioc_event_cmdq; in mptsas_ioc_event_find_by_cmd()
173 while (ioc_cmd != NULL) { in mptsas_ioc_event_find_by_cmd()
174 if (&(ioc_cmd->m_event_cmd) == cmd) { in mptsas_ioc_event_find_by_cmd()
175 return (ioc_cmd); in mptsas_ioc_event_find_by_cmd()
177 ioc_cmd = ioc_cmd->m_event_linkp; in mptsas_ioc_event_find_by_cmd()
179 ioc_cmd = NULL; in mptsas_ioc_event_find_by_cmd()
180 return (ioc_cmd); in mptsas_ioc_event_find_by_cmd()
186 m_event_struct_t *ioc_cmd = NULL; in mptsas_destroy_ioc_event_cmd() local
188 ioc_cmd = mpt->m_ioc_event_cmdq; in mptsas_destroy_ioc_event_cmd()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/sdp/
H A Dsdpddi.c182 switch (iocp->ioc_cmd) { in sdp_gen_ioctl()
221 iocp->ioc_cmd, (intptr_t)&send_enable, in sdp_gen_ioctl()
225 iocp->ioc_cmd, (intptr_t)&send_enable, in sdp_gen_ioctl()
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drds_ioctl.c163 switch (iocp->ioc_cmd) { in rds_ioctl_copyin_done()
237 err = rds_do_ip_ioctl(iocp->ioc_cmd, sizeof (struct ifreq), in rds_ioctl_copyin_done()
296 switch (iocp->ioc_cmd) { in rds_ioctl_copyin_setup()
325 switch (iocp->ioc_cmd) { in rds_ioctl()
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_lrp.c74 if (((iocp->ioc_cmd == TCSETS) && (trad_sts == MSU_WTCS_ACK)) || in oplmsu_lrioctl_termios()
75 ((iocp->ioc_cmd == TCSETSW) && (trad_sts == MSU_WTCS_ACK)) || in oplmsu_lrioctl_termios()
76 ((iocp->ioc_cmd == TCSETSF) && (trad_sts == MSU_WTCS_ACK)) || in oplmsu_lrioctl_termios()
77 ((iocp->ioc_cmd == TIOCMSET) && (trad_sts == MSU_WTMS_ACK)) || in oplmsu_lrioctl_termios()
78 ((iocp->ioc_cmd == TIOCSPPS) && (trad_sts == MSU_WPPS_ACK)) || in oplmsu_lrioctl_termios()
79 ((iocp->ioc_cmd == TIOCSWINSZ) && (trad_sts == MSU_WWSZ_ACK)) || in oplmsu_lrioctl_termios()
80 ((iocp->ioc_cmd == TIOCSSOFTCAR) && (trad_sts == MSU_WCAR_ACK))) { in oplmsu_lrioctl_termios()
140 chkflag = temp_iocp->ioc_cmd; in oplmsu_lrioctl_termios()
H A Doplmsu_cmn_func.c824 *term_ioctl = iocp->ioc_cmd; in oplmsu_cmn_prechg()
888 *term_ioctl = iocp->ioc_cmd; in oplmsu_stop_prechg()
1578 switch (iocp->ioc_cmd) { in oplmsu_rcmn_high_qenable()
1722 oplmsu_ltrc_cur->msg_cmd = iocp->ioc_cmd; in oplmsu_cmn_trace()
1727 oplmsu_ltrc_cur->msg_cmd = iocp->ioc_cmd; in oplmsu_cmn_trace()
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxencons.c933 iocp->ioc_cmd == TIOCMGET ? "TIOCMGET" : in xcasync_ioctl()
934 iocp->ioc_cmd == TIOCMSET ? "TIOCMSET" : in xcasync_ioctl()
935 iocp->ioc_cmd == TIOCMBIS ? "TIOCMBIS" : in xcasync_ioctl()
936 iocp->ioc_cmd == TIOCMBIC ? "TIOCMBIC" : "other"); in xcasync_ioctl()
938 switch (iocp->ioc_cmd) { in xcasync_ioctl()
979 switch (iocp->ioc_cmd) { in xcasync_ioctl()
994 switch (iocp->ioc_cmd) { in xcasync_ioctl()
1124 switch (((struct iocblk *)mp->b_rptr)->ioc_cmd) { in xenconswput()
1222 ((struct iocblk *)mp->b_rptr)->ioc_cmd == MC_POSIXQUERY) { in xenconswput()
1223 ((struct iocblk *)mp->b_rptr)->ioc_cmd = MC_HAS_POSIX; in xenconswput()
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_ah/
H A Dusb_ah.c243 mctlmsg.ioc_cmd = HID_GET_PARSER_HANDLE; in usb_ah_open()
442 switch (iocp->ioc_cmd) { in usb_ah_mctl_receive()
755 mctlmsg.ioc_cmd = USB_AUDIO_VOL_CHANGE; in usb_ah_check_usage_send_data()
789 mctlmsg.ioc_cmd = USB_AUDIO_VOL_CHANGE; in usb_ah_check_usage_send_data()
804 mctlmsg.ioc_cmd = USB_AUDIO_MUTE; in usb_ah_check_usage_send_data()
/illumos-gate/usr/src/uts/common/io/usb/clients/usbkbm/
H A Dusbkbm.c487 mctlmsg.ioc_cmd = HID_GET_PARSER_HANDLE; in usbkbm_open()
567 mctlmsg.ioc_cmd = CONSSETABORTENABLE; in usbkbm_open()
711 switch (iocp->ioc_cmd) { in usbkbm_ioctl()
823 mctlmsg.ioc_cmd = HID_OPEN_POLLED_INPUT; in usbkbm_ioctl()
850 mctlmsg.ioc_cmd = HID_CLOSE_POLLED_INPUT; in usbkbm_ioctl()
1166 switch (iocp->ioc_cmd) { in usbkbm_mctl_receive()
1248 (void *)reply_mp, iocp->ioc_cmd); in usbkbm_mctl_receive()
1348 mctlmsg.ioc_cmd = HID_SET_REPORT; in usbkbm_streams_setled()
1917 mctlmsg.ioc_cmd = HID_GET_VID_PID; in usbkbm_get_vid_pid()
/illumos-gate/usr/src/uts/sun4/io/
H A Dsu_driver.c2809 if (iocp->ioc_cmd == TIOCMGET || in async_ioctl()
2810 iocp->ioc_cmd == TIOCMBIC || in async_ioctl()
2811 iocp->ioc_cmd == TIOCMBIS || in async_ioctl()
2812 iocp->ioc_cmd == TIOCMSET || in async_ioctl()
2813 iocp->ioc_cmd == TIOCGPPS || in async_ioctl()
2814 iocp->ioc_cmd == TIOCSPPS || in async_ioctl()
2815 iocp->ioc_cmd == TIOCGPPSEV || in async_ioctl()
2816 iocp->ioc_cmd == CONSOPENPOLLEDIO || in async_ioctl()
2817 iocp->ioc_cmd == CONSCLOSEPOLLEDIO) in async_ioctl()
2846 switch (iocp->ioc_cmd) { in async_ioctl()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dlogindmux_impl.h102 (((struct iocblk *)((mp)->b_cont->b_rptr))->ioc_cmd == I_UNLINK))
/illumos-gate/usr/src/uts/common/io/usb/clients/usbinput/usbwcm/
H A Dusbwcm.c790 mctlmsg.ioc_cmd = HID_GET_VID_PID; in usbwcm_probe()
829 mctlmsg.ioc_cmd = HID_SET_REPORT; in usbwcm_probe()
1158 switch (iocp->ioc_cmd) { in usbwcm_ioctl()
1160 int num = iocp->ioc_cmd & 0xff; in usbwcm_ioctl()
1161 int len = IOCPARM_MASK & (iocp->ioc_cmd >> 16); in usbwcm_ioctl()
1163 if (((iocp->ioc_cmd >> 8) & 0xFF) != 'E') { in usbwcm_ioctl()
1167 } else if ((iocp->ioc_cmd & IOC_INOUT) != IOC_OUT) { in usbwcm_ioctl()
1374 switch (iocp->ioc_cmd) { in usbwcm_mctl()
1395 mctlmsg.ioc_cmd = HID_SET_REPORT; in usbwcm_mctl()
/illumos-gate/usr/src/uts/common/io/usb/clients/hid/
H A Dhid.c1295 switch (iocbp->ioc_cmd) { in hid_wput()
2458 switch (iocp->ioc_cmd) { in hid_mctl_receive()
2593 if ((iocp->ioc_cmd == HID_SET_REPORT) && in hid_mctl_receive()
2698 def_pipe_arg->hid_default_pipe_arg_mctlmsg.ioc_cmd = iocp->ioc_cmd; in hid_mctl_execute_cmd()
2707 request_type, iocp->ioc_cmd, request_index) != USB_SUCCESS) { in hid_mctl_execute_cmd()
2948 mctlmsg->ioc_cmd = HID_DISCONNECT_EVENT; in hid_save_device_state()
2970 mctlmsg->ioc_cmd = HID_DISCONNECT_EVENT; in hid_save_device_state()
3096 mctlmsg->ioc_cmd = HID_CONNECT_EVENT; in hid_restore_device_state()
3116 mctlmsg->ioc_cmd = HID_CONNECT_EVENT; in hid_restore_device_state()
3316 mctlmsg->ioc_cmd = HID_POWER_OFF; in hid_pwrlvl0()
[all …]
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcmod.c891 switch (iocp->ioc_cmd) { in rpcmodwput_other()
895 rmp->rm_type = iocp->ioc_cmd; in rpcmodwput_other()
2414 switch (iocp->ioc_cmd) { in mir_wput_other()
2418 mir->mir_type != iocp->ioc_cmd) { in mir_wput_other()
2428 mir->mir_type = iocp->ioc_cmd; in mir_wput_other()
2452 mir->mir_type != iocp->ioc_cmd) in mir_wput_other()
2463 mir->mir_type = iocp->ioc_cmd; in mir_wput_other()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dqcn.c609 iocp->ioc_cmd, TIOC); in qcn_wput()
611 switch (((struct iocblk *)mp->b_rptr)->ioc_cmd) { in qcn_wput()
718 switch (iocp->ioc_cmd) { in qcn_ioctl()
756 switch (iocp->ioc_cmd) { in qcn_ioctl()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_hw.c483 cmd = iocp->ioc_cmd; in hxge_hw_ioctl()
521 switch (iocp->ioc_cmd) { in hxge_loopback_ioctl()
577 iocp->ioc_cmd); in hxge_loopback_ioctl()

123456