/linux/tools/include/uapi/asm-generic/ |
H A D | fcntl.h |
|
/linux/include/uapi/asm-generic/ |
H A D | fcntl.h | 38 #ifndef O_NONBLOCK 39 #define O_NONBLOCK 00004000 macro 96 #define O_NDELAY O_NONBLOCK
|
/linux/net/handshake/ |
H A D | handshake-test.c | 222 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 D | fcntl.h | 11 #define O_NONBLOCK 0x4000 macro 15 #define O_NDELAY (0x0004 | O_NONBLOCK)
|
/linux/tools/testing/selftests/mm/ |
H A D | compaction_test.c | 63 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 D | jobserver-exec | 35 reader = os.open(path, os.O_RDONLY | os.O_NONBLOCK) 42 os.O_RDONLY | os.O_NONBLOCK)
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_lirc_mode2_user.c | 69 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 D | tcp_zerocopy_fastopen-client.pkt | 15 +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 D | dmx-fwrite.rst | 58 - 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 D | dmx-qbuf.rst | 62 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 D | openclose.c | 126 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/fs/ |
H A D | eventfd.c | 224 if ((file->f_flags & O_NONBLOCK) || in eventfd_read() 264 else if (!(file->f_flags & O_NONBLOCK)) { in eventfd_write() 390 BUILD_BUG_ON(EFD_NONBLOCK != O_NONBLOCK); in do_eventfd()
|
H A D | signalfd.c | 214 nonblock = file->f_flags & O_NONBLOCK || iocb->ki_flags & IOCB_NOWAIT; in signalfd_read_iter() 257 BUILD_BUG_ON(SFD_NONBLOCK != O_NONBLOCK); in do_signalfd4() 281 O_RDWR | (flags & O_NONBLOCK)); in do_signalfd4()
|
H A D | pipe.c | 356 if ((filp->f_flags & O_NONBLOCK) || in pipe_read() 557 if ((filp->f_flags & O_NONBLOCK) || in pipe_write() 939 O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)), in create_pipe_files() 950 res[0] = alloc_file_clone(f, O_RDONLY | (flags & O_NONBLOCK), in create_pipe_files() 970 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT | O_NOTIFICATION_PIPE)) in __do_pipe_flags() 1157 if ((filp->f_flags & O_NONBLOCK)) { in fifo_open() 1175 if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) in fifo_open()
|
/linux/arch/mips/kernel/ |
H A D | rtlx.c | 331 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/Documentation/userspace-api/media/v4l/ |
H A D | func-open.rst | 35 When the ``O_NONBLOCK`` flag is given, the :c:func:`read()` 40 with applications must support the ``O_NONBLOCK`` flag.
|
/linux/include/uapi/linux/ |
H A D | eventfd.h | 9 #define EFD_NONBLOCK O_NONBLOCK
|
H A D | timerfd.h | 33 #define TFD_NONBLOCK O_NONBLOCK
|
H A D | pidfd.h | 11 #define PIDFD_NONBLOCK O_NONBLOCK
|
/linux/arch/mips/include/asm/ |
H A D | socket.h | 46 #define SOCK_NONBLOCK O_NONBLOCK
|
/linux/arch/parisc/include/uapi/asm/ |
H A D | fcntl.h | 11 #define O_NONBLOCK 000200000 macro
|
/linux/tools/testing/selftests/kvm/lib/ |
H A D | userfaultfd_util.c | 137 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/arch/mips/include/uapi/asm/ |
H A D | fcntl.h | 16 #define O_NONBLOCK 0x0080 macro
|
/linux/tools/power/acpi/tools/acpidbg/ |
H A D | acpidbg.c | 422 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/arch/alpha/include/uapi/asm/ |
H A D | fcntl.h | 10 #define O_NONBLOCK 00004 macro
|