Home
last modified time | relevance | path

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

12345678910>>...13

/linux/tools/include/uapi/asm-generic/
H A Dfcntl.h
/linux/net/handshake/
H A Dhandshake-test.c223 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_submit_test4()
262 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_submit_test5()
303 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_submit_test6()
341 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_cancel_test1()
381 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_cancel_test2()
431 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_cancel_test3()
498 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_destroy_test1()
/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/lib/python/
H A Djobserver.py94 self.reader = os.open(path, os.O_RDONLY | os.O_NONBLOCK)
119 os.O_RDONLY | os.O_NONBLOCK)
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_zerocopy_fastopen-client.pkt17 +0 fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
38 +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.c136 nonblock_set = op.open_flag & O_NONBLOCK; in io_openat2()
141 op.open_flag |= O_NONBLOCK; in io_openat2()
173 file->f_flags &= ~O_NONBLOCK; in io_openat2()
335 if (p->flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT | O_NOTIFICATION_PIPE)) in io_pipe_prep()
/linux/fs/
H A Deventfd.c224 if ((file->f_flags & O_NONBLOCK) || in eventfd_read()
264 else if (!(file->f_flags & O_NONBLOCK)) { in eventfd_write()
385 BUILD_BUG_ON(EFD_NONBLOCK != O_NONBLOCK); in do_eventfd()
H A Dsignalfd.c214 nonblock = file->f_flags & O_NONBLOCK || iocb->ki_flags & IOCB_NOWAIT; in signalfd_read_iter()
255 BUILD_BUG_ON(SFD_NONBLOCK != O_NONBLOCK); in do_signalfd4()
276 O_RDWR | (flags & O_NONBLOCK), FMODE_NOWAIT)); in do_signalfd4()
/linux/include/uapi/linux/
H A Deventfd.h9 #define EFD_NONBLOCK O_NONBLOCK
H A Dtimerfd.h33 #define TFD_NONBLOCK O_NONBLOCK
H A Dsignalfd.h18 #define SFD_NONBLOCK O_NONBLOCK
H A Dinotify.h73 #define IN_NONBLOCK O_NONBLOCK
/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/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/um/os-Linux/
H A Dsigio.c191 if ((fcntl(master, F_SETFL, flags | O_NONBLOCK | O_ASYNC) < 0) || in async_pty()
195 if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0)) in async_pty()
H A Dfile.c402 flags |= O_ASYNC | O_NONBLOCK; in os_set_fd_async()
429 flags &= ~(O_ASYNC | O_NONBLOCK); in os_clear_fd_async()
444 flags &= ~O_NONBLOCK; in os_set_fd_block()
446 flags |= O_NONBLOCK; in os_set_fd_block()
/linux/rust/kernel/fs/
H A Dfile.rs64 pub const O_NONBLOCK: u32 = bindings::O_NONBLOCK; constant
/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.c187 ASSERT_GT((flags & O_NONBLOCK), 0); in TEST()
205 ASSERT_EQ(fcntl(pidfd, F_SETFL, (flags & ~O_NONBLOCK)), 0); in TEST()
H A Dpidfd_file_handle_test.c176 pidfd = open_by_handle_at(self->pidfd, fh, O_NONBLOCK); in TEST_F()
223 pidfd = open_by_handle_at(self->pidfd, fh, O_NONBLOCK); in TEST_F()
371 O_NONBLOCK | in TEST_F()
539 pidfd = open_by_handle_at(FD_PIDFS_ROOT, fh, O_NONBLOCK); in TEST_F()
/linux/include/linux/
H A Deventfd.h26 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
/linux/fs/proc/
H A Dkmsg.c34 if ((file->f_flags & O_NONBLOCK) && in kmsg_read()

12345678910>>...13