| /linux-4.4.14/include/uapi/asm-generic/ |
| D | fcntl.h | 37 #ifndef O_NONBLOCK 38 #define O_NONBLOCK 00004000 macro 96 #define O_NDELAY O_NONBLOCK
|
| /linux-4.4.14/arch/sparc/include/uapi/asm/ |
| D | fcntl.h | 10 #define O_NONBLOCK 0x4000 macro 14 #define O_NDELAY (0x0004 | O_NONBLOCK)
|
| /linux-4.4.14/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 …]
|
| D | cm4040_cs.c | 234 if (filp->f_flags & O_NONBLOCK) { in cm4040_read() 338 if (filp->f_flags & O_NONBLOCK) { in cm4040_write() 460 if (filp->f_flags & O_NONBLOCK) { in cm4040_open()
|
| /linux-4.4.14/include/linux/ |
| D | userfaultfd_k.h | 25 #define UFFD_NONBLOCK O_NONBLOCK 27 #define UFFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
|
| D | eventfd.h | 23 #define EFD_NONBLOCK O_NONBLOCK 25 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
|
| D | timerfd.h | 27 #define TFD_NONBLOCK O_NONBLOCK
|
| D | net.h | 81 #define SOCK_NONBLOCK O_NONBLOCK
|
| /linux-4.4.14/drivers/char/ |
| D | snsc.c | 171 if (file->f_flags & O_NONBLOCK) { in scdrv_read() 190 if (file->f_flags & O_NONBLOCK) { in scdrv_read() 263 if (file->f_flags & O_NONBLOCK) { in scdrv_write() 287 if (file->f_flags & O_NONBLOCK) { in scdrv_write()
|
| D | ppdev.c | 135 (file->f_flags & O_NONBLOCK) ? in pp_read() 166 if (file->f_flags & O_NONBLOCK) { in pp_read() 214 (file->f_flags & O_NONBLOCK) ? in pp_write() 248 if (file->f_flags & O_NONBLOCK) { in pp_write()
|
| D | dtlk.c | 148 if (file->f_flags & O_NONBLOCK) in dtlk_read() 213 if (file->f_flags & O_NONBLOCK) in dtlk_write()
|
| D | lp.c | 303 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_write() 420 int nonblock = ((file->f_flags & O_NONBLOCK) || in lp_read() 514 if ((LP_F(minor) & LP_ABORTOPEN) && !(file->f_flags & O_NONBLOCK)) { in lp_open()
|
| D | genrtc.c | 185 if (file->f_flags & O_NONBLOCK && !gen_rtc_irq_data) in gen_rtc_read()
|
| D | apm-emulation.c | 218 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) in apm_read()
|
| D | virtio_console.c | 768 if (filp->f_flags & O_NONBLOCK) in port_fops_read() 830 nonblock = filp->f_flags & O_NONBLOCK; in port_fops_write() 953 ret = wait_port_writable(port, filp->f_flags & O_NONBLOCK); in port_fops_splice_write()
|
| /linux-4.4.14/tools/testing/selftests/vm/ |
| D | compaction_test.c | 59 O_RDONLY | O_NONBLOCK); in prereq() 91 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK); in check_compaction()
|
| D | userfaultfd.c | 439 uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); in userfaultfd_stress() 484 if (pipe2(&pipefd[cpu*2], O_CLOEXEC | O_NONBLOCK)) { in userfaultfd_stress() 519 fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); in userfaultfd_stress() 521 fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK); in userfaultfd_stress()
|
| /linux-4.4.14/arch/mips/include/asm/ |
| D | socket.h | 46 #define SOCK_NONBLOCK O_NONBLOCK
|
| /linux-4.4.14/arch/parisc/include/uapi/asm/ |
| D | fcntl.h | 11 #define O_NONBLOCK 000200004 /* HPUX has separate NDELAY & NONBLOCK */ macro
|
| /linux-4.4.14/arch/alpha/include/uapi/asm/ |
| D | fcntl.h | 9 #define O_NONBLOCK 00004 macro
|
| /linux-4.4.14/arch/um/os-Linux/ |
| D | file.c | 387 flags |= O_ASYNC | O_NONBLOCK; in os_set_fd_async() 414 flags &= ~(O_ASYNC | O_NONBLOCK); in os_clear_fd_async() 429 flags &= ~O_NONBLOCK; in os_set_fd_block() 431 flags |= O_NONBLOCK; in os_set_fd_block()
|
| D | sigio.c | 419 if ((fcntl(master, F_SETFL, flags | O_NONBLOCK | O_ASYNC) < 0) || in async_pty() 423 if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0)) in async_pty()
|
| /linux-4.4.14/arch/mips/include/uapi/asm/ |
| D | fcntl.h | 15 #define O_NONBLOCK 0x0080 macro
|
| /linux-4.4.14/include/uapi/linux/ |
| D | signalfd.h | 17 #define SFD_NONBLOCK O_NONBLOCK
|
| D | inotify.h | 71 #define IN_NONBLOCK O_NONBLOCK
|
| /linux-4.4.14/fs/ |
| D | signalfd.c | 209 int nonblock = file->f_flags & O_NONBLOCK; in signalfd_read() 263 BUILD_BUG_ON(SFD_NONBLOCK != O_NONBLOCK); in SYSCALL_DEFINE4() 286 O_RDWR | (flags & (O_CLOEXEC | O_NONBLOCK))); in SYSCALL_DEFINE4()
|
| D | eventfd.c | 235 res = eventfd_ctx_read(ctx, file->f_flags & O_NONBLOCK, &cnt); in eventfd_read() 260 else if (!(file->f_flags & O_NONBLOCK)) { in eventfd_write() 398 BUILD_BUG_ON(EFD_NONBLOCK != O_NONBLOCK); in eventfd_file_create()
|
| D | pipe.c | 310 if (filp->f_flags & O_NONBLOCK) { in pipe_read() 447 if (filp->f_flags & O_NONBLOCK) { in pipe_write() 738 f->f_flags = O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)); in create_pipe_files() 749 res[0]->f_flags = O_RDONLY | (flags & O_NONBLOCK); in create_pipe_files() 771 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT)) in __do_pipe_flags() 910 if ((filp->f_flags & O_NONBLOCK)) { in fifo_open() 928 if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) in fifo_open()
|
| D | anon_inodes.c | 110 file->f_flags = flags & (O_ACCMODE | O_NONBLOCK); in anon_inode_getfile()
|
| D | fcntl.c | 30 #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME) 50 if (O_NONBLOCK != O_NDELAY) in setfl() 52 arg |= O_NONBLOCK; in setfl()
|
| D | userfaultfd.c | 520 if (unlikely(!(file->f_flags & O_NONBLOCK))) in userfaultfd_poll() 624 int no_wait = file->f_flags & O_NONBLOCK; in userfaultfd_read() 644 no_wait = O_NONBLOCK; in userfaultfd_read() 1275 BUILD_BUG_ON(UFFD_NONBLOCK != O_NONBLOCK); in userfaultfd_file_create()
|
| D | ioctl.c | 481 flag = O_NONBLOCK; in ioctl_fionbio() 484 if (O_NONBLOCK != O_NDELAY) in ioctl_fionbio()
|
| D | timerfd.c | 245 if (file->f_flags & O_NONBLOCK) in timerfd_read() 383 BUILD_BUG_ON(TFD_NONBLOCK != O_NONBLOCK); in SYSCALL_DEFINE2()
|
| /linux-4.4.14/arch/mips/kernel/ |
| D | rtlx.c | 329 return rtlx_open(iminor(inode), (filp->f_flags & O_NONBLOCK) ? 0 : 1); in file_open() 365 if (!rtlx_read_poll(minor, (file->f_flags & O_NONBLOCK) ? 0 : 1)) in file_read() 380 if (file->f_flags & O_NONBLOCK) in file_write()
|
| /linux-4.4.14/fs/proc/ |
| D | kmsg.c | 36 if ((file->f_flags & O_NONBLOCK) && in kmsg_read()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/include/ |
| D | lustre_lite.h | 100 params->lrp_ast_flags = (open_flags & O_NONBLOCK) ? in lustre_build_lock_params()
|
| /linux-4.4.14/drivers/media/usb/em28xx/ |
| D | em28xx-audio.c | 267 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_em28xx_capture_open() 509 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put() 547 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get() 582 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_put_mute() 623 nonblock = !!(substream->f_flags & O_NONBLOCK); in em28xx_vol_get_mute()
|
| /linux-4.4.14/drivers/media/platform/vivid/ |
| D | vivid-radio-rx.c | 89 if (file->f_flags & O_NONBLOCK) in vivid_radio_rx_read() 177 if (file->f_flags & O_NONBLOCK) in vivid_radio_rx_s_hw_freq_seek()
|
| D | vivid-radio-tx.c | 76 if (file->f_flags & O_NONBLOCK) in vivid_radio_tx_write()
|
| /linux-4.4.14/tools/perf/tests/ |
| D | bp_signal_overflow.c | 102 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in test__bp_signal_overflow()
|
| D | bp_signal.c | 90 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in bp_event()
|
| /linux-4.4.14/net/ |
| D | socket.c | 385 file->f_flags = O_RDWR | (flags & O_NONBLOCK); in sock_alloc_file() 762 flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; in sock_sendpage() 789 if (file->f_flags & O_NONBLOCK) in sock_read_iter() 814 if (file->f_flags & O_NONBLOCK) in sock_write_iter() 1230 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in SYSCALL_DEFINE3() 1231 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in SYSCALL_DEFINE3() 1237 retval = sock_map_fd(sock, flags & (O_CLOEXEC | O_NONBLOCK)); in SYSCALL_DEFINE3() 1267 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in SYSCALL_DEFINE4() 1268 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in SYSCALL_DEFINE4() 1436 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in SYSCALL_DEFINE4() [all …]
|
| /linux-4.4.14/ipc/ |
| D | mqueue.c | 1040 if (f.file->f_flags & O_NONBLOCK) { in SYSCALL_DEFINE5() 1146 if (f.file->f_flags & O_NONBLOCK) { in SYSCALL_DEFINE5() 1334 if (mqstat.mq_flags & (~O_NONBLOCK)) in SYSCALL_DEFINE3() 1354 omqstat.mq_flags = f.file->f_flags & O_NONBLOCK; in SYSCALL_DEFINE3() 1358 if (mqstat.mq_flags & O_NONBLOCK) in SYSCALL_DEFINE3() 1359 f.file->f_flags |= O_NONBLOCK; in SYSCALL_DEFINE3() 1361 f.file->f_flags &= ~O_NONBLOCK; in SYSCALL_DEFINE3()
|
| /linux-4.4.14/arch/um/drivers/ |
| D | random.c | 71 if (filp->f_flags & O_NONBLOCK) in rng_dev_read()
|
| /linux-4.4.14/sound/oss/ |
| D | midibuf.c | 279 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_write() 323 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_read()
|
| D | audio.c | 252 if ((err = DMAbuf_getwrbuffer(dev, &dma_buf, &buf_size, !!(file->f_flags & O_NONBLOCK))) < 0) in audio_write() 255 if ((file->f_flags & O_NONBLOCK) && err == -EAGAIN) in audio_write() 326 if ((buf_no = DMAbuf_getrdbuffer(dev, &dmabuf, &l, !!(file->f_flags & O_NONBLOCK))) < 0) in audio_read() 335 if ((file->f_flags & O_NONBLOCK) && buf_no == -EAGAIN) in audio_read() 437 file->f_flags |= O_NONBLOCK; in audio_ioctl()
|
| D | sequencer.c | 100 if (file->f_flags & O_NONBLOCK) { in sequencer_read() 305 if (!seq_queue(event_rec, (file->f_flags & (O_NONBLOCK) ? 1 : 0))) in sequencer_write() 312 if (!processed && (file->f_flags & O_NONBLOCK)) in sequencer_write() 1131 if (mode != OPEN_READ && !(file->f_flags & O_NONBLOCK)) in sequencer_release()
|
| D | swarm_cs4297a.c | 1743 if (file->f_flags & O_NONBLOCK) in cs4297a_read() 1839 if (file->f_flags & O_NONBLOCK) in cs4297a_write() 2227 file->f_flags |= O_NONBLOCK; in cs4297a_ioctl() 2388 drain_dac(s, file->f_flags & O_NONBLOCK); in cs4297a_release() 2397 drain_adc(s, file->f_flags & O_NONBLOCK); in cs4297a_release() 2452 if (file->f_flags & O_NONBLOCK) { in cs4297a_locked_open() 2469 if (file->f_flags & O_NONBLOCK) { in cs4297a_locked_open()
|
| /linux-4.4.14/tools/virtio/virtio-trace/ |
| D | trace-agent-rw.c | 69 if (pipe2(data_pipe, O_NONBLOCK) < 0) { in rw_thread_init()
|
| /linux-4.4.14/samples/hidraw/ |
| D | hid-example.c | 56 fd = open(device, O_RDWR|O_NONBLOCK); in main()
|
| /linux-4.4.14/net/rds/ |
| D | tcp_connect.c | 110 O_NONBLOCK); in rds_tcp_conn_connect()
|
| D | tcp_listen.c | 89 ret = sock->ops->accept(sock, new_sock, O_NONBLOCK); in rds_tcp_accept_one()
|
| /linux-4.4.14/Documentation/laptops/ |
| D | dslm.c | 147 if (!(fd = open(disk, O_RDONLY|O_NONBLOCK))) { in main()
|
| /linux-4.4.14/tools/testing/selftests/mqueue/ |
| D | mq_perf_tests.c | 289 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK; in open_queue() 298 printf("\t\tmq_flags:\t\t\t%s\n", result.mq_flags & O_NONBLOCK ? in open_queue() 708 attr.mq_flags = O_NONBLOCK; in main()
|
| /linux-4.4.14/drivers/media/pci/ttpci/ |
| D | av7110_ca.c | 154 int non_blocking = file->f_flags & O_NONBLOCK; in ci_ll_write() 193 int non_blocking = file->f_flags & O_NONBLOCK; in ci_ll_read()
|
| D | av7110_av.c | 916 if (flags & O_NONBLOCK) in dvb_video_get_event() 988 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write() 990 return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); in dvb_video_write() 1029 return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write() 1031 return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); in dvb_audio_write() 1234 file->f_flags & O_NONBLOCK); in dvb_video_ioctl()
|
| /linux-4.4.14/drivers/input/serio/ |
| D | serio_raw.c | 174 (file->f_flags & O_NONBLOCK)) in serio_raw_read() 189 if (!(file->f_flags & O_NONBLOCK)) { in serio_raw_read()
|
| D | userio.c | 156 if (file->f_flags & O_NONBLOCK) in userio_char_read()
|
| /linux-4.4.14/drivers/char/hw_random/ |
| D | core.c | 245 !(filp->f_flags & O_NONBLOCK)); in rng_dev_read() 254 if (filp->f_flags & O_NONBLOCK) { in rng_dev_read()
|
| /linux-4.4.14/Documentation/filesystems/ |
| D | dlmfs.txt | 106 O_NONBLOCK Trylock operation 110 If O_NONBLOCK is also provided and the trylock operation was valid but
|
| D | mandatory-locking.txt | 107 SunOS is so hopeless that it doesn't even honour the O_NONBLOCK flag for 125 released, unless the process has opened the file with the O_NONBLOCK 131 unless a process has opened the file with the O_NONBLOCK flag in which case
|
| D | spufs.txt | 93 box and the file descriptor has been opened with O_NONBLOCK, the 97 descriptor has been opened without O_NONBLOCK, the call will 114 opened with O_NONBLOCK, the return value is set to -1 and errno becomes 118 has been opened without O_NONBLOCK, the call will block until the SPU
|
| /linux-4.4.14/net/atm/ |
| D | svc.c | 207 if (flags & O_NONBLOCK) { in svc_connect() 351 if (flags & O_NONBLOCK) { in svc_accept() 537 if (flags & O_NONBLOCK) { in svc_addparty()
|
| /linux-4.4.14/drivers/media/pci/saa7164/ |
| D | saa7164-vbi.c | 552 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read() 604 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read() 649 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_poll()
|
| D | saa7164-encoder.c | 849 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read() 901 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read()
|
| /linux-4.4.14/drivers/iio/ |
| D | industrialio-event.c | 121 if (filep->f_flags & O_NONBLOCK) in iio_event_chrdev_read() 147 if (copied == 0 && (filep->f_flags & O_NONBLOCK)) in iio_event_chrdev_read()
|
| D | industrialio-buffer.c | 129 if (filp->f_flags & O_NONBLOCK) in iio_buffer_read_first_n_outer() 144 if (ret == 0 && (filp->f_flags & O_NONBLOCK)) in iio_buffer_read_first_n_outer()
|
| /linux-4.4.14/drivers/staging/most/aim-cdev/ |
| D | cdev.c | 174 if ((filp->f_flags & O_NONBLOCK)) in aim_write() 236 if (filp->f_flags & O_NONBLOCK) in aim_read()
|
| /linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
| D | lib-socket.c | 537 rc = sock->ops->accept(sock, newsock, O_NONBLOCK); in lnet_sock_accept() 545 rc = sock->ops->accept(sock, newsock, O_NONBLOCK); in lnet_sock_accept()
|
| /linux-4.4.14/drivers/media/radio/si470x/ |
| D | radio-si470x-common.c | 471 if (file->f_flags & O_NONBLOCK) { in si470x_fops_read() 713 if (file->f_flags & O_NONBLOCK) in si470x_vidioc_s_hw_freq_seek()
|
| /linux-4.4.14/Documentation/input/ |
| D | joystick-api.txt | 133 b) open the device in non-blocking mode (O_NONBLOCK) 136 3.1 O_NONBLOCK 139 If read returns -1 when reading in O_NONBLOCK mode, this isn't
|
| /linux-4.4.14/fs/notify/fanotify/ |
| D | fanotify_user.c | 37 O_ACCMODE | O_APPEND | O_NONBLOCK | \ 282 if (file->f_flags & O_NONBLOCK) in fanotify_read() 732 f_flags |= O_NONBLOCK; in SYSCALL_DEFINE2()
|
| /linux-4.4.14/drivers/usb/ |
| D | usb-skeleton.c | 257 if (file->f_flags & O_NONBLOCK) { in skel_read() 380 if (!(file->f_flags & O_NONBLOCK)) { in skel_write()
|
| /linux-4.4.14/Documentation/hid/ |
| D | hidraw.txt | 45 the O_NONBLOCK flag to open(), or by setting the O_NONBLOCK flag using
|
| D | uhid.txt | 25 by setting O_NONBLOCK. 85 the request was handled successfully. O_NONBLOCK does not affect write() as 87 might make use of O_NONBLOCK, though.
|
| /linux-4.4.14/drivers/char/xillybus/ |
| D | xillybus_core.c | 813 if (!no_time_left && (filp->f_flags & O_NONBLOCK)) { in xillybus_read() 915 if (filp->f_flags & O_NONBLOCK) in xillybus_read() 1368 if (filp->f_flags & O_NONBLOCK) { in xillybus_write() 1455 if ((filp->f_mode & FMODE_READ) && (filp->f_flags & O_NONBLOCK) && in xillybus_open() 1463 if ((filp->f_mode & FMODE_WRITE) && (filp->f_flags & O_NONBLOCK) && in xillybus_open()
|
| /linux-4.4.14/drivers/media/dvb-core/ |
| D | dmxdev.c | 250 file->f_flags & O_NONBLOCK, in dvb_dvr_read() 906 file->f_flags & O_NONBLOCK, in dvb_dmxdev_read_sec() 927 file->f_flags & O_NONBLOCK, in dvb_dmxdev_read_sec() 949 file->f_flags & O_NONBLOCK, in dvb_demux_read()
|
| /linux-4.4.14/drivers/s390/char/ |
| D | hmcdrv_dev.c | 119 if (fp->f_flags & O_NONBLOCK) in hmcdrv_dev_open()
|
| D | monreader.c | 378 if (filp->f_flags & O_NONBLOCK) in mon_read()
|
| D | vmlogrdr.c | 323 if (filp->f_flags & O_NONBLOCK) in vmlogrdr_open()
|
| D | vmur.c | 717 if (file->f_flags & O_NONBLOCK) { in ur_open()
|
| /linux-4.4.14/net/9p/ |
| D | trans_fd.c | 282 if (!(ts->rd->f_flags & O_NONBLOCK)) in p9_fd_read() 425 if (!(ts->wr->f_flags & O_NONBLOCK)) in p9_fd_write() 834 p->rd->f_flags |= O_NONBLOCK; in p9_socket_open()
|
| /linux-4.4.14/drivers/isdn/divert/ |
| D | divert_procfs.c | 90 if (file->f_flags & O_NONBLOCK) in isdn_divert_read()
|
| /linux-4.4.14/drivers/usb/misc/ |
| D | ldusb.c | 474 if (file->f_flags & O_NONBLOCK) { in ld_usb_read() 551 if (file->f_flags & O_NONBLOCK) { in ld_usb_write()
|
| D | legousbtower.c | 583 if (file->f_flags & O_NONBLOCK) { in tower_read() 664 if (file->f_flags & O_NONBLOCK) { in tower_write()
|
| D | iowarrior.c | 297 if (file->f_flags & O_NONBLOCK) in iowarrior_read() 389 if (file->f_flags & O_NONBLOCK) { in iowarrior_write()
|
| /linux-4.4.14/drivers/tty/ |
| D | n_hdlc.c | 633 if (file->f_flags & O_NONBLOCK) { in n_hdlc_tty_read() 700 if (file->f_flags & O_NONBLOCK) { in n_hdlc_tty_write()
|
| D | tty_port.c | 371 if (filp->f_flags & O_NONBLOCK) { in tty_port_block_til_ready()
|
| D | n_r3964.c | 1070 if (file->f_flags & O_NONBLOCK) { in r3964_read() 1083 if (file->f_flags & O_NONBLOCK) { in r3964_read()
|
| D | tty_io.c | 1947 filp->f_flags |= O_NONBLOCK; /* Don't let /dev/tty block */ in tty_open_current_tty() 1994 filp->f_flags |= O_NONBLOCK; in tty_lookup_driver() 2430 file->f_flags |= O_NONBLOCK; in fionbio() 2432 file->f_flags &= ~O_NONBLOCK; in fionbio()
|
| D | n_tty.c | 2176 if (file->f_flags & O_NONBLOCK) { in n_tty_read() 2243 if (file->f_flags & O_NONBLOCK) { in n_tty_read() 2400 if (file->f_flags & O_NONBLOCK) { in n_tty_write()
|
| /linux-4.4.14/fs/notify/inotify/ |
| D | inotify_user.c | 257 if (file->f_flags & O_NONBLOCK) in inotify_read() 676 BUILD_BUG_ON(IN_NONBLOCK != O_NONBLOCK); in SYSCALL_DEFINE1()
|
| /linux-4.4.14/drivers/misc/mei/ |
| D | main.c | 192 if (file->f_flags & O_NONBLOCK) { in mei_read() 480 bool block = (file->f_flags & O_NONBLOCK) == 0; in mei_ioctl_client_notify_get()
|
| D | amthif.c | 143 if (cb == NULL && file->f_flags & O_NONBLOCK) in mei_amthif_read()
|
| /linux-4.4.14/net/caif/ |
| D | caif_socket.c | 777 if (flags & O_NONBLOCK) in caif_connect() 859 if (sk->sk_state != CAIF_CONNECTED && (flags & O_NONBLOCK)) in caif_connect() 862 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); in caif_connect()
|
| /linux-4.4.14/fs/dlm/ |
| D | lowcomms.c | 705 result = con->sock->ops->accept(con->sock, newsock, O_NONBLOCK); in tcp_accept_from_sock() 823 ret = kernel_accept(con->sock, &newsock, O_NONBLOCK); in sctp_accept_from_sock() 1031 O_NONBLOCK); in sctp_connect_to_sock() 1126 O_NONBLOCK); in tcp_connect_to_sock()
|
| /linux-4.4.14/sound/core/oss/ |
| D | pcm_oss.c | 1401 else if ((substream->f_flags & O_NONBLOCK) != 0) { in snd_pcm_oss_write1() 1416 if ((substream->f_flags & O_NONBLOCK) != 0 && in snd_pcm_oss_write1() 1680 substream->f_flags &= ~O_NONBLOCK; in snd_pcm_oss_sync() 1926 file->f_flags |= O_NONBLOCK; in snd_pcm_oss_nonblock() 2272 substream->f_flags |= O_NONBLOCK; in snd_pcm_oss_init_substream() 2274 substream->f_flags &= ~O_NONBLOCK; in snd_pcm_oss_init_substream() 2420 nonblock = !!(file->f_flags & O_NONBLOCK); in snd_pcm_oss_open() 2669 substream->f_flags = file->f_flags & O_NONBLOCK; in snd_pcm_oss_read() 2693 substream->f_flags = file->f_flags & O_NONBLOCK; in snd_pcm_oss_write()
|
| /linux-4.4.14/sound/core/ |
| D | rawmidi.c | 373 if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK)) in snd_rawmidi_open() 420 if (file->f_flags & O_NONBLOCK) { in snd_rawmidi_open() 1006 if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { in snd_rawmidi_read() 1310 if (file->f_flags & O_NONBLOCK) { in snd_rawmidi_write() 1334 if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK)) in snd_rawmidi_write()
|
| D | hwdep.c | 123 if (file->f_flags & O_NONBLOCK) { in snd_hwdep_open()
|
| D | pcm_lib.c | 2136 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_write() 2199 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_writev() 2348 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_read() 2407 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_readv()
|
| /linux-4.4.14/drivers/isdn/mISDN/ |
| D | timerdev.c | 117 if (filep->f_flags & O_NONBLOCK) in mISDN_read()
|
| /linux-4.4.14/drivers/isdn/hysdn/ |
| D | hysdn_proclog.c | 180 if (file->f_flags & O_NONBLOCK) in hysdn_log_read()
|
| /linux-4.4.14/drivers/media/pci/ivtv/ |
| D | ivtv-fileops.c | 518 rc = ivtv_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); in ivtv_v4l2_read() 631 if (filp->f_flags & O_NONBLOCK) in ivtv_write() 714 if (count && !(filp->f_flags & O_NONBLOCK)) in ivtv_write()
|
| /linux-4.4.14/drivers/bluetooth/ |
| D | hci_vhci.c | 280 if (file->f_flags & O_NONBLOCK) { in vhci_read()
|
| /linux-4.4.14/arch/powerpc/platforms/powernv/ |
| D | opal-prd.c | 191 if (file->f_flags & O_NONBLOCK) in opal_prd_read()
|
| /linux-4.4.14/drivers/staging/speakup/ |
| D | speakup_soft.c | 223 if (fp->f_flags & O_NONBLOCK) { in softsynth_read()
|
| /linux-4.4.14/arch/powerpc/kernel/ |
| D | rtasd.c | 354 if (file->f_flags & O_NONBLOCK) { in rtas_log_read()
|
| /linux-4.4.14/net/batman-adv/ |
| D | icmp_socket.c | 139 if ((file->f_flags & O_NONBLOCK) && (socket_client->queue_len == 0)) in batadv_socket_read()
|
| D | debugfs.c | 151 if ((file->f_flags & O_NONBLOCK) && batadv_log_empty(debug_log)) in batadv_log_read()
|
| /linux-4.4.14/tools/iio/ |
| D | generic_buffer.c | 396 fp = open(buffer_access, O_RDONLY | O_NONBLOCK); in main()
|
| /linux-4.4.14/drivers/media/pci/cx18/ |
| D | cx18-fileops.c | 605 filp->f_flags & O_NONBLOCK); in cx18_v4l2_read() 608 return cx18_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); in cx18_v4l2_read()
|
| /linux-4.4.14/drivers/usb/class/ |
| D | usblp.c | 738 if ((rv = usblp_wwait(usblp, !!(file->f_flags & O_NONBLOCK))) < 0) in usblp_write() 778 rv = usblp_wwait(usblp, !!(file->f_flags&O_NONBLOCK)); in usblp_write() 835 rv = usblp_rwait_and_lock(usblp, !!(file->f_flags & O_NONBLOCK)); in usblp_read()
|
| D | cdc-wdm.c | 375 if (!(file->f_flags & O_NONBLOCK)) in wdm_write() 496 if (file->f_flags & O_NONBLOCK) { in wdm_read()
|
| /linux-4.4.14/fs/coda/ |
| D | psdev.c | 220 if (file->f_flags & O_NONBLOCK) { in coda_psdev_read()
|
| /linux-4.4.14/drivers/hid/ |
| D | hid-roccat.c | 94 if (file->f_flags & O_NONBLOCK) { in roccat_read()
|
| D | hidraw.c | 68 if (file->f_flags & O_NONBLOCK) { in hidraw_read()
|
| D | uhid.c | 650 if (file->f_flags & O_NONBLOCK) { in uhid_char_read()
|
| D | hid-sensor-custom.c | 662 if (file->f_flags & O_NONBLOCK) in hid_sensor_custom_read()
|
| D | hid-debug.c | 1120 if (file->f_flags & O_NONBLOCK) { in hid_debug_events_read()
|
| /linux-4.4.14/sound/core/seq/oss/ |
| D | seq_oss_init.c | 303 if (file->f_flags & O_NONBLOCK) in translate_mode()
|
| /linux-4.4.14/drivers/media/platform/ |
| D | timblogiw.c | 324 return videobuf_dqbuf(&fh->vb_vidq, b, file->f_flags & O_NONBLOCK); in timblogiw_dqbuf() 721 file->f_flags & O_NONBLOCK); in timblogiw_read()
|
| D | via-camera.c | 760 filp->f_flags & O_NONBLOCK); in viacam_read() 1029 return videobuf_dqbuf(&cam->vb_queue, buf, filp->f_flags & O_NONBLOCK); in viacam_dqbuf()
|
| D | fsl-viu.c | 869 file->f_flags & O_NONBLOCK); in vidioc_dqbuf() 1259 ppos, 0, file->f_flags & O_NONBLOCK); in viu_read()
|
| /linux-4.4.14/drivers/input/misc/ |
| D | uinput.c | 537 (file->f_flags & O_NONBLOCK)) in uinput_read() 547 if (!(file->f_flags & O_NONBLOCK)) in uinput_read()
|
| /linux-4.4.14/drivers/media/common/saa7146/ |
| D | saa7146_video.c | 931 return videobuf_dqbuf(&fh->video_q, buf, file->f_flags & O_NONBLOCK); in vidioc_dqbuf() 933 return videobuf_dqbuf(&fh->vbi_q, buf, file->f_flags & O_NONBLOCK); in vidioc_dqbuf() 1287 file->f_flags & O_NONBLOCK); in video_read()
|
| D | saa7146_vbi.c | 479 file->f_flags & O_NONBLOCK); in vbi_read()
|
| /linux-4.4.14/drivers/media/v4l2-core/ |
| D | videobuf2-v4l2.c | 1487 return vb2_dqbuf(vdev->queue, p, file->f_flags & O_NONBLOCK); in vb2_ioctl_dqbuf() 1570 file->f_flags & O_NONBLOCK); in vb2_fop_write() 1594 file->f_flags & O_NONBLOCK); in vb2_fop_read()
|
| D | v4l2-subdev.c | 218 return v4l2_event_dequeue(vfh, arg, file->f_flags & O_NONBLOCK); in subdev_do_ioctl()
|
| D | v4l2-mem2mem.c | 432 return vb2_dqbuf(vq, buf, file->f_flags & O_NONBLOCK); in v4l2_m2m_dqbuf()
|
| /linux-4.4.14/Documentation/ABI/testing/ |
| D | dev-kmsg | 33 records are available read() will block, or if O_NONBLOCK is
|
| /linux-4.4.14/drivers/usb/gadget/function/ |
| D | uvc_v4l2.c | 190 return uvcg_dequeue_buffer(&video->queue, b, file->f_flags & O_NONBLOCK); in uvc_v4l2_dqbuf()
|
| D | f_hid.c | 214 if (file->f_flags & O_NONBLOCK) in f_hidg_read() 284 if (file->f_flags & O_NONBLOCK) in f_hidg_write()
|
| D | f_fs.c | 268 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); in ffs_ep0_write() 444 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); in ffs_ep0_read() 472 if ((file->f_flags & O_NONBLOCK) && !ffs->ev.count) { in ffs_ep0_read() 586 ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); in ffs_ep0_poll() 700 if (file->f_flags & O_NONBLOCK) { in ffs_epfile_io() 756 ret = ffs_mutex_lock(&epfile->mutex, file->f_flags & O_NONBLOCK); in ffs_epfile_io()
|
| D | f_printer.c | 476 if (fd->f_flags & (O_NONBLOCK|O_NDELAY)) { in printer_read() 588 if (fd->f_flags & (O_NONBLOCK|O_NDELAY)) { in printer_write()
|
| /linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
| D | file.c | 741 if (file->f_flags & O_NONBLOCK) { in spufs_ibox_read() 898 if (file->f_flags & O_NONBLOCK) { in spufs_wbox_write() 1580 if (file->f_flags & O_NONBLOCK) { in spufs_mfc_read() 1717 if (file->f_flags & O_NONBLOCK) { in spufs_mfc_write() 2467 } else if (file->f_flags & O_NONBLOCK) { in spufs_switch_log_read()
|
| /linux-4.4.14/net/nfc/ |
| D | llcp_sock.c | 459 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in llcp_sock_accept() 732 sock_sndtimeo(sk, flags & O_NONBLOCK)); in llcp_sock_connect()
|
| /linux-4.4.14/net/ipv4/ |
| D | inet_connection_sock.c | 322 long timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in inet_csk_accept() 770 sk->sk_prot->disconnect(child, O_NONBLOCK); in inet_child_forget()
|
| D | af_inet.c | 610 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); in __inet_stream_connect() 818 err = sk->sk_prot->disconnect(sk, O_NONBLOCK); in inet_shutdown()
|
| /linux-4.4.14/Documentation/infiniband/ |
| D | user_mad.txt | 126 immediately with errno set to EAGAIN if the O_NONBLOCK flag is
|
| /linux-4.4.14/drivers/misc/mic/scif/ |
| D | scif_fd.c | 89 non_block = !!(f->f_flags & O_NONBLOCK); in scif_fdioctl()
|
| /linux-4.4.14/drivers/rtc/ |
| D | rtc-dev.c | 176 if (file->f_flags & O_NONBLOCK) { in rtc_dev_read()
|
| /linux-4.4.14/drivers/platform/goldfish/ |
| D | goldfish_pipe.c | 361 (filp->f_flags & O_NONBLOCK) != 0) { in goldfish_pipe_read_write()
|
| /linux-4.4.14/net/bluetooth/rfcomm/ |
| D | sock.c | 417 sock_sndtimeo(sk, flags & O_NONBLOCK)); in rfcomm_sock_connect() 487 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in rfcomm_sock_accept()
|
| /linux-4.4.14/sound/oss/dmasound/ |
| D | dmasound_core.c | 719 if (file->f_flags & O_NONBLOCK) in sq_open2() 748 sq->non_blocking = file->f_flags & O_NONBLOCK; in sq_open2()
|
| /linux-4.4.14/drivers/scsi/ |
| D | sg.c | 305 if (!((flags & O_NONBLOCK) || in sg_open() 313 if (flags & O_NONBLOCK) { in sg_open() 450 if (filp->f_flags & O_NONBLOCK) { in sg_read() 601 if (!((filp->f_flags & O_NONBLOCK) || in sg_write() 611 blocking = !(filp->f_flags & O_NONBLOCK); in sg_write()
|
| /linux-4.4.14/drivers/staging/media/lirc/ |
| D | lirc_parallel.c | 347 if (filep->f_flags & O_NONBLOCK) { in lirc_read()
|
| D | lirc_sir.c | 224 if (file->f_flags & O_NONBLOCK) { in lirc_read()
|
| /linux-4.4.14/drivers/media/radio/wl128x/ |
| D | fmdrv_v4l2.c | 411 if (file->f_flags & O_NONBLOCK) in fm_v4l2_vidioc_s_hw_freq_seek()
|
| /linux-4.4.14/drivers/gpu/drm/ |
| D | drm_fops.c | 525 if (filp->f_flags & O_NONBLOCK) { in drm_read()
|
| /linux-4.4.14/net/bluetooth/ |
| D | sco.c | 581 sock_sndtimeo(sk, flags & O_NONBLOCK)); in sco_sock_connect() 638 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in sco_sock_accept()
|
| D | af_bluetooth.c | 543 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); in bt_sock_wait_ready()
|
| D | l2cap_sock.c | 244 sock_sndtimeo(sk, flags & O_NONBLOCK)); in l2cap_sock_connect() 312 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in l2cap_sock_accept()
|
| /linux-4.4.14/arch/cris/arch-v32/drivers/ |
| D | sync_serial.c | 630 if (file->f_flags & O_NONBLOCK) in __sync_serial_read() 1154 if (!(file->f_flags & O_NONBLOCK)) { in sync_serial_write() 1179 if (file->f_flags & O_NONBLOCK) { in sync_serial_write()
|
| /linux-4.4.14/fs/ocfs2/dlmfs/ |
| D | dlmfs.c | 126 if (open_flags & O_NONBLOCK) in dlmfs_decode_open_flags()
|
| /linux-4.4.14/drivers/staging/most/aim-v4l2/ |
| D | video.c | 176 if (!(filp->f_flags & O_NONBLOCK)) { in aim_vdev_read()
|
| /linux-4.4.14/drivers/media/radio/ |
| D | radio-mr800.c | 366 if (file->f_flags & O_NONBLOCK) in vidioc_s_hw_freq_seek()
|
| D | radio-tea5777.c | 399 if (file->f_flags & O_NONBLOCK) in vidioc_s_hw_freq_seek()
|
| D | tea575x.c | 385 if (file->f_flags & O_NONBLOCK) in snd_tea575x_s_hw_freq_seek()
|
| D | radio-si476x.c | 761 if (file->f_flags & O_NONBLOCK) in si476x_radio_s_hw_freq_seek() 1124 if (file->f_flags & O_NONBLOCK) in si476x_radio_fops_read()
|
| D | radio-cadet.c | 341 if (!cadet_has_rds_data(dev) && (file->f_flags & O_NONBLOCK)) in cadet_read()
|
| /linux-4.4.14/drivers/xen/xenbus/ |
| D | xenbus_dev_frontend.c | 134 if (filp->f_flags & O_NONBLOCK) in xenbus_file_read()
|
| /linux-4.4.14/drivers/media/usb/cpia2/ |
| D | cpia2_v4l.c | 157 int noblock = file->f_flags&O_NONBLOCK; in cpia2_v4l_read() 927 if(frame < 0 && file->f_flags&O_NONBLOCK) in cpia2_dqbuf()
|
| /linux-4.4.14/drivers/media/usb/hdpvr/ |
| D | hdpvr-video.c | 445 if (!(file->f_flags & O_NONBLOCK)) { in hdpvr_read() 458 if (file->f_flags & O_NONBLOCK) { in hdpvr_read()
|
| /linux-4.4.14/drivers/usb/gadget/legacy/ |
| D | inode.c | 293 if (f_flags & O_NONBLOCK) { in get_ready_ep() 958 if ((fd->f_flags & O_NONBLOCK) != 0 in ep0_read() 1040 if (fd->f_flags & O_NONBLOCK) { in ep0_read()
|
| /linux-4.4.14/net/tipc/ |
| D | server.c | 296 ret = kernel_accept(sock, &newsock, O_NONBLOCK); in tipc_accept_from_sock()
|
| /linux-4.4.14/arch/ia64/kernel/ |
| D | salinfo.c | 312 if (file->f_flags & O_NONBLOCK) in salinfo_event_read()
|
| /linux-4.4.14/drivers/misc/cxl/ |
| D | file.c | 350 if (file->f_flags & O_NONBLOCK) { in afu_read()
|
| /linux-4.4.14/drivers/xen/ |
| D | evtchn.c | 227 if (file->f_flags & O_NONBLOCK) in evtchn_read()
|
| /linux-4.4.14/drivers/scsi/aic7xxx/aicasm/ |
| D | aicasm_symbol.c | 135 O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH, in symtable_open()
|
| /linux-4.4.14/drivers/s390/block/ |
| D | dasd_eer.c | 619 if (filp->f_flags & O_NONBLOCK) in dasd_eer_read()
|
| /linux-4.4.14/Documentation/cdrom/ |
| D | cdrom-standard.tex | 668 We therefore propose to use the flag $O_NONBLOCK$ to indicate 670 commands. Strictly, the meaning of $O_NONBLOCK$ is that opening and 680 \item If the option flag $O_NONBLOCK$ is set, opening will always be 706 We believe that using $O_NONBLOCK$ to indicate that a device is being opened 709 even send in our own patches to the programs. The use of $O_NONBLOCK$ 725 the device is being opened for data ($O_NONBLOCK$ is not set) and the 730 system corruption. If the drive is opened for audio ($O_NONBLOCK$ is
|
| /linux-4.4.14/drivers/media/platform/s5p-mfc/ |
| D | s5p_mfc_dec.c | 651 return vb2_dqbuf(&ctx->vq_src, buf, file->f_flags & O_NONBLOCK); in vidioc_dqbuf() 653 ret = vb2_dqbuf(&ctx->vq_dst, buf, file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
|
| /linux-4.4.14/net/netrom/ |
| D | af_netrom.c | 723 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in nr_connect() 800 if (flags & O_NONBLOCK) { in nr_accept()
|
| /linux-4.4.14/drivers/net/ |
| D | macvtap.c | 853 return macvtap_get_user(q, NULL, from, file->f_flags & O_NONBLOCK); in macvtap_write_iter() 960 ret = macvtap_do_read(q, to, file->f_flags & O_NONBLOCK); in macvtap_read_iter()
|
| /linux-4.4.14/drivers/macintosh/ |
| D | adb.c | 747 if (file->f_flags & O_NONBLOCK) { in adb_read()
|
| /linux-4.4.14/drivers/virt/ |
| D | fsl_hypervisor.c | 618 if (filp->f_flags & O_NONBLOCK) in fsl_hv_read()
|
| /linux-4.4.14/arch/cris/arch-v10/drivers/ |
| D | sync_serial.c | 1055 if (file->f_flags & O_NONBLOCK) { in sync_serial_write() 1136 if (file->f_flags & O_NONBLOCK) in sync_serial_read()
|
| /linux-4.4.14/net/rose/ |
| D | af_rose.c | 828 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in rose_connect() 907 if (flags & O_NONBLOCK) { in rose_accept()
|
| /linux-4.4.14/drivers/media/usb/stkwebcam/ |
| D | stk-webcam.c | 679 if (fp->f_flags & O_NONBLOCK && list_empty(&dev->sio_full)) in stk_read() 1121 if (filp->f_flags & O_NONBLOCK && list_empty(&dev->sio_full)) in stk_vidioc_dqbuf()
|
| /linux-4.4.14/drivers/infiniband/core/ |
| D | user_mad.c | 347 if (filp->f_flags & O_NONBLOCK) in ib_umad_read() 1031 if (filp->f_flags & O_NONBLOCK) { in ib_umad_sm_open()
|
| /linux-4.4.14/net/vmw_vsock/ |
| D | af_vsock.c | 1190 if (flags & O_NONBLOCK) { in vsock_stream_connect() 1266 timeout = sock_sndtimeo(listener, flags & O_NONBLOCK); in vsock_accept()
|
| /linux-4.4.14/drivers/media/usb/zr364xx/ |
| D | zr364xx.c | 484 file->f_flags & O_NONBLOCK); in zr364xx_read() 969 rc = videobuf_dqbuf(&cam->vb_vidq, p, file->f_flags & O_NONBLOCK); in zr364xx_vidioc_dqbuf()
|
| /linux-4.4.14/drivers/input/ |
| D | evdev.c | 603 (file->f_flags & O_NONBLOCK)) in evdev_read() 625 if (!(file->f_flags & O_NONBLOCK)) { in evdev_read()
|
| /linux-4.4.14/drivers/media/platform/soc_camera/ |
| D | soc_camera.c | 435 return videobuf_dqbuf(&icd->vb_vidq, p, file->f_flags & O_NONBLOCK); in soc_camera_dqbuf() 437 return vb2_dqbuf(&icd->vb2_vidq, p, file->f_flags & O_NONBLOCK); in soc_camera_dqbuf() 825 file->f_flags & O_NONBLOCK); in soc_camera_read()
|
| /linux-4.4.14/drivers/media/rc/ |
| D | lirc_dev.c | 712 if (file->f_flags & O_NONBLOCK) { in lirc_dev_fop_read()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/mdc/ |
| D | mdc_lib.c | 173 if (flags & O_NONBLOCK) in mds_pack_open_flags()
|
| /linux-4.4.14/drivers/media/pci/meye/ |
| D | meye.c | 963 if (file->f_flags & O_NONBLOCK) { in meyeioc_sync() 1335 if (kfifo_len(&meye.doneq) == 0 && file->f_flags & O_NONBLOCK) { in vidioc_dqbuf()
|
| /linux-4.4.14/Documentation/scsi/ |
| D | st.txt | 104 4. If the open option O_NONBLOCK is used, open succeeds even if the 105 drive is not ready. If O_NONBLOCK is not used, the driver waits for 107 seconds, open fails with the errno value EIO. With O_NONBLOCK the
|
| /linux-4.4.14/net/unix/ |
| D | af_unix.c | 1230 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); in unix_stream_connect() 1430 skb = skb_recv_datagram(sk, 0, flags&O_NONBLOCK, &err); in unix_accept() 2524 if (sock->file->f_flags & O_NONBLOCK || in unix_stream_splice_read()
|
| /linux-4.4.14/drivers/media/common/siano/ |
| D | smsdvb-debugfs.c | 403 if (file->f_flags & O_NONBLOCK) { in smsdvb_stats_read()
|
| /linux-4.4.14/Documentation/usb/ |
| D | gadget_printer.txt | 309 fd = open(PRINTER_FILE, O_RDWR|O_NONBLOCK);
|
| /linux-4.4.14/net/phonet/ |
| D | socket.c | 233 long timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in pn_socket_connect()
|
| /linux-4.4.14/drivers/uio/ |
| D | uio.c | 537 if (filep->f_flags & O_NONBLOCK) { in uio_read()
|
| /linux-4.4.14/net/irda/irnet/ |
| D | irnet_ppp.c | 316 if(file->f_flags & O_NONBLOCK) in irnet_ctrl_read()
|
| /linux-4.4.14/drivers/char/ipmi/ |
| D | ipmi_watchdog.c | 834 if (file->f_flags & O_NONBLOCK) { in ipmi_read()
|
| /linux-4.4.14/drivers/net/wireless/rt2x00/ |
| D | rt2x00debug.c | 279 if (file->f_flags & O_NONBLOCK) in rt2x00debug_read_queue_dump()
|
| /linux-4.4.14/drivers/media/usb/tm6000/ |
| D | tm6000-video.c | 1021 file->f_flags & O_NONBLOCK); in vidioc_dqbuf() 1430 file->f_flags & O_NONBLOCK); in tm6000_read()
|
| /linux-4.4.14/net/ax25/ |
| D | af_ax25.c | 1278 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in ax25_connect() 1357 if (flags & O_NONBLOCK) { in ax25_accept()
|
| /linux-4.4.14/drivers/media/usb/cx231xx/ |
| D | cx231xx-417.c | 1627 return videobuf_dqbuf(&fh->vidq, b, file->f_flags & O_NONBLOCK); in vidioc_dqbuf() 1782 file->f_flags & O_NONBLOCK); in mpeg_read()
|
| /linux-4.4.14/drivers/message/fusion/ |
| D | mptctl.c | 627 int nonblock = (file->f_flags & O_NONBLOCK); in __mptctl_ioctl() 2841 int nonblock = (filp->f_flags & O_NONBLOCK); in compat_mptfwxfer_ioctl() 2882 int nonblock = (filp->f_flags & O_NONBLOCK); in compat_mpt_command()
|