Home
last modified time | relevance | path

Searched refs:O_NONBLOCK (Results 1 – 200 of 302) sorted by relevance

12

/linux-4.1.27/include/uapi/asm-generic/
Dfcntl.h37 #ifndef O_NONBLOCK
38 #define O_NONBLOCK 00004000 macro
96 #define O_NDELAY O_NONBLOCK
/linux-4.1.27/arch/sparc/include/uapi/asm/
Dfcntl.h10 #define O_NONBLOCK 0x4000 macro
14 #define O_NDELAY (0x0004 | O_NONBLOCK)
/linux-4.1.27/drivers/char/pcmcia/
Dcm4000_cs.c944 ((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 …]
Dcm4040_cs.c234 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.1.27/include/linux/
Deventfd.h23 #define EFD_NONBLOCK O_NONBLOCK
25 #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK)
Dtimerfd.h27 #define TFD_NONBLOCK O_NONBLOCK
Dnet.h77 #define SOCK_NONBLOCK O_NONBLOCK
/linux-4.1.27/drivers/char/
Dsnsc.c171 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()
Dppdev.c135 (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()
Ddtlk.c148 if (file->f_flags & O_NONBLOCK) in dtlk_read()
213 if (file->f_flags & O_NONBLOCK) in dtlk_write()
Dlp.c303 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()
Dgenrtc.c185 if (file->f_flags & O_NONBLOCK && !gen_rtc_irq_data) in gen_rtc_read()
Dapm-emulation.c218 if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) in apm_read()
Dvirtio_console.c768 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()
Drtc.c370 if (file->f_flags & O_NONBLOCK) { in rtc_read()
Dhpet.c325 else if (file->f_flags & O_NONBLOCK) { in hpet_read()
/linux-4.1.27/arch/mips/include/asm/
Dsocket.h46 #define SOCK_NONBLOCK O_NONBLOCK
/linux-4.1.27/arch/parisc/include/uapi/asm/
Dfcntl.h11 #define O_NONBLOCK 000200004 /* HPUX has separate NDELAY & NONBLOCK */ macro
/linux-4.1.27/arch/alpha/include/uapi/asm/
Dfcntl.h9 #define O_NONBLOCK 00004 macro
/linux-4.1.27/arch/um/os-Linux/
Dfile.c386 flags |= O_ASYNC | O_NONBLOCK; in os_set_fd_async()
413 flags &= ~(O_ASYNC | O_NONBLOCK); in os_clear_fd_async()
428 flags &= ~O_NONBLOCK; in os_set_fd_block()
430 flags |= O_NONBLOCK; in os_set_fd_block()
Dsigio.c419 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.1.27/fs/
Dpipe.c304 if (filp->f_flags & O_NONBLOCK) { in pipe_read()
442 if (filp->f_flags & O_NONBLOCK) { in pipe_write()
701 f->f_flags = O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)); in create_pipe_files()
710 res[0]->f_flags = O_RDONLY | (flags & O_NONBLOCK); in create_pipe_files()
732 if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT)) in __do_pipe_flags()
871 if ((filp->f_flags & O_NONBLOCK)) { in fifo_open()
889 if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) in fifo_open()
Deventfd.c235 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()
Dsignalfd.c209 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()
Danon_inodes.c110 file->f_flags = flags & (O_ACCMODE | O_NONBLOCK); in anon_inode_getfile()
Dfcntl.c30 #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()
Dioctl.c481 flag = O_NONBLOCK; in ioctl_fionbio()
484 if (O_NONBLOCK != O_NDELAY) in ioctl_fionbio()
Dtimerfd.c245 if (file->f_flags & O_NONBLOCK) in timerfd_read()
383 BUILD_BUG_ON(TFD_NONBLOCK != O_NONBLOCK); in SYSCALL_DEFINE2()
/linux-4.1.27/arch/mips/include/uapi/asm/
Dfcntl.h15 #define O_NONBLOCK 0x0080 macro
/linux-4.1.27/include/uapi/linux/
Dsignalfd.h17 #define SFD_NONBLOCK O_NONBLOCK
Dinotify.h71 #define IN_NONBLOCK O_NONBLOCK
/linux-4.1.27/arch/mips/kernel/
Drtlx.c329 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.1.27/fs/proc/
Dkmsg.c36 if ((file->f_flags & O_NONBLOCK) && in kmsg_read()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_lite.h101 params->lrp_ast_flags = (open_flags & O_NONBLOCK) ? in lustre_build_lock_params()
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-audio.c267 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.1.27/drivers/media/platform/vivid/
Dvivid-radio-rx.c89 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()
Dvivid-radio-tx.c76 if (file->f_flags & O_NONBLOCK) in vivid_radio_tx_write()
/linux-4.1.27/tools/perf/tests/
Dbp_signal_overflow.c102 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in test__bp_signal_overflow()
Dbp_signal.c90 fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); in bp_event()
/linux-4.1.27/net/
Dsocket.c384 file->f_flags = O_RDWR | (flags & O_NONBLOCK); in sock_alloc_file()
764 flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; in sock_sendpage()
791 if (file->f_flags & O_NONBLOCK) in sock_read_iter()
816 if (file->f_flags & O_NONBLOCK) in sock_write_iter()
1239 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in SYSCALL_DEFINE3()
1240 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in SYSCALL_DEFINE3()
1246 retval = sock_map_fd(sock, flags & (O_CLOEXEC | O_NONBLOCK)); in SYSCALL_DEFINE3()
1276 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in SYSCALL_DEFINE4()
1277 flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; in SYSCALL_DEFINE4()
1445 if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) in SYSCALL_DEFINE4()
[all …]
/linux-4.1.27/ipc/
Dmqueue.c1032 if (f.file->f_flags & O_NONBLOCK) { in SYSCALL_DEFINE5()
1137 if (f.file->f_flags & O_NONBLOCK) { in SYSCALL_DEFINE5()
1322 if (mqstat.mq_flags & (~O_NONBLOCK)) in SYSCALL_DEFINE3()
1342 omqstat.mq_flags = f.file->f_flags & O_NONBLOCK; in SYSCALL_DEFINE3()
1346 if (mqstat.mq_flags & O_NONBLOCK) in SYSCALL_DEFINE3()
1347 f.file->f_flags |= O_NONBLOCK; in SYSCALL_DEFINE3()
1349 f.file->f_flags &= ~O_NONBLOCK; in SYSCALL_DEFINE3()
/linux-4.1.27/arch/um/drivers/
Drandom.c71 if (filp->f_flags & O_NONBLOCK) in rng_dev_read()
/linux-4.1.27/sound/oss/
Dmidibuf.c279 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_write()
323 if (file->f_flags & O_NONBLOCK) { in MIDIbuf_read()
Daudio.c252 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()
Dsequencer.c100 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()
Dswarm_cs4297a.c1743 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.1.27/tools/virtio/virtio-trace/
Dtrace-agent-rw.c69 if (pipe2(data_pipe, O_NONBLOCK) < 0) { in rw_thread_init()
/linux-4.1.27/Documentation/laptops/
Ddslm.c147 if (!(fd = open(disk, O_RDONLY|O_NONBLOCK))) { in main()
/linux-4.1.27/samples/hidraw/
Dhid-example.c56 fd = open(device, O_RDWR|O_NONBLOCK); in main()
/linux-4.1.27/net/rds/
Dtcp_connect.c109 O_NONBLOCK); in rds_tcp_conn_connect()
Dtcp_listen.c95 ret = sock->ops->accept(sock, new_sock, O_NONBLOCK); in rds_tcp_accept_one()
/linux-4.1.27/tools/testing/selftests/mqueue/
Dmq_perf_tests.c288 int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK; in open_queue()
297 printf("\t\tmq_flags:\t\t\t%s\n", result.mq_flags & O_NONBLOCK ? in open_queue()
707 attr.mq_flags = O_NONBLOCK; in main()
/linux-4.1.27/drivers/media/pci/ttpci/
Dav7110_ca.c154 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()
Dav7110_av.c916 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.1.27/drivers/input/serio/
Dserio_raw.c174 (file->f_flags & O_NONBLOCK)) in serio_raw_read()
189 if (!(file->f_flags & O_NONBLOCK)) { in serio_raw_read()
/linux-4.1.27/drivers/char/hw_random/
Dcore.c245 !(filp->f_flags & O_NONBLOCK)); in rng_dev_read()
254 if (filp->f_flags & O_NONBLOCK) { in rng_dev_read()
/linux-4.1.27/Documentation/filesystems/
Ddlmfs.txt106 O_NONBLOCK Trylock operation
110 If O_NONBLOCK is also provided and the trylock operation was valid but
Dmandatory-locking.txt107 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
Dspufs.txt93 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.1.27/net/atm/
Dsvc.c207 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.1.27/drivers/iio/
Dindustrialio-event.c115 if (filep->f_flags & O_NONBLOCK) in iio_event_chrdev_read()
141 if (copied == 0 && (filep->f_flags & O_NONBLOCK)) in iio_event_chrdev_read()
Dindustrialio-buffer.c124 if (!(filp->f_flags & O_NONBLOCK)) in iio_buffer_read_first_n_outer()
137 if (ret == 0 && (filp->f_flags & O_NONBLOCK)) in iio_buffer_read_first_n_outer()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-tcpip.c546 rc = sock->ops->accept(sock, newsock, O_NONBLOCK); in libcfs_sock_accept()
554 rc = sock->ops->accept(sock, newsock, O_NONBLOCK); in libcfs_sock_accept()
/linux-4.1.27/drivers/media/radio/si470x/
Dradio-si470x-common.c471 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.1.27/Documentation/input/
Djoystick-api.txt133 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.1.27/fs/notify/fanotify/
Dfanotify_user.c37 O_ACCMODE | O_APPEND | O_NONBLOCK | \
282 if (file->f_flags & O_NONBLOCK) in fanotify_read()
728 f_flags |= O_NONBLOCK; in SYSCALL_DEFINE2()
/linux-4.1.27/drivers/usb/
Dusb-skeleton.c257 if (file->f_flags & O_NONBLOCK) { in skel_read()
380 if (!(file->f_flags & O_NONBLOCK)) { in skel_write()
/linux-4.1.27/Documentation/hid/
Dhidraw.txt45 the O_NONBLOCK flag to open(), or by setting the O_NONBLOCK flag using
Duhid.txt25 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.1.27/drivers/char/xillybus/
Dxillybus_core.c813 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.1.27/drivers/media/dvb-core/
Ddmxdev.c250 file->f_flags & O_NONBLOCK, in dvb_dvr_read()
908 file->f_flags & O_NONBLOCK, in dvb_dmxdev_read_sec()
929 file->f_flags & O_NONBLOCK, in dvb_dmxdev_read_sec()
951 file->f_flags & O_NONBLOCK, in dvb_demux_read()
/linux-4.1.27/tools/iio/
Dgeneric_buffer.c297 fp = open(buffer_access, O_RDONLY | O_NONBLOCK); in main()
/linux-4.1.27/drivers/s390/char/
Dhmcdrv_dev.c119 if (fp->f_flags & O_NONBLOCK) in hmcdrv_dev_open()
Dmonreader.c378 if (filp->f_flags & O_NONBLOCK) in mon_read()
Dvmlogrdr.c323 if (filp->f_flags & O_NONBLOCK) in vmlogrdr_open()
Dvmur.c717 if (file->f_flags & O_NONBLOCK) { in ur_open()
/linux-4.1.27/net/9p/
Dtrans_fd.c282 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.1.27/drivers/isdn/divert/
Ddivert_procfs.c90 if (file->f_flags & O_NONBLOCK) in isdn_divert_read()
/linux-4.1.27/fs/notify/inotify/
Dinotify_user.c257 if (file->f_flags & O_NONBLOCK) in inotify_read()
676 BUILD_BUG_ON(IN_NONBLOCK != O_NONBLOCK); in SYSCALL_DEFINE1()
/linux-4.1.27/drivers/tty/
Dn_hdlc.c633 if (file->f_flags & O_NONBLOCK) { in n_hdlc_tty_read()
700 if (file->f_flags & O_NONBLOCK) { in n_hdlc_tty_write()
Dtty_port.c382 if (filp->f_flags & O_NONBLOCK) { in tty_port_block_til_ready()
Dtty_io.c1961 filp->f_flags |= O_NONBLOCK; /* Don't let /dev/tty block */ in tty_open_current_tty()
2008 filp->f_flags |= O_NONBLOCK; in tty_lookup_driver()
2436 file->f_flags |= O_NONBLOCK; in fionbio()
2438 file->f_flags &= ~O_NONBLOCK; in fionbio()
Dn_tty.c2197 if (file->f_flags & O_NONBLOCK) { in n_tty_read()
2264 if (file->f_flags & O_NONBLOCK) { in n_tty_read()
2424 if (file->f_flags & O_NONBLOCK) { in n_tty_write()
/linux-4.1.27/net/caif/
Dcaif_socket.c780 if (flags & O_NONBLOCK) in caif_connect()
862 if (sk->sk_state != CAIF_CONNECTED && (flags & O_NONBLOCK)) in caif_connect()
865 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); in caif_connect()
/linux-4.1.27/sound/core/oss/
Dpcm_oss.c1401 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.1.27/sound/core/
Drawmidi.c373 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()
Dhwdep.c123 if (file->f_flags & O_NONBLOCK) { in snd_hwdep_open()
Dpcm_lib.c2138 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_write()
2201 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_writev()
2350 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_read()
2409 nonblock = !!(substream->f_flags & O_NONBLOCK); in snd_pcm_lib_readv()
/linux-4.1.27/drivers/isdn/mISDN/
Dtimerdev.c117 if (filep->f_flags & O_NONBLOCK) in mISDN_read()
/linux-4.1.27/drivers/isdn/hysdn/
Dhysdn_proclog.c180 if (file->f_flags & O_NONBLOCK) in hysdn_log_read()
/linux-4.1.27/drivers/media/pci/ivtv/
Divtv-fileops.c518 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.1.27/drivers/usb/misc/
Dlegousbtower.c583 if (file->f_flags & O_NONBLOCK) { in tower_read()
664 if (file->f_flags & O_NONBLOCK) { in tower_write()
Dldusb.c484 if (file->f_flags & O_NONBLOCK) { in ld_usb_read()
561 if (file->f_flags & O_NONBLOCK) { in ld_usb_write()
Diowarrior.c297 if (file->f_flags & O_NONBLOCK) in iowarrior_read()
389 if (file->f_flags & O_NONBLOCK) { in iowarrior_write()
/linux-4.1.27/arch/powerpc/kernel/
Drtasd.c354 if (file->f_flags & O_NONBLOCK) { in rtas_log_read()
/linux-4.1.27/drivers/staging/speakup/
Dspeakup_soft.c222 if (fp->f_flags & O_NONBLOCK) { in softsynth_read()
/linux-4.1.27/drivers/bluetooth/
Dhci_vhci.c288 if (file->f_flags & O_NONBLOCK) { in vhci_read()
/linux-4.1.27/net/batman-adv/
Dicmp_socket.c114 if ((file->f_flags & O_NONBLOCK) && (socket_client->queue_len == 0)) in batadv_socket_read()
Ddebugfs.c130 if ((file->f_flags & O_NONBLOCK) && batadv_log_empty(debug_log)) in batadv_log_read()
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-fileops.c605 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.1.27/drivers/media/pci/saa7164/
Dsaa7164-vbi.c1129 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read()
1181 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read()
1226 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_poll()
Dsaa7164-encoder.c1183 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read()
1235 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_read()
1279 if ((file->f_flags & O_NONBLOCK) == 0) { in fops_poll()
/linux-4.1.27/drivers/usb/class/
Dusblp.c724 if ((rv = usblp_wwait(usblp, !!(file->f_flags & O_NONBLOCK))) < 0) in usblp_write()
763 rv = usblp_wwait(usblp, !!(file->f_flags&O_NONBLOCK)); in usblp_write()
820 rv = usblp_rwait_and_lock(usblp, !!(file->f_flags & O_NONBLOCK)); in usblp_read()
Dcdc-wdm.c375 if (!(file->f_flags & O_NONBLOCK)) in wdm_write()
496 if (file->f_flags & O_NONBLOCK) { in wdm_read()
/linux-4.1.27/drivers/hid/
Dhid-roccat.c94 if (file->f_flags & O_NONBLOCK) { in roccat_read()
Dhidraw.c68 if (file->f_flags & O_NONBLOCK) { in hidraw_read()
Dhid-sensor-custom.c662 if (file->f_flags & O_NONBLOCK) in hid_sensor_custom_read()
Duhid.c650 if (file->f_flags & O_NONBLOCK) { in uhid_char_read()
Dhid-debug.c1120 if (file->f_flags & O_NONBLOCK) { in hid_debug_events_read()
/linux-4.1.27/sound/core/seq/oss/
Dseq_oss_init.c303 if (file->f_flags & O_NONBLOCK) in translate_mode()
/linux-4.1.27/Documentation/ABI/testing/
Ddev-kmsg33 records are available read() will block, or if O_NONBLOCK is
/linux-4.1.27/fs/coda/
Dpsdev.c220 if (file->f_flags & O_NONBLOCK) { in coda_psdev_read()
/linux-4.1.27/drivers/media/platform/
Dtimblogiw.c324 return videobuf_dqbuf(&fh->vb_vidq, b, file->f_flags & O_NONBLOCK); in timblogiw_dqbuf()
721 file->f_flags & O_NONBLOCK); in timblogiw_read()
Dvia-camera.c758 filp->f_flags & O_NONBLOCK); in viacam_read()
1024 return videobuf_dqbuf(&cam->vb_queue, buf, filp->f_flags & O_NONBLOCK); in viacam_dqbuf()
Dfsl-viu.c917 file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
1355 ppos, 0, file->f_flags & O_NONBLOCK); in viu_read()
/linux-4.1.27/drivers/input/misc/
Duinput.c539 (file->f_flags & O_NONBLOCK)) in uinput_read()
549 if (!(file->f_flags & O_NONBLOCK)) in uinput_read()
/linux-4.1.27/drivers/media/common/saa7146/
Dsaa7146_video.c931 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()
Dsaa7146_vbi.c479 file->f_flags & O_NONBLOCK); in vbi_read()
/linux-4.1.27/drivers/usb/gadget/function/
Duvc_v4l2.c190 return uvcg_dequeue_buffer(&video->queue, b, file->f_flags & O_NONBLOCK); in uvc_v4l2_dqbuf()
Df_hid.c214 if (file->f_flags & O_NONBLOCK) in f_hidg_read()
284 if (file->f_flags & O_NONBLOCK) in f_hidg_write()
Df_fs.c268 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()
Df_printer.c476 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.1.27/drivers/misc/mei/
Damthif.c160 if (cb == NULL && file->f_flags & O_NONBLOCK) in mei_amthif_read()
Dmain.c196 if (file->f_flags & O_NONBLOCK) { in mei_read()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
Dfile.c796 if (file->f_flags & O_NONBLOCK) { in spufs_ibox_read()
953 if (file->f_flags & O_NONBLOCK) { in spufs_wbox_write()
1635 if (file->f_flags & O_NONBLOCK) { in spufs_mfc_read()
1772 if (file->f_flags & O_NONBLOCK) { in spufs_mfc_write()
2522 } else if (file->f_flags & O_NONBLOCK) { in spufs_switch_log_read()
/linux-4.1.27/net/nfc/
Dllcp_sock.c459 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in llcp_sock_accept()
732 sock_sndtimeo(sk, flags & O_NONBLOCK)); in llcp_sock_connect()
/linux-4.1.27/net/bluetooth/rfcomm/
Dsock.c413 sock_sndtimeo(sk, flags & O_NONBLOCK)); in rfcomm_sock_connect()
483 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in rfcomm_sock_accept()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_fops.c497 if (filp->f_flags & O_NONBLOCK) { in drm_read()
/linux-4.1.27/drivers/platform/goldfish/
Dgoldfish_pipe.c361 (filp->f_flags & O_NONBLOCK) != 0) { in goldfish_pipe_read_write()
/linux-4.1.27/Documentation/infiniband/
Duser_mad.txt126 immediately with errno set to EAGAIN if the O_NONBLOCK flag is
/linux-4.1.27/drivers/rtc/
Drtc-dev.c176 if (file->f_flags & O_NONBLOCK) { in rtc_dev_read()
/linux-4.1.27/net/ipv4/
Dinet_connection_sock.c313 long timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in inet_csk_accept()
854 sk->sk_prot->disconnect(child, O_NONBLOCK); in inet_csk_listen_stop()
Daf_inet.c609 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); in __inet_stream_connect()
817 err = sk->sk_prot->disconnect(sk, O_NONBLOCK); in inet_shutdown()
/linux-4.1.27/sound/oss/dmasound/
Ddmasound_core.c719 if (file->f_flags & O_NONBLOCK) in sq_open2()
748 sq->non_blocking = file->f_flags & O_NONBLOCK; in sq_open2()
/linux-4.1.27/drivers/staging/media/dt3155v4l/
Ddt3155v4l.c451 res = vb2_read(pd->q, user, size, loff, filp->f_flags & O_NONBLOCK); in dt3155_read()
597 return vb2_dqbuf(pd->q, b, filp->f_flags & O_NONBLOCK); in dt3155_ioc_dqbuf()
/linux-4.1.27/drivers/scsi/
Dsg.c305 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.1.27/drivers/xen/
Devtchn.c193 if (file->f_flags & O_NONBLOCK) in evtchn_read()
/linux-4.1.27/drivers/staging/media/lirc/
Dlirc_parallel.c347 if (filep->f_flags & O_NONBLOCK) { in lirc_read()
Dlirc_sir.c224 if (file->f_flags & O_NONBLOCK) { in lirc_read()
/linux-4.1.27/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c411 if (file->f_flags & O_NONBLOCK) in fm_v4l2_vidioc_s_hw_freq_seek()
/linux-4.1.27/net/bluetooth/
Dsco.c575 sock_sndtimeo(sk, flags & O_NONBLOCK)); in sco_sock_connect()
631 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in sco_sock_accept()
Daf_bluetooth.c543 timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); in bt_sock_wait_ready()
Dl2cap_sock.c244 sock_sndtimeo(sk, flags & O_NONBLOCK)); in l2cap_sock_connect()
312 timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in l2cap_sock_accept()
/linux-4.1.27/arch/cris/arch-v32/drivers/
Dsync_serial.c630 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.1.27/fs/ocfs2/dlmfs/
Ddlmfs.c126 if (open_flags & O_NONBLOCK) in dlmfs_decode_open_flags()
/linux-4.1.27/drivers/misc/cxl/
Dfile.c300 if (file->f_flags & O_NONBLOCK) { in afu_read()
/linux-4.1.27/drivers/media/radio/
Dradio-mr800.c366 if (file->f_flags & O_NONBLOCK) in vidioc_s_hw_freq_seek()
Dradio-tea5777.c399 if (file->f_flags & O_NONBLOCK) in vidioc_s_hw_freq_seek()
Dtea575x.c385 if (file->f_flags & O_NONBLOCK) in snd_tea575x_s_hw_freq_seek()
Dradio-si476x.c761 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()
Dradio-cadet.c341 if (!cadet_has_rds_data(dev) && (file->f_flags & O_NONBLOCK)) in cadet_read()
Dradio-wl1273.c1220 if (file->f_flags & O_NONBLOCK) { in wl1273_fm_fops_read()
1705 if (file->f_flags & O_NONBLOCK) in wl1273_fm_vidioc_s_hw_freq_seek()
/linux-4.1.27/drivers/xen/xenbus/
Dxenbus_dev_frontend.c134 if (filp->f_flags & O_NONBLOCK) in xenbus_file_read()
/linux-4.1.27/drivers/media/usb/cpia2/
Dcpia2_v4l.c157 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.1.27/drivers/input/
Devdev.c546 (file->f_flags & O_NONBLOCK)) in evdev_read()
568 if (!(file->f_flags & O_NONBLOCK)) { in evdev_read()
/linux-4.1.27/drivers/media/usb/hdpvr/
Dhdpvr-video.c445 if (!(file->f_flags & O_NONBLOCK)) { in hdpvr_read()
458 if (file->f_flags & O_NONBLOCK) { in hdpvr_read()
/linux-4.1.27/drivers/net/
Dmacvtap.c794 return macvtap_get_user(q, NULL, from, file->f_flags & O_NONBLOCK); in macvtap_write_iter()
900 ret = macvtap_do_read(q, to, file->f_flags & O_NONBLOCK); in macvtap_read_iter()
/linux-4.1.27/drivers/usb/gadget/legacy/
Dinode.c293 if (f_flags & O_NONBLOCK) { in get_ready_ep()
955 if ((fd->f_flags & O_NONBLOCK) != 0 in ep0_read()
1037 if (fd->f_flags & O_NONBLOCK) { in ep0_read()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-subdev.c218 return v4l2_event_dequeue(vfh, arg, file->f_flags & O_NONBLOCK); in subdev_do_ioctl()
Dv4l2-mem2mem.c425 return vb2_dqbuf(vq, buf, file->f_flags & O_NONBLOCK); in v4l2_m2m_dqbuf()
Dvideobuf2-core.c3378 return vb2_dqbuf(vdev->queue, p, file->f_flags & O_NONBLOCK); in vb2_ioctl_dqbuf()
3461 file->f_flags & O_NONBLOCK); in vb2_fop_write()
3485 file->f_flags & O_NONBLOCK); in vb2_fop_read()
/linux-4.1.27/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c135 O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH, in symtable_open()
/linux-4.1.27/arch/ia64/kernel/
Dsalinfo.c312 if (file->f_flags & O_NONBLOCK) in salinfo_event_read()
/linux-4.1.27/drivers/s390/block/
Ddasd_eer.c619 if (filp->f_flags & O_NONBLOCK) in dasd_eer_read()
/linux-4.1.27/net/tipc/
Dserver.c296 ret = kernel_accept(sock, &newsock, O_NONBLOCK); in tipc_accept_from_sock()
/linux-4.1.27/Documentation/cdrom/
Dcdrom-standard.tex668 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.1.27/net/netrom/
Daf_netrom.c723 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in nr_connect()
800 if (flags & O_NONBLOCK) { in nr_accept()
/linux-4.1.27/drivers/media/platform/s5p-mfc/
Ds5p_mfc_dec.c649 ret = vb2_dqbuf(&ctx->vq_src, buf, file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
651 ret = vb2_dqbuf(&ctx->vq_dst, buf, file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
/linux-4.1.27/drivers/virt/
Dfsl_hypervisor.c618 if (filp->f_flags & O_NONBLOCK) in fsl_hv_read()
/linux-4.1.27/drivers/macintosh/
Dadb.c747 if (file->f_flags & O_NONBLOCK) { in adb_read()
/linux-4.1.27/drivers/media/usb/stkwebcam/
Dstk-webcam.c679 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.1.27/drivers/infiniband/core/
Duser_mad.c345 if (filp->f_flags & O_NONBLOCK) in ib_umad_read()
1026 if (filp->f_flags & O_NONBLOCK) { in ib_umad_sm_open()
/linux-4.1.27/arch/cris/arch-v10/drivers/
Dsync_serial.c1055 if (file->f_flags & O_NONBLOCK) { in sync_serial_write()
1136 if (file->f_flags & O_NONBLOCK) in sync_serial_read()
/linux-4.1.27/net/rose/
Daf_rose.c827 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in rose_connect()
906 if (flags & O_NONBLOCK) { in rose_accept()
/linux-4.1.27/net/vmw_vsock/
Daf_vsock.c1190 if (flags & O_NONBLOCK) { in vsock_stream_connect()
1266 timeout = sock_sndtimeo(listener, flags & O_NONBLOCK); in vsock_accept()
/linux-4.1.27/drivers/media/usb/zr364xx/
Dzr364xx.c485 file->f_flags & O_NONBLOCK); in zr364xx_read()
970 rc = videobuf_dqbuf(&cam->vb_vidq, p, file->f_flags & O_NONBLOCK); in zr364xx_vidioc_dqbuf()
/linux-4.1.27/drivers/media/platform/soc_camera/
Dsoc_camera.c433 return videobuf_dqbuf(&icd->vb_vidq, p, file->f_flags & O_NONBLOCK); in soc_camera_dqbuf()
435 return vb2_dqbuf(&icd->vb2_vidq, p, file->f_flags & O_NONBLOCK); in soc_camera_dqbuf()
811 file->f_flags & O_NONBLOCK); in soc_camera_read()
/linux-4.1.27/Documentation/scsi/
Dst.txt104 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.1.27/drivers/media/rc/
Dlirc_dev.c712 if (file->f_flags & O_NONBLOCK) { in lirc_dev_fop_read()
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/
Dmdc_lib.c202 if (flags & O_NONBLOCK) in mds_pack_open_flags()
/linux-4.1.27/drivers/media/pci/meye/
Dmeye.c963 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.1.27/fs/dlm/
Dlowcomms.c938 result = con->sock->ops->accept(con->sock, newsock, O_NONBLOCK); in tcp_accept_from_sock()
1213 O_NONBLOCK); in tcp_connect_to_sock()
Duser.c814 if (file->f_flags & O_NONBLOCK) { in device_read()
/linux-4.1.27/net/irda/irnet/
Dirnet_ppp.c316 if(file->f_flags & O_NONBLOCK) in irnet_ctrl_read()
/linux-4.1.27/drivers/char/ipmi/
Dipmi_watchdog.c828 if (file->f_flags & O_NONBLOCK) { in ipmi_read()
/linux-4.1.27/Documentation/usb/
Dgadget_printer.txt309 fd = open(PRINTER_FILE, O_RDWR|O_NONBLOCK);
/linux-4.1.27/drivers/uio/
Duio.c536 if (filep->f_flags & O_NONBLOCK) { in uio_read()
/linux-4.1.27/net/phonet/
Dsocket.c233 long timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); in pn_socket_connect()
/linux-4.1.27/drivers/media/common/siano/
Dsmsdvb-debugfs.c403 if (file->f_flags & O_NONBLOCK) { in smsdvb_stats_read()
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00debug.c279 if (file->f_flags & O_NONBLOCK) in rt2x00debug_read_queue_dump()
/linux-4.1.27/drivers/media/usb/cx231xx/
Dcx231xx-417.c1628 return videobuf_dqbuf(&fh->vidq, b, file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
1783 file->f_flags & O_NONBLOCK); in mpeg_read()
/linux-4.1.27/drivers/media/platform/marvell-ccic/
Dmcam-core.c1382 ret = vb2_dqbuf(&cam->vb_queue, buf, filp->f_flags & O_NONBLOCK); in mcam_vidioc_dqbuf()
1745 filp->f_flags & O_NONBLOCK); in mcam_v4l_read()
/linux-4.1.27/drivers/media/usb/tm6000/
Dtm6000-video.c1022 file->f_flags & O_NONBLOCK); in vidioc_dqbuf()
1431 file->f_flags & O_NONBLOCK); in tm6000_read()
/linux-4.1.27/net/ax25/
Daf_ax25.c1279 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in ax25_connect()
1358 if (flags & O_NONBLOCK) { in ax25_accept()
/linux-4.1.27/drivers/message/fusion/
Dmptctl.c627 int nonblock = (file->f_flags & O_NONBLOCK); in __mptctl_ioctl()
2828 int nonblock = (filp->f_flags & O_NONBLOCK); in compat_mptfwxfer_ioctl()
2869 int nonblock = (filp->f_flags & O_NONBLOCK); in compat_mpt_command()
/linux-4.1.27/drivers/usb/mon/
Dmon_text.c455 if (file->f_flags & O_NONBLOCK) { in mon_text_read_wait()
/linux-4.1.27/net/irda/
Daf_irda.c880 if (flags & O_NONBLOCK) in irda_accept()
1045 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) in irda_connect()
/linux-4.1.27/drivers/media/pci/ddbridge/
Dddbridge-core.c908 if (file->f_flags & O_NONBLOCK) in ts_write()
935 if (file->f_flags & O_NONBLOCK) in ts_read()
/linux-4.1.27/drivers/hid/usbhid/
Dhiddev.c372 if (file->f_flags & O_NONBLOCK) { in hiddev_read()
/linux-4.1.27/fs/9p/
Dvfs_inode_dotl.c187 { O_NONBLOCK, P9_DOTL_NONBLOCK }, in v9fs_mapped_dotl_flags()

12