| /Linux-v5.4/include/uapi/asm-generic/ |
| D | fcntl.h | 38 #ifndef O_NONBLOCK 39 #define O_NONBLOCK 00004000 macro 97 #define O_NDELAY O_NONBLOCK
|
| /Linux-v5.4/tools/include/uapi/asm-generic/ |
| D | fcntl.h | 37 #ifndef O_NONBLOCK 38 #define O_NONBLOCK 00004000 macro 96 #define O_NDELAY O_NONBLOCK
|
| /Linux-v5.4/arch/sparc/include/uapi/asm/ |
| D | fcntl.h | 11 #define O_NONBLOCK 0x4000 macro 15 #define O_NDELAY (0x0004 | O_NONBLOCK)
|
| /Linux-v5.4/drivers/char/pcmcia/ |
| D | cm4000_cs.c | 944 ((filp->f_flags & O_NONBLOCK) in cmm_read() 946 if (filp->f_flags & O_NONBLOCK) in cmm_read() 957 ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { in cmm_read() 958 if (filp->f_flags & O_NONBLOCK) in cmm_read() 966 ((filp->f_flags & O_NONBLOCK) in cmm_read() 968 if (filp->f_flags & O_NONBLOCK) in cmm_read() 1096 ((filp->f_flags & O_NONBLOCK) in cmm_write() 1098 if (filp->f_flags & O_NONBLOCK) in cmm_write() 1111 ((filp->f_flags & O_NONBLOCK) in cmm_write() 1113 if (filp->f_flags & O_NONBLOCK) in cmm_write() [all …]
|
| /Linux-v5.4/include/linux/ |
| D | eventfd.h | 25 #define EFD_NONBLOCK O_NONBLOCK 27 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
|
| D | userfaultfd_k.h | 26 #define UFFD_NONBLOCK O_NONBLOCK 28 #define UFFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
|
| /Linux-v5.4/tools/testing/selftests/bpf/ |
| D | test_lirc_mode2_user.c | 68 lircfd = open(argv[1], O_RDWR | O_NONBLOCK); in main() 81 inputfd = open(argv[2], O_RDONLY | O_NONBLOCK); in main()
|
| /Linux-v5.4/tools/testing/selftests/vm/ |
| D | compaction_test.c | 62 O_RDONLY | O_NONBLOCK); in prereq() 94 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK); in check_compaction()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | timerfd.h | 33 #define TFD_NONBLOCK O_NONBLOCK
|
| D | signalfd.h | 18 #define SFD_NONBLOCK O_NONBLOCK
|
| D | inotify.h | 73 #define IN_NONBLOCK O_NONBLOCK
|
| /Linux-v5.4/arch/mips/include/asm/ |
| D | socket.h | 46 #define SOCK_NONBLOCK O_NONBLOCK
|
| /Linux-v5.4/fs/ |
| D | eventfd.c | 219 else if (!(file->f_flags & O_NONBLOCK)) { in eventfd_read() 269 else if (!(file->f_flags & O_NONBLOCK)) { in eventfd_write() 398 BUILD_BUG_ON(EFD_NONBLOCK != O_NONBLOCK); in do_eventfd()
|
| D | signalfd.c | 217 int nonblock = file->f_flags & O_NONBLOCK; in signalfd_read() 269 BUILD_BUG_ON(SFD_NONBLOCK != O_NONBLOCK); in do_signalfd4() 289 O_RDWR | (flags & (O_CLOEXEC | O_NONBLOCK))); in do_signalfd4()
|
| D | pipe.c | 345 if (filp->f_flags & O_NONBLOCK) { in pipe_read() 481 if (filp->f_flags & O_NONBLOCK) { in pipe_write() 777 O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)), in create_pipe_files() 787 res[0] = alloc_file_clone(f, O_RDONLY | (flags & O_NONBLOCK), in create_pipe_files() 804 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT)) in __do_pipe_flags() 948 if ((filp->f_flags & O_NONBLOCK)) { in fifo_open() 966 if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) in fifo_open()
|
| /Linux-v5.4/arch/parisc/include/uapi/asm/ |
| D | fcntl.h | 12 #define O_NONBLOCK 000200004 /* HPUX has separate NDELAY & NONBLOCK */ macro
|
| /Linux-v5.4/arch/alpha/include/uapi/asm/ |
| D | fcntl.h | 10 #define O_NONBLOCK 00004 macro
|
| /Linux-v5.4/Documentation/media/uapi/dvb/ |
| D | dmx-fwrite.rst | 67 - No data was written. This might happen if ``O_NONBLOCK`` was 69 ``O_NONBLOCK`` is not specified the function will block until buffer
|
| /Linux-v5.4/arch/mips/kernel/ |
| 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-v5.4/arch/mips/include/uapi/asm/ |
| D | fcntl.h | 16 #define O_NONBLOCK 0x0080 macro
|
| /Linux-v5.4/drivers/leds/ |
| D | uleds.c | 147 } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) { in uleds_read() 161 if (!(file->f_flags & O_NONBLOCK)) in uleds_read()
|
| /Linux-v5.4/arch/um/os-Linux/ |
| D | file.c | 408 flags |= O_ASYNC | O_NONBLOCK; in os_set_fd_async() 435 flags &= ~(O_ASYNC | O_NONBLOCK); in os_clear_fd_async() 450 flags &= ~O_NONBLOCK; in os_set_fd_block() 452 flags |= O_NONBLOCK; in os_set_fd_block()
|
| /Linux-v5.4/Documentation/media/uapi/v4l/ |
| D | func-open.rst | 44 When the ``O_NONBLOCK`` flag is given, the :ref:`read() <func-read>` 49 with applications must support the ``O_NONBLOCK`` flag.
|
| /Linux-v5.4/fs/proc/ |
| D | kmsg.c | 37 if ((file->f_flags & O_NONBLOCK) && in kmsg_read()
|
| /Linux-v5.4/tools/power/acpi/tools/acpidbg/ |
| 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()
|