/titanic_44/usr/src/cmd/lp/filter/postscript/postio/ |
H A D | ifdef.c | 113 if ( ioctl(ttyi, TCGETS, &termios) < 0 ) { in setupline() 114 if ( ioctl(ttyi, TCGETA, &termio) == -1 ) { in setupline() 125 if ( ioctl(ttyi, TCSETA, &termio) == -1 ) { in setupline() 137 if ( ioctl(ttyi, TCSETS, &termios) == -1 ) { in setupline() 142 if ( ioctl(ttyi, TCFLSH, 2) == -1 ) { in setupline() 185 if ( ioctl(ttyi, TCGETA, &termio) == -1 ) in resetline() 193 if ( ioctl(ttyi, TCSETA, &termio) == -1 ) in resetline() 229 if ( ioctl(0, TCGETA, &oldtermio) == -1 ) in setupstdin() 239 ioctl(0, TCSETA, &termio); in setupstdin() 244 ioctl(0, TCSETA, &oldtermio); in setupstdin() [all …]
|
H A D | parallel.c | 92 if (ioctl(fd, BPPIOC_TESTIO) == 0 || errno == EIO) in is_a_parallel_bpp() 116 if (ioctl(fd, BPPIOC_TESTIO)) { in bpp_state() 120 if (ioctl(fd, BPPIOC_GETERR, &bpp_stat) < 0) in bpp_state() 158 if (ioctl(fd, ECPPIOC_GETPARMS, &transfer_parms) == -1) { in get_ecpp_status() 171 if (ioctl(fd, ECPPIOC_SETPARMS, &transfer_parms) == -1) { in get_ecpp_status() 189 if (ioctl(fd, PRNIOC_GET_IFCAP, &cap) == -1) { in is_a_prnio() 197 (void) ioctl(fd, PRNIOC_SET_IFCAP, &cap); in is_a_prnio() 208 if ((ioctl(fd, PRNIOC_GET_STATUS, &status) == 0) && in prnio_state() 213 if (ioctl(fd, PRNIOC_GET_1284_STATUS, &pins) != 0) { in prnio_state()
|
/titanic_44/usr/src/cmd/ipf/tools/ |
H A D | ipf.c | 61 static ioctlfunc_t iocfunctions[IPL_LOGSIZE] = { ioctl, ioctl, ioctl, 62 ioctl, ioctl, ioctl, 63 ioctl, ioctl }; 155 ipf_dotuning(fd, optarg, ioctl); 228 (ioctl(fd, SIOCGETFF, &i) == -1)) { in get_flags() 240 if (ioctl(fd, SIOCFRENB, &enable) == -1) { 319 (ioctl(fd, SIOCSETFF, &flag) != 0)) 339 if (ioctl(xfd, SIOCGETLG, &logopt)) 343 if (ioctl(xfd, SIOCSETLG, &logopt)) 361 if (ioctl(xfd, SIOCGETLG, &logopt)) [all …]
|
/titanic_44/usr/src/cmd/tip/aculib/ |
H A D | df.c | 49 (void) ioctl(f, TCGETS, &buf); in df_dialer() 51 (void) ioctl(f, TCSETS, &buf); in df_dialer() 64 (void) ioctl(f, TCGETS, &buf); in df_dialer() 70 (void) ioctl(f, TCSETSW, &buf); in df_dialer() 72 (void) ioctl(f, TIOCMBIC, &st); in df_dialer() 75 (void) ioctl(f, TIOCMBIS, &st); in df_dialer() 80 (void) ioctl(f, TCFLSH, TCOFLUSH); in df_dialer() 91 (void) ioctl(f, TCSETSW, &buf); in df_dialer() 103 (void) ioctl(FD, TCFLSH, TCOFLUSH); in df_disconnect()
|
H A D | hayes.c | 46 (void) ioctl(FD, TCGETS, &buf); in hayes_dialer() 48 (void) ioctl(FD, TCSETS, &buf); in hayes_dialer() 49 (void) ioctl(FD, TCFLSH, TCIOFLUSH); in hayes_dialer() 64 (void) ioctl(FD, TCFLSH, TCIOFLUSH); in hayes_dialer() 94 (void) ioctl(FD, TIOCMBIC, &dtr); in hayes_abort() 96 (void) ioctl(FD, TCFLSH, TCIOFLUSH); in hayes_abort() 121 (void) ioctl(fd, TIOCMBIC, &dtr); in hayes_sync() 123 (void) ioctl(fd, TIOCMBIS, &dtr); in hayes_sync() 139 (void) ioctl(fd, TCFLSH, TCIOFLUSH); in hayes_sync()
|
H A D | v831.c | 114 (void) ioctl(FD, TIOCMBIC, &dtr); in v831_disconnect() 115 (void) ioctl(FD, TCGETS, &cntrl); in v831_disconnect() 118 (void) ioctl(FD, TCSETSF, &cntrl); in v831_disconnect() 136 (void) ioctl(FD, TCGETS, &buf); in v831_abort() 138 (void) ioctl(FD, TCSETSF, &buf); in v831_abort() 142 (void) ioctl(FD, TIOCMBIC, &dtr); in v831_abort() 186 (void) ioctl(AC, TCGETS, &cntrl); in dialit() 196 (void) ioctl(AC, TCSETSF, &cntrl); in dialit() 197 (void) ioctl(AC, TCFLSH, TCOFLUSH); in dialit()
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | posix_tty.c | 108 return (ioctl(fd, TCGETS, termios_p)); in tcgetattr() 130 return (ioctl(fd, TCSETSW, termios_p)); in tcsetattr() 132 return (ioctl(fd, TCSETSF, termios_p)); in tcsetattr() 134 return (ioctl(fd, TCSETS, termios_p)); in tcsetattr() 153 if (ioctl(fd, TCSBRK, 0) == -1) in tcsendbreak() 165 return (ioctl(fd, TCSBRK, !0)); in tcdrain() 182 return (ioctl(fd, TCXONC, action)); in tcflow() 200 return (ioctl(fd, TCFLSH, queue)); in tcflush() 213 if (ioctl(fd, TIOCGETPGRP, &grp_id) == -1) in tcgetpgrp() 225 return (ioctl(fd, TIOCSETPGRP, &grp_id)); in tcsetpgrp()
|
/titanic_44/usr/src/lib/libcontract/common/ |
H A D | libcontract.c | 43 if (ioctl(fd, CT_TACTIVATE) == -1) in ct_tmpl_activate() 51 if (ioctl(fd, CT_TCLEAR) == -1) in ct_tmpl_clear() 59 ctid_t ctid = ioctl(fd, CT_TCREATE); in ct_tmpl_create() 75 if (ioctl(fd, CT_TSET, ¶m) == -1) in ct_tmpl_set_internal() 91 if (ioctl(fd, CT_TSET, ¶m) == -1) in ct_tmpl_set_internal_string() 118 if (ioctl(fd, CT_TSET, ¶m) == -1) in ct_tmpl_set_cookie() 132 if (ioctl(fd, CT_TGET, ¶m) == -1) in ct_tmpl_get_internal() 146 if (ioctl(fd, CT_TGET, ¶m) == -1) in ct_tmpl_get_internal_string() 171 if (ioctl(fd, CT_TGET, ¶m) == -1) in ct_tmpl_get_cookie() 183 if (ioctl(fd, CT_CADOPT) == -1) in ct_ctl_adopt() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | interface.c | 107 if (ioctl(fd, SIOCGLIFINDEX, &lifr) == -1) { in insert_pif() 118 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) { in insert_pif() 131 if (ioctl(fd, SIOCGLIFMTU, &lifr) == -1) { in insert_pif() 151 if (ioctl(fd, SIOCGLIFGROUPNAME, &lifr) == -1) { in insert_pif() 160 if (ioctl(fd, SIOCGLIFGROUPINFO, &lifgr) == -1) { in insert_pif() 184 if (ioctl(fd, SIOCGLIFINDEX, &lifr) == -1) { in insert_pif() 437 if (ioctl(fd, SIOCGLIFMTU, &lifr) == -1) in insert_lif() 442 if (ioctl(fd, SIOCGLIFADDR, &lifr) == -1) { in insert_lif() 452 if (ioctl(fd, SIOCGLIFNETMASK, &lifr) == -1) { in insert_lif() 462 if (ioctl(fd, SIOCGLIFFLAGS, &lifr) == -1) { in insert_lif() [all …]
|
/titanic_44/usr/src/lib/libcurses/screen/ |
H A D | reset_sh.c | 57 (void) ioctl(cur_term->Filedes, DIOCSETT, &cur_term -> old); in reset_shell_mode() 70 (void) ioctl(cur_term -> Filedes, TCSETAW, &SHELLTTY); in reset_shell_mode() 72 (void) ioctl(cur_term -> Filedes, TCSETSW, &SHELLTTYS); in reset_shell_mode() 75 (void) ioctl(cur_term -> Filedes, TIOCLSET, in reset_shell_mode() 81 (void) ioctl(cur_term -> Filedes, TIOCSETN, &SHELLTTY); in reset_shell_mode() 84 (void) ioctl(cur_term -> Filedes, TIOCLSET, in reset_shell_mode()
|
/titanic_44/usr/src/cmd/ttymon/ |
H A D | tmterm.c | 151 if (ioctl(fd, TCGETA, &termio) != 0) { 159 if (ioctl(fd, TCSETA, &termio) != 0) { 175 if (ioctl(fd, I_FLUSH, FLUSHR) == -1) 178 if (ioctl(fd, TCSBRK, 1) == -1) 206 while(ioctl(fd, I_POP, 0) >= 0) /* pop everything */ in push_linedisc() 212 if (ioctl(fd, I_PUSH, p) == -1) { in push_linedisc() 233 if (ioctl(fd,TCGETS,&termios) < 0) { in hang_up_line() 234 if (ioctl(fd,TCGETA,&termio) < 0) { in hang_up_line() 241 if (ioctl(fd,TCSETA,&termio) < 0) { in hang_up_line() 248 if (ioctl(fd,TCSETS,&termios) < 0) { in hang_up_line()
|
/titanic_44/usr/src/lib/libtnfctl/ |
H A D | prb_proc.c | 168 retval = ioctl(proc_p->procfd, PIOCSTOP, NULL); in prb_proc_stop() 202 retval = ioctl(procfd, PIOCRUN, &prrun); in prb_proc_prstop() 212 retval = ioctl(procfd, PIOCWSTOP, &prstat); in prb_proc_prstop() 250 retval = ioctl(procfd, PIOCSTATUS, &prstatus); in prb_proc_state() 331 retval = ioctl(procfd, PIOCWSTOP, &prstat); in prb_proc_wait() 370 retval = ioctl(procfd, PIOCRUN, &prrun); in prb_proc_cont() 408 retval = ioctl(procfd, PIOCGFAULT, &faults); in prb_proc_istepbpt() 428 retval = ioctl(procfd, PIOCRUN, &run); in prb_proc_istepbpt() 438 retval = ioctl(procfd, PIOCWSTOP, &prstat); in prb_proc_istepbpt() 455 retval = ioctl(procfd, PIOCCFAULT, NULL); in prb_proc_istepbpt() [all …]
|
H A D | kernel_int.c | 93 if (ioctl(kfd, TIFIOCGSTATE, &kstate) < 0) in _tnfctl_prbk_init() 158 if (ioctl(hdl->kfd, TIFIOCGSTATE, &bufstat) < 0) { in _tnfctl_prbk_buffer_alloc() 170 if (ioctl(hdl->kfd, TIFIOCALLOCBUF, size) < 0) { in _tnfctl_prbk_buffer_alloc() 193 if (ioctl(hdl->kfd, TIFIOCGSTATE, &bufstat) < 0) { in _tnfctl_prbk_buffer_dealloc() 203 if (ioctl(hdl->kfd, TIFIOCDEALLOCBUF) < 0) { in _tnfctl_prbk_buffer_dealloc() 223 ioctl(hdl->kfd, TIFIOCSTRACING, onoff) < 0) { in _tnfctl_prbk_set_tracing() 242 ioctl(hdl->kfd, TIFIOCSPIDFILTER, onoff) < 0) { in _tnfctl_prbk_set_pfilter_mode() 261 if (ioctl(hdl->kfd, TIFIOCGSTATE, &kstate) < 0) in _tnfctl_prbk_get_pfilter_list() 274 if (ioctl(hdl->kfd, TIFIOCPIDFILTERGET, filterset) < 0) in _tnfctl_prbk_get_pfilter_list() 299 if (ioctl(hdl->kfd, TIFIOCSPIDON, pid_to_add) < 0) { in _tnfctl_prbk_pfilter_add() [all …]
|
/titanic_44/usr/src/lib/libast/common/port/ |
H A D | astwinsize.c | 33 __STDPP__directive pragma pp:hide ioctl sleep 35 #define ioctl ______ioctl 63 __STDPP__directive pragma pp:nohide ioctl sleep 65 #undef ioctl 131 if (!ioctl(fd, op, tt)) return(0); in ttctl() 134 v = ioctl(fd, op, tt); in ttctl() 139 else if (!ioctl(fd, op, tt)) return(0); in ttctl()
|
/titanic_44/usr/src/cmd/script/ |
H A D | script.c | 159 if (ioctl(0, TIOCGWINSZ, &ws) == 0) in sigwinch() 160 (void) ioctl(master, TIOCSWINSZ, &ws); in sigwinch() 230 (void) ioctl(0, TCSETSF, (char *)&sbuf); in fixtty() 254 (void) ioctl(0, TCSETSW, (char *)&b); in done() 266 (void) ioctl(0, TCGETS, (char *)&b); in getmaster() 267 (void) ioctl(0, TIOCGWINSZ, (char *)&size); in getmaster() 289 ioctl(slave, I_PUSH, "ptem"); /* push pt hw emulation module */ in getslave() 290 ioctl(slave, I_PUSH, "ldterm"); /* push line discipline */ in getslave() 292 (void) ioctl(slave, TCSETSF, (char *)&b); in getslave() 293 (void) ioctl(slave, TIOCSWINSZ, (char *)&size); in getslave()
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/lw8/fruaccess/ |
H A D | libfruaccess.c | 161 if (ioctl(fd, SGFRU_GETNUMSECTIONS, &numsections) != 0) { in fru_get_num_sections() 181 if (ioctl(fd, SGFRU_GETSECTIONS, §ions) != 0) { in fru_get_sections() 199 if (ioctl(fd, SGFRU_GETNUMSEGMENTS, &numsegments) != 0) { in fru_get_num_segments() 219 if (ioctl(fd, SGFRU_GETSEGMENTS, &segments) != 0) { in fru_get_segments() 245 if (ioctl(fd, SGFRU_ADDSEGMENT, &newsegment) != 0) { in fru_add_segment() 273 if (ioctl(fd, SGFRU_DELETESEGMENT, &delsegment) != 0) { in fru_delete_segment() 295 if (ioctl(fd, SGFRU_READRAWSEGMENT, &readsegment) != 0) { in fru_read_segment() 315 if (ioctl(fd, SGFRU_WRITERAWSEGMENT, &writesegment) != 0) { in fru_write_segment() 335 if (ioctl(fd, SGFRU_GETNUMPACKETS, &numpackets) != 0) { in fru_get_num_packets() 355 if (ioctl(fd, SGFRU_GETPACKETS, &packets) != 0) { in fru_get_packets() [all …]
|
/titanic_44/usr/src/lib/pyzfs/common/ |
H A D | dataset.py | 29 import zfs.ioctl 72 for name, t in zfs.ioctl.get_proptable().iteritems(): 128 props = zfs.ioctl.dataset_props(name) 163 zfs.ioctl.next_dataset(self.name, False, cookie) 179 d = zfs.ioctl.userspace_many(self.name, prop) 186 return zfs.ioctl.userspace_upgrade(self.name) 197 return zfs.ioctl.set_fsacl(self.name, un, d) 204 return zfs.ioctl.get_fsacl(self.name) 211 return zfs.ioctl.get_holds(self.name)
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 856 (void) ioctl(s, SIOCLIFREMOVEIF, (caddr_t)&lifr); in ifconfig() 1031 if (ioctl(s, SIOCGLIFNETMASK, (caddr_t)&lifr1) < 0) in setifaddr() 1044 if (ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr) < 0) in setifaddr() 1059 if (ioctl(s, SIOCSLIFADDR, (caddr_t)&lifr) < 0) { in setifaddr() 1067 (void) ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr); in setifaddr() 1323 if (ioctl(s, SIOCSLIFADDR, (caddr_t)&lifr) < 0) in setifrevarp() 1355 if (ioctl(s, SIOCSLIFSUBNET, (caddr_t)&lifr) < 0) in setifsubnet() 1379 if (ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr) < 0) in setifnetmask() 1431 if (ioctl(s, SIOCSLIFNETMASK, (caddr_t)&lifr) < 0) in setifprefixlen() 1452 if (ioctl(s, SIOCGLIFADDR, (caddr_t)&lifr) < 0) { in setifbroadaddr() [all …]
|
/titanic_44/usr/src/cmd/bnu/ |
H A D | interface.c | 55 extern int ioctl(int, int, ...); 57 extern int ioctl(); 64 GLOBAL int (*Ioctl)(int, int, ...) = ioctl, 66 GLOBAL int (*Ioctl)() = ioctl, 105 { "UNIX", read, write, ioctl, usetup, uteardown }, 108 { "TCP", read, write, ioctl, usetup, uteardown }, 112 { "Sytek", read, write, ioctl, usetup, uteardown }, 116 { "801", read, write, ioctl, usetup, uteardown }, 120 { "212", read, write, ioctl, usetup, uteardown }, 131 { "DK", read, write, ioctl, dksetup, dkteardown }, [all …]
|
/titanic_44/usr/src/cmd/lp/model/ |
H A D | lp.cat.c | 103 if (ioctl(fd, BPPIOC_TESTIO) == 0 || errno == EIO) in is_a_parallel_bpp() 129 if (ioctl(fd, BPPIOC_TESTIO)) { in bpp_state() 133 if (ioctl(fd, BPPIOC_GETERR, &bpp_stat) < 0) in bpp_state() 175 if (ioctl(fd, ECPPIOC_GETPARMS, &transfer_parms) == -1) { in get_ecpp_status() 187 if (ioctl(fd, ECPPIOC_SETPARMS, &transfer_parms) == -1) { in get_ecpp_status() 207 if (ioctl(fd, PRNIOC_GET_IFCAP, &cap) == -1) { in is_a_prnio() 215 (void) ioctl(fd, PRNIOC_SET_IFCAP, &cap); in is_a_prnio() 227 if ((ioctl(fd, PRNIOC_GET_STATUS, &status) == 0) && in prnio_state() 232 if (ioctl(fd, PRNIOC_GET_1284_STATUS, &pins) != 0) { in prnio_state() 668 ioctl(1, I_FLUSH, FLUSHW); in sigterm() [all …]
|
/titanic_44/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_format.c | 134 (void) ioctl(fd, FDDEFGEOCHAR, NULL); in format_floppy() 137 if (ioctl(fd, DKIOCINFO, &dkinfo) < 0) { in format_floppy() 144 if (ioctl(fd, DKIOCGAPART, &allmap) < 0) { in format_floppy() 153 if (ioctl(fd, FDIOGCHAR, &fdchar) < 0) { in format_floppy() 179 if (ioctl(fd, DKIOCGGEOM, &fdgeom) < 0) { in format_floppy() 324 if (ioctl(fd, FDIOSCHAR, &fdchar) < 0) { in format_floppy() 330 if (ioctl(fd, DKIOCSAPART, &allmap) < 0) { in format_floppy() 351 if (ioctl(fd, FDGETCHANGE, &chgd) == 0) { in format_floppy() 402 if (ioctl(fd, FDRAW, &fdr_seek) < 0) { in format_floppy() 435 if (ioctl(fd, FDRAW, &fdr_form) < 0) { in format_floppy() [all …]
|
/titanic_44/usr/src/lib/libshell/common/include/ |
H A D | terminal.h | 73 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty) 75 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 106 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty) 107 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 125 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty) 126 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
|
/titanic_44/usr/src/lib/libast/amd64/include/ast/ |
H A D | ast_tty.h | 68 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty) 70 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 91 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty) 92 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 110 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty) 111 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
|
/titanic_44/usr/src/lib/libast/amd64/src/lib/libast/ |
H A D | ast_tty.h | 47 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty) 49 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 70 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty) 71 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 89 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty) 90 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
|
/titanic_44/usr/src/lib/libast/i386/include/ast/ |
H A D | ast_tty.h | 68 # define tcgetattr(fd,tty) ioctl(fd, TCGETS, tty) 70 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 91 # define tcgetattr(fd,tty) ioctl(fd, TCGETA, tty) 92 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty) 110 # define tcgetattr(fd,tty) ioctl(fd, TIOCGETP, tty) 111 # define tcsetattr(fd,action,tty) ioctl(fd, action, tty)
|