Home
last modified time | relevance | path

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

12345678910>>...15

/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/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()
390 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()
257 BUILD_BUG_ON(SFD_NONBLOCK != O_NONBLOCK); in do_signalfd4()
281 O_RDWR | (flags & O_NONBLOCK)); in do_signalfd4()
H A Dpipe.c356 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 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/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
/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/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/arch/mips/include/uapi/asm/
H A Dfcntl.h16 #define O_NONBLOCK 0x0080 macro
/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/arch/alpha/include/uapi/asm/
H A Dfcntl.h10 #define O_NONBLOCK 00004 macro

12345678910>>...15