| /freebsd-13.1/contrib/capsicum-test/ |
| H A D | ioctl.cc | 28 EXPECT_OK(ioctl(fd, FIONREAD, &bytes)); in TEST() 45 cap_ioctl_t ioctl_nread = FIONREAD; in TEST() 48 EXPECT_OK(ioctl(fd, FIONREAD, &bytes)); in TEST() 63 EXPECT_EQ((cap_ioctl_t)FIONREAD, ioctls[0]); in TEST() 78 cap_ioctl_t ioctl_nread = FIONREAD; in TEST() 89 EXPECT_EQ((cap_ioctl_t)FIONREAD, ioctls[0]); in TEST() 97 EXPECT_EQ((cap_ioctl_t)FIONREAD, ioctls[0]); in TEST() 131 EXPECT_OK(ioctl(fd, FIONREAD, &bytes)); in TEST() 138 EXPECT_OK(ioctl(fd, FIONREAD, &bytes)); in TEST() 155 cap_ioctl_t ioctl_nread = FIONREAD; in TEST() [all …]
|
| H A D | openat.cc | 66 cap_ioctl_t ioctl_nread = FIONREAD; in FORK_TEST() 108 EXPECT_EQ((cap_ioctl_t)FIONREAD, ioctls[0]); in FORK_TEST()
|
| /freebsd-13.1/usr.bin/tip/libacu/ |
| H A D | hayes.c | 274 ioctl(FD, FIONREAD, &len); in goodbye() 284 ioctl(FD, FIONREAD, &len); in goodbye() 306 ioctl(FD, FIONREAD, &len); in hay_sync()
|
| H A D | biz31.c | 227 #ifdef FIONREAD in bizsync() 230 # define IOCTL FIONREAD in bizsync()
|
| H A D | t3000.c | 298 ioctl(FD, FIONREAD, &len); in t3000_sync() 354 if (ioctl(FD, FIONREAD, &n) < 0) in t3000_verbose_read()
|
| H A D | courier.c | 283 ioctl(FD, FIONREAD, &len); in coursync() 336 if (ioctl(FD, FIONREAD, &n) < 0) in cour_verbose_read()
|
| H A D | ventel.c | 247 if (ioctl(fd, FIONREAD, (caddr_t)&nread) < 0) { in vensync()
|
| /freebsd-13.1/libexec/bootpd/ |
| H A D | rtmsg.c | 98 ioctl(s, FIONREAD, &n); in getsocket() 101 ioctl(s, FIONREAD, &n); in getsocket()
|
| /freebsd-13.1/contrib/file/src/ |
| H A D | seccomp.c | 190 #ifdef FIONREAD in enable_sandbox_full() 192 ALLOW_IOCTL_RULE(FIONREAD); in enable_sandbox_full()
|
| H A D | compress.c | 383 #ifdef FIONREAD in sread() 391 #ifdef FIONREAD in sread() 392 if (canbepipe && (ioctl(fd, FIONREAD, &t) == -1 || t == 0)) { in sread() 417 (void)ioctl(fd, FIONREAD, &t); in sread()
|
| /freebsd-13.1/sys/sys/ |
| H A D | filio.h | 49 #define FIONREAD _IOR('f', 127, int) /* get # bytes to read */ macro
|
| /freebsd-13.1/usr.sbin/watch/ |
| H A D | watch.c | 359 if ((res = ioctl(std_in, FIONREAD, &nread)) != 0) in main() 396 if ((res = ioctl(snp_io, FIONREAD, &nread)) != 0) in main()
|
| /freebsd-13.1/tests/sys/capsicum/ |
| H A D | ioctls_test.c | 72 u_long cmds[] = { FIONREAD }; in ATF_TC_BODY()
|
| /freebsd-13.1/contrib/pf/libevent/ |
| H A D | buffer.c | 353 #ifdef FIONREAD in evbuffer_read() 354 if (ioctl(fd, FIONREAD, &n) == -1 || n == 0) { in evbuffer_read()
|
| /freebsd-13.1/libexec/tftpd/ |
| H A D | tftp-file.c | 292 (void) ioctl(peer, FIONREAD, &i); in synchnet()
|
| /freebsd-13.1/contrib/libedit/ |
| H A D | read.c | 492 #ifdef FIONREAD in el_wgets() 496 (void) ioctl(el->el_infd, FIONREAD, &chrs); in el_wgets()
|
| /freebsd-13.1/sys/kern/ |
| H A D | subr_log.c | 262 case FIONREAD: in logioctl()
|
| /freebsd-13.1/contrib/tcsh/ |
| H A D | ed.inputl.c | 112 #if defined(FIONREAD) && !defined(OREO) in Inputl() 124 (void) ioctl(SHIN, FIONREAD, (ioctl_t) & chrs); in Inputl()
|
| H A D | ed.init.c | 622 #if defined(FIONREAD) && !defined(OREO) in Load_input_line() 623 (void) ioctl(SHIN, FIONREAD, (ioctl_t) &chrs); in Load_input_line()
|
| /freebsd-13.1/sys/dev/snp/ |
| H A D | snp.c | 288 case FIONREAD: in snp_ioctl()
|
| /freebsd-13.1/stand/userboot/test/ |
| H A D | test.c | 88 if (ioctl(0, FIONREAD, &n) >= 0) in test_poll()
|
| /freebsd-13.1/sys/compat/linux/ |
| H A D | linux_ioctl.h | 368 #define LINUX_TIOCINQ FIONREAD
|
| /freebsd-13.1/usr.sbin/bhyve/ |
| H A D | gdb.c | 1710 if (ioctl(fd, FIONREAD, &pending) == -1) { in gdb_readable() 1809 unsigned long ioctls[] = { FIONREAD }; in limit_gdb_socket()
|
| /freebsd-13.1/usr.sbin/bhyveload/ |
| H A D | bhyveload.c | 143 if (ioctl(consin_fd, FIONREAD, &n) >= 0) in cb_poll()
|
| /freebsd-13.1/crypto/heimdal/lib/krb5/ |
| H A D | send_to_kdc.c | 83 if (rk_SOCK_IOCTL (fd, FIONREAD, &nbytes) < 0) { in recv_loop()
|