Home
last modified time | relevance | path

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

12345678910>>...16

/linux-5.19.10/tools/include/uapi/asm-generic/
Dfcntl.h38 #ifndef O_NONBLOCK
39 #define O_NONBLOCK 00004000 macro
97 #define O_NDELAY O_NONBLOCK
/linux-5.19.10/include/uapi/asm-generic/
Dfcntl.h38 #ifndef O_NONBLOCK
39 #define O_NONBLOCK 00004000 macro
97 #define O_NDELAY O_NONBLOCK
/linux-5.19.10/arch/sparc/include/uapi/asm/
Dfcntl.h11 #define O_NONBLOCK 0x4000 macro
15 #define O_NDELAY (0x0004 | O_NONBLOCK)
/linux-5.19.10/drivers/char/pcmcia/
Dcm4000_cs.c949 ((filp->f_flags & O_NONBLOCK) in cmm_read()
951 if (filp->f_flags & O_NONBLOCK) in cmm_read()
962 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { in cmm_read()
963 if (filp->f_flags & O_NONBLOCK) in cmm_read()
971 ((filp->f_flags & O_NONBLOCK) in cmm_read()
973 if (filp->f_flags & O_NONBLOCK) in cmm_read()
1100 ((filp->f_flags & O_NONBLOCK) in cmm_write()
1102 if (filp->f_flags & O_NONBLOCK) in cmm_write()
1115 ((filp->f_flags & O_NONBLOCK) in cmm_write()
1117 if (filp->f_flags & O_NONBLOCK) in cmm_write()
[all …]
/linux-5.19.10/include/linux/
Deventfd.h28 #define EFD_NONBLOCK O_NONBLOCK
30 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
Duserfaultfd_k.h34 #define UFFD_NONBLOCK O_NONBLOCK
36 #define UFFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
/linux-5.19.10/tools/testing/selftests/bpf/
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-5.19.10/tools/testing/selftests/vm/
Dcompaction_test.c63 O_RDONLY | O_NONBLOCK); in prereq()
95 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK); in check_compaction()
/linux-5.19.10/include/uapi/linux/
Dpidfd.h10 #define PIDFD_NONBLOCK O_NONBLOCK
Dtimerfd.h33 #define TFD_NONBLOCK O_NONBLOCK
Dsignalfd.h18 #define SFD_NONBLOCK O_NONBLOCK
Dinotify.h73 #define IN_NONBLOCK O_NONBLOCK
/linux-5.19.10/Documentation/userspace-api/media/dvb/
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
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-5.19.10/arch/mips/include/asm/
Dsocket.h46 #define SOCK_NONBLOCK O_NONBLOCK
/linux-5.19.10/arch/parisc/include/uapi/asm/
Dfcntl.h11 #define O_NONBLOCK 000200000 macro
/linux-5.19.10/Documentation/userspace-api/media/v4l/
Dfunc-open.rst35 When the ``O_NONBLOCK`` flag is given, the :c:func:`read()`
40 with applications must support the ``O_NONBLOCK`` flag.
/linux-5.19.10/fs/
Deventfd.c232 if ((file->f_flags & O_NONBLOCK) || in eventfd_read()
283 else if (!(file->f_flags & O_NONBLOCK)) { in eventfd_write()
413 BUILD_BUG_ON(EFD_NONBLOCK != O_NONBLOCK); in do_eventfd()
Dsignalfd.c207 int nonblock = file->f_flags & O_NONBLOCK; in signalfd_read()
259 BUILD_BUG_ON(SFD_NONBLOCK != O_NONBLOCK); in do_signalfd4()
279 O_RDWR | (flags & (O_CLOEXEC | O_NONBLOCK))); in do_signalfd4()
/linux-5.19.10/arch/mips/kernel/
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-5.19.10/arch/mips/include/uapi/asm/
Dfcntl.h16 #define O_NONBLOCK 0x0080 macro
/linux-5.19.10/arch/alpha/include/uapi/asm/
Dfcntl.h10 #define O_NONBLOCK 00004 macro
/linux-5.19.10/drivers/leds/
Duleds.c147 } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) { in uleds_read()
161 if (!(file->f_flags & O_NONBLOCK)) in uleds_read()
/linux-5.19.10/arch/um/os-Linux/
Dfile.c412 flags |= O_ASYNC | O_NONBLOCK; in os_set_fd_async()
439 flags &= ~(O_ASYNC | O_NONBLOCK); in os_clear_fd_async()
454 flags &= ~O_NONBLOCK; in os_set_fd_block()
456 flags |= O_NONBLOCK; in os_set_fd_block()
/linux-5.19.10/tools/power/acpi/tools/acpidbg/
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()

12345678910>>...16