Searched refs:sioc (Results 1 – 6 of 6) sorted by relevance
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | syncstat.c | 64 struct strioctl sioc; in main() local 131 sioc.ic_cmd = S_IOCGETMODE; in main() 132 sioc.ic_timout = -1; in main() 133 sioc.ic_len = sizeof (struct scc_mode); in main() 134 sioc.ic_dp = (char *)&sm; in main() 135 if (ioctl(fd, I_STR, &sioc) < 0) { in main() 142 sioc.ic_cmd = S_IOCCLRSTATS; in main() 143 sioc.ic_timout = -1; in main() 144 sioc.ic_len = sizeof (struct sl_stats); in main() 145 sioc.ic_dp = (char *)&st; in main() [all …]
|
H A D | syncloop.c | 103 struct strioctl sioc; in main() local 210 sioc.ic_cmd = S_IOCGETMODE; in main() 211 sioc.ic_timout = -1; in main() 212 sioc.ic_len = sizeof (struct scc_mode); in main() 213 sioc.ic_dp = (char *)&sm; in main() 214 if (ioctl(cfd, I_STR, &sioc) < 0) { in main() 273 sioc.ic_cmd = S_IOCSETMODE; in main() 274 sioc.ic_timout = -1; in main() 275 sioc.ic_len = sizeof (struct scc_mode); in main() 276 sioc.ic_dp = (char *)&sm; in main() [all …]
|
H A D | syncinit.c | 106 struct strioctl sioc; in main() local 155 sioc.ic_cmd = S_IOCGETMODE; in main() 156 sioc.ic_timout = -1; in main() 157 sioc.ic_len = sizeof (struct scc_mode); in main() 158 sioc.ic_dp = (char *)&sm; in main() 160 if (ioctl(fd, I_STR, &sioc) < 0) { in main() 235 sioc.ic_cmd = S_IOCSETMODE; in main() 236 sioc.ic_timout = -1; in main() 237 sioc.ic_len = sizeof (struct scc_mode); in main() 238 sioc.ic_dp = (char *)&sm; in main() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_capture.c | 753 struct strioctl sioc; in strioctl() local 756 sioc.ic_cmd = cmd; in strioctl() 757 sioc.ic_timout = timout; in strioctl() 758 sioc.ic_len = len; in strioctl() 759 sioc.ic_dp = dp; in strioctl() 760 rc = ioctl(fd, I_STR, &sioc); in strioctl() 765 return (sioc.ic_len); in strioctl()
|
/titanic_50/usr/src/lib/libprtdiag_psr/sparc/montecarlo/common/ |
H A D | montecarlo.c | 2404 struct strioctl sioc; in scsb_mode() local 2407 sioc.ic_cmd = ENVC_IOC_GETMODE; in scsb_mode() 2409 sioc.ic_cmd = ENVC_IOC_SETMODE; in scsb_mode() 2411 sioc.ic_timout = 0; in scsb_mode() 2412 sioc.ic_len = sizeof (uint8_t); in scsb_mode() 2413 sioc.ic_dp = (char *)new_mode; in scsb_mode() 2416 if (ioctl(fd, I_STR, &sioc) == -1) { in scsb_mode() 2432 struct strioctl sioc; in scsb_ioc_reg_read() local 2436 sioc.ic_timout = 0; in scsb_ioc_reg_read() 2437 sioc.ic_len = sizeof (scsb_ioc_rdwr_t); in scsb_ioc_reg_read() [all …]
|
/titanic_50/usr/src/cmd/picl/plugins/sun4u/snowbird/watchdog/ |
H A D | piclwatchdog.c | 1396 struct strioctl sioc; in wd_ioctl() local 1397 sioc.ic_cmd = cmd; in wd_ioctl() 1398 sioc.ic_timout = 60; in wd_ioctl() 1399 sioc.ic_len = len; in wd_ioctl() 1400 sioc.ic_dp = buf; in wd_ioctl() 1401 rtnval = ioctl(fd, I_STR, &sioc); in wd_ioctl()
|