/linux/tools/include/uapi/asm-generic/ |
H A D | ioctls.h | 46 #define FIONREAD 0x541B macro 47 #define TIOCINQ FIONREAD
|
/linux/include/uapi/asm-generic/ |
H A D | ioctls.h | 46 #define FIONREAD 0x541B macro 47 #define TIOCINQ FIONREAD
|
/linux/arch/mips/include/uapi/asm/ |
H A D | ioctls.h | 64 #define FIONREAD 0x467f macro 65 #define TIOCINQ FIONREAD
|
/linux/arch/parisc/include/uapi/asm/ |
H A D | ioctls.h | 35 #define FIONREAD 0x541B macro 36 #define TIOCINQ FIONREAD
|
/linux/arch/xtensa/include/uapi/asm/ |
H A D | ioctls.h | 23 #define FIONREAD _IOR('f', 127, int) macro 24 #define TIOCINQ FIONREAD
|
/linux/arch/sh/include/uapi/asm/ |
H A D | ioctls.h | 11 #define FIONREAD _IOR('f', 127, int) macro 12 #define TIOCINQ FIONREAD
|
/linux/arch/powerpc/include/uapi/asm/ |
H A D | ioctls.h | 11 #define FIONREAD _IOR('f', 127, int) macro 12 #define TIOCINQ FIONREAD
|
/linux/arch/alpha/include/uapi/asm/ |
H A D | ioctls.h | 11 #define FIONREAD _IOR('f', 127, int) macro 12 #define TIOCINQ FIONREAD
|
/linux/arch/sparc/include/uapi/asm/ |
H A D | ioctls.h | 101 #define FIONREAD _IOR('f', 127, int) macro 102 #define TIOCINQ FIONREAD
|
/linux/include/uapi/linux/ |
H A D | sockios.h | 26 #define SIOCINQ FIONREAD
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_basic.c | 579 err = ioctl(c1, FIONREAD, &avail); in test_sockmap_skb_verdict_fionread() 580 ASSERT_OK(err, "ioctl(FIONREAD) error"); in test_sockmap_skb_verdict_fionread() 581 ASSERT_EQ(avail, expected, "ioctl(FIONREAD)"); in test_sockmap_skb_verdict_fionread() 666 err = ioctl(c1, FIONREAD, &avail); in test_sockmap_skb_verdict_peek_helper() 667 ASSERT_OK(err, "ioctl(FIONREAD) error"); in test_sockmap_skb_verdict_peek_helper() 668 ASSERT_EQ(avail, sizeof(snd), "after peek ioctl(FIONREAD)"); in test_sockmap_skb_verdict_peek_helper() 671 err = ioctl(c1, FIONREAD, &avail); in test_sockmap_skb_verdict_peek_helper() 672 ASSERT_OK(err, "ioctl(FIONREAD) error"); in test_sockmap_skb_verdict_peek_helper() 673 ASSERT_EQ(avail, 0, "after read ioctl(FIONREAD)"); in test_sockmap_skb_verdict_peek_helper()
|
H A D | sockmap_strp.c | 288 /* Test simple socket read/write with strparser + FIONREAD */ 346 err = ioctl(p, FIONREAD, &avail); in test_sockmap_strp_pass() 347 if (!ASSERT_OK(err, "ioctl(FIONREAD) error") || in test_sockmap_strp_pass() 348 !ASSERT_EQ(avail, pkt_size, "ioctl(FIONREAD)")) in test_sockmap_strp_pass()
|
/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_inq.c | 366 ret = ioctl(fd, FIONREAD, &queued); in process_one_client() 368 die_perror("FIONREAD"); in process_one_client() 370 xerror("FIONREAD returned %u, but only %zu expected\n", in process_one_client()
|
/linux/drivers/tty/ |
H A D | n_hdlc.c | 595 case FIONREAD: in n_hdlc_tty_ioctl()
|
/linux/fs/notify/inotify/ |
H A D | inotify_user.c | 328 case FIONREAD: in inotify_ioctl()
|
/linux/drivers/net/ppp/ |
H A D | ppp_async.c | 315 case FIONREAD: in ppp_asynctty_ioctl()
|
/linux/net/sunrpc/ |
H A D | rpc_pipe.c | 365 case FIONREAD: in rpc_pipe_ioctl()
|
H A D | cache.c | 1010 if (cmd != FIONREAD || !rp) in cache_ioctl() 1606 .proc_ioctl = cache_ioctl_procfs, /* for FIONREAD */ 1819 .unlocked_ioctl = cache_ioctl_pipefs, /* for FIONREAD */
|
/linux/fs/ |
H A D | pipe.c | 623 case FIONREAD: in pipe_ioctl()
|
/linux/fs/notify/fanotify/ |
H A D | fanotify_user.c | 1071 case FIONREAD: in fanotify_ioctl()
|
/linux/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 4143 if (ioctl(fd, FIONREAD, &sz) < 0 && errno == EACCES) in test_fionread_ioctl() 4283 EXPECT_EQ(EACCES, ioctl_error(_metadata, fd, FIONREAD)); in TEST_F_FORK() 4335 /* FIONREAD is implemented by pipefifo_fops. */ in TEST_F_FORK() 4388 /* FIONREAD and other IOCTLs should not be forbidden. */ in TEST_F_FORK() 4408 * FIONREAD is used as a characteristic device-specific IOCTL command. in FIXTURE_VARIANT() 6161 EXPECT_EQ(EACCES, ioctl_error(_metadata, fd, FIONREAD)); in TEST_F()
|
/linux/security/selinux/ |
H A D | hooks.c | 3849 case FIONREAD: in selinux_file_ioctl()
|