Home
last modified time | relevance | path

Searched refs:O_NONBLOCK (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/include/uapi/asm-generic/
H A Dfcntl.h38 #ifndef O_NONBLOCK
39 #define O_NONBLOCK 00004000 macro
96 #define O_NDELAY O_NONBLOCK
/linux/net/handshake/
H A Dhandshake-test.c222 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_submit_test4()
257 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_submit_test5()
295 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_submit_test6()
328 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_cancel_test1()
364 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_cancel_test2()
406 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_cancel_test3()
464 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_destroy_test1()
/linux/arch/sparc/include/uapi/asm/
H A Dfcntl.h11 #define O_NONBLOCK 0x4000 macro
15 #define O_NDELAY (0x0004 | O_NONBLOCK)
/linux/tools/testing/selftests/mm/
H A Dcompaction_test.c63 O_RDONLY | O_NONBLOCK); in prereq()
101 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK); in check_compaction()
166 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK); in set_zero_hugepages()
/linux/scripts/
H A Djobserver-exec35 reader = os.open(path, os.O_RDONLY | os.O_NONBLOCK)
42 os.O_RDONLY | os.O_NONBLOCK)
/linux/tools/testing/selftests/bpf/
H A Dtest_lirc_mode2_user.c69 lircfd = open(argv[1], O_RDWR | O_NONBLOCK); in main()
82 inputfd = open(argv[2], O_RDONLY | O_NONBLOCK); in main()
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_zerocopy_fastopen-client.pkt15 +0 fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
36 +0 fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
/linux/Documentation/userspace-api/media/dvb/
H A Ddmx-fwrite.rst58 - No data was written. This might happen if ``O_NONBLOCK`` was
60 ``O_NONBLOCK`` is not specified the function will block until buffer
H A Ddmx-qbuf.rst62 queue. When the ``O_NONBLOCK`` flag was given to the
77 Non-blocking I/O has been selected using ``O_NONBLOCK`` and no
/linux/io_uring/
H A Dopenclose.c126 nonblock_set = op.open_flag & O_NONBLOCK; in io_openat2()
131 op.open_flag |= O_NONBLOCK; in io_openat2()
159 file->f_flags &= ~O_NONBLOCK; in io_openat2()
/linux/arch/mips/kernel/
H A Drtlx.c331 return rtlx_open(iminor(inode), (filp->f_flags & O_NONBLOCK) ? 0 : 1); in file_open()
367 if (!rtlx_read_poll(minor, (file->f_flags & O_NONBLOCK) ? 0 : 1)) in file_read()
382 if (file->f_flags & O_NONBLOCK) in file_write()
/linux/include/uapi/linux/
H A Deventfd.h9 #define EFD_NONBLOCK O_NONBLOCK
H A Dtimerfd.h33 #define TFD_NONBLOCK O_NONBLOCK
H A Dpidfd.h11 #define PIDFD_NONBLOCK O_NONBLOCK
H A Dsignalfd.h18 #define SFD_NONBLOCK O_NONBLOCK
H A Dinotify.h73 #define IN_NONBLOCK O_NONBLOCK
/linux/Documentation/userspace-api/media/v4l/
H A Dfunc-open.rst35 When the ``O_NONBLOCK`` flag is given, the :c:func:`read()`
40 with applications must support the ``O_NONBLOCK`` flag.
/linux/arch/mips/include/asm/
H A Dsocket.h46 #define SOCK_NONBLOCK O_NONBLOCK
/linux/arch/parisc/include/uapi/asm/
H A Dfcntl.h11 #define O_NONBLOCK 000200000 macro
/linux/arch/mips/include/uapi/asm/
H A Dfcntl.h16 #define O_NONBLOCK 0x0080 macro
/linux/arch/alpha/include/uapi/asm/
H A Dfcntl.h10 #define O_NONBLOCK 00004 macro
/linux/tools/testing/selftests/kvm/lib/
H A Duserfaultfd_util.c137 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); in uffd_setup_demand_paging()
158 ret = pipe2((int *) &pipes, O_CLOEXEC | O_NONBLOCK); in uffd_setup_demand_paging()
/linux/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c422 fd = open(acpi_aml_file_path, O_RDWR | O_NONBLOCK); in main()
428 acpi_aml_set_fl(STDIN_FILENO, O_NONBLOCK); in main()
429 acpi_aml_set_fl(STDOUT_FILENO, O_NONBLOCK); in main()
/linux/tools/testing/selftests/pidfd/
H A Dpidfd_wait.c198 ASSERT_GT((flags & O_NONBLOCK), 0); in TEST()
216 ASSERT_EQ(fcntl(pidfd, F_SETFL, (flags & ~O_NONBLOCK)), 0); in TEST()

12345678910>>...13