O_NONBLOCK 1554 arch/ia64/kernel/perfmon.c if(filp->f_flags & O_NONBLOCK) break; O_NONBLOCK 292 arch/ia64/kernel/salinfo.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 46 arch/mips/include/asm/socket.h #define SOCK_NONBLOCK O_NONBLOCK O_NONBLOCK 331 arch/mips/kernel/rtlx.c return rtlx_open(iminor(inode), (filp->f_flags & O_NONBLOCK) ? 0 : 1); O_NONBLOCK 367 arch/mips/kernel/rtlx.c if (!rtlx_read_poll(minor, (file->f_flags & O_NONBLOCK) ? 0 : 1)) O_NONBLOCK 382 arch/mips/kernel/rtlx.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 345 arch/powerpc/kernel/rtasd.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 718 arch/powerpc/platforms/cell/spufs/file.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 861 arch/powerpc/platforms/cell/spufs/file.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1522 arch/powerpc/platforms/cell/spufs/file.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1659 arch/powerpc/platforms/cell/spufs/file.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 2400 arch/powerpc/platforms/cell/spufs/file.c } else if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 183 arch/powerpc/platforms/powernv/opal-prd.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 15 arch/sparc/include/uapi/asm/fcntl.h #define O_NDELAY (0x0004 | O_NONBLOCK) O_NONBLOCK 72 arch/um/drivers/random.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 409 arch/um/os-Linux/file.c flags |= O_ASYNC | O_NONBLOCK; O_NONBLOCK 436 arch/um/os-Linux/file.c flags &= ~(O_ASYNC | O_NONBLOCK); O_NONBLOCK 451 arch/um/os-Linux/file.c flags &= ~O_NONBLOCK; O_NONBLOCK 453 arch/um/os-Linux/file.c flags |= O_NONBLOCK; O_NONBLOCK 419 arch/um/os-Linux/sigio.c if ((fcntl(master, F_SETFL, flags | O_NONBLOCK | O_ASYNC) < 0) || O_NONBLOCK 423 arch/um/os-Linux/sigio.c if ((fcntl(slave, F_SETFL, flags | O_NONBLOCK) < 0)) O_NONBLOCK 1473 arch/x86/kernel/apm_32.c if ((queue_empty(as)) && (fp->f_flags & O_NONBLOCK)) O_NONBLOCK 621 drivers/acpi/acpi_dbg.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 691 drivers/acpi/acpi_dbg.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 4865 drivers/android/binder.c filp->f_flags & O_NONBLOCK); O_NONBLOCK 1083 drivers/auxdisplay/panel.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 265 drivers/bluetooth/hci_vhci.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 212 drivers/char/apm-emulation.c if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) O_NONBLOCK 149 drivers/char/dtlk.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 214 drivers/char/dtlk.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 322 drivers/char/hpet.c else if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 227 drivers/char/hw_random/core.c !(filp->f_flags & O_NONBLOCK)); O_NONBLOCK 236 drivers/char/hw_random/core.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 88 drivers/char/ipmi/ipmb_dev_int.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 792 drivers/char/ipmi/ipmi_watchdog.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 281 drivers/char/ipmi/kcs_bmc.c if (!(filp->f_flags & O_NONBLOCK)) O_NONBLOCK 308 drivers/char/lp.c int nonblock = ((file->f_flags & O_NONBLOCK) || O_NONBLOCK 425 drivers/char/lp.c int nonblock = ((file->f_flags & O_NONBLOCK) || O_NONBLOCK 519 drivers/char/lp.c if ((LP_F(minor) & LP_ABORTOPEN) && !(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 944 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) O_NONBLOCK 946 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 957 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { O_NONBLOCK 958 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 966 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) O_NONBLOCK 968 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 1096 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) O_NONBLOCK 1098 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 1111 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) O_NONBLOCK 1113 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 1486 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) O_NONBLOCK 1489 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 1536 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) O_NONBLOCK 1539 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 1554 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) O_NONBLOCK 1557 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 1585 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) O_NONBLOCK 1588 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 1597 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) O_NONBLOCK 1600 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 1672 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 234 drivers/char/pcmcia/cm4040_cs.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 338 drivers/char/pcmcia/cm4040_cs.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 460 drivers/char/pcmcia/cm4040_cs.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 142 drivers/char/ppdev.c (file->f_flags & O_NONBLOCK) ? O_NONBLOCK 170 drivers/char/ppdev.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 218 drivers/char/ppdev.c (file->f_flags & O_NONBLOCK) ? O_NONBLOCK 251 drivers/char/ppdev.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 2020 drivers/char/random.c return _random_read(file->f_flags & O_NONBLOCK, buf, nbytes); O_NONBLOCK 353 drivers/char/rtc.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 905 drivers/char/sonypi.c (file->f_flags & O_NONBLOCK)) O_NONBLOCK 211 drivers/char/tpm/tpm-dev-common.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 757 drivers/char/virtio_console.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 819 drivers/char/virtio_console.c nonblock = filp->f_flags & O_NONBLOCK; O_NONBLOCK 942 drivers/char/virtio_console.c ret = wait_port_writable(port, filp->f_flags & O_NONBLOCK); O_NONBLOCK 812 drivers/char/xillybus/xillybus_core.c if (!no_time_left && (filp->f_flags & O_NONBLOCK)) { O_NONBLOCK 914 drivers/char/xillybus/xillybus_core.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 1367 drivers/char/xillybus/xillybus_core.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 1454 drivers/char/xillybus/xillybus_core.c if ((filp->f_mode & FMODE_READ) && (filp->f_flags & O_NONBLOCK) && O_NONBLOCK 1462 drivers/char/xillybus/xillybus_core.c if ((filp->f_mode & FMODE_WRITE) && (filp->f_flags & O_NONBLOCK) && O_NONBLOCK 449 drivers/dma-buf/dma-buf.c file->f_flags = flags & (O_ACCMODE | O_NONBLOCK); O_NONBLOCK 102 drivers/gnss/core.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 740 drivers/gpio/gpiolib.c if (filep->f_flags & O_NONBLOCK) O_NONBLOCK 763 drivers/gpio/gpiolib.c if (copied == 0 && (filep->f_flags & O_NONBLOCK)) O_NONBLOCK 295 drivers/gpu/drm/drm_debugfs_crc.c if (filep->f_flags & O_NONBLOCK) { O_NONBLOCK 512 drivers/gpu/drm/drm_file.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 513 drivers/gpu/drm/drm_lease.c if (cl->flags && (cl->flags & ~(O_CLOEXEC | O_NONBLOCK))) { O_NONBLOCK 538 drivers/gpu/drm/drm_lease.c fd = get_unused_fd_flags(cl->flags & (O_CLOEXEC | O_NONBLOCK)); O_NONBLOCK 2392 drivers/gpu/drm/i915/i915_perf.c if (!(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 2787 drivers/gpu/drm/i915/i915_perf.c f_flags |= O_NONBLOCK; O_NONBLOCK 1104 drivers/hid/hid-debug.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 91 drivers/hid/hid-roccat.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 650 drivers/hid/hid-sensor-custom.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 61 drivers/hid/hidraw.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 665 drivers/hid/uhid.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 350 drivers/hid/usbhid/hiddev.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1156 drivers/hsi/clients/cmt_speech.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 127 drivers/iio/industrialio-buffer.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 151 drivers/iio/industrialio-buffer.c if (ret == 0 && (filp->f_flags & O_NONBLOCK)) O_NONBLOCK 131 drivers/iio/industrialio-event.c if (filep->f_flags & O_NONBLOCK) O_NONBLOCK 157 drivers/iio/industrialio-event.c if (copied == 0 && (filep->f_flags & O_NONBLOCK)) O_NONBLOCK 417 drivers/infiniband/core/ucma.c if (file->filp->f_flags & O_NONBLOCK) O_NONBLOCK 385 drivers/infiniband/core/user_mad.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 1074 drivers/infiniband/core/user_mad.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 235 drivers/infiniband/core/uverbs_main.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 2459 drivers/infiniband/hw/mlx5/devx.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 2572 drivers/infiniband/hw/mlx5/devx.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 938 drivers/infiniband/sw/siw/siw_cm.c rv = kernel_accept(s, &new_s, O_NONBLOCK); O_NONBLOCK 574 drivers/input/evdev.c (file->f_flags & O_NONBLOCK)) O_NONBLOCK 596 drivers/input/evdev.c if (!(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 402 drivers/input/joydev.c if (!joydev_data_pending(client) && (file->f_flags & O_NONBLOCK)) O_NONBLOCK 674 drivers/input/misc/uinput.c (file->f_flags & O_NONBLOCK)) O_NONBLOCK 684 drivers/input/misc/uinput.c if (!(file->f_flags & O_NONBLOCK)) O_NONBLOCK 725 drivers/input/mousedev.c (file->f_flags & O_NONBLOCK)) O_NONBLOCK 171 drivers/input/serio/serio_raw.c (file->f_flags & O_NONBLOCK)) O_NONBLOCK 186 drivers/input/serio/serio_raw.c if (!(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 156 drivers/input/serio/userio.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 659 drivers/isdn/capi/capi.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 110 drivers/isdn/mISDN/timerdev.c if (filep->f_flags & O_NONBLOCK) O_NONBLOCK 147 drivers/leds/uleds.c } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) { O_NONBLOCK 161 drivers/leds/uleds.c if (!(file->f_flags & O_NONBLOCK)) O_NONBLOCK 742 drivers/macintosh/adb.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1186 drivers/macintosh/smu.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 2216 drivers/macintosh/via-pmu.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 192 drivers/mailbox/mailbox-test.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 487 drivers/media/cec/cec-api.c bool block = !(filp->f_flags & O_NONBLOCK); O_NONBLOCK 479 drivers/media/common/saa7146/saa7146_vbi.c file->f_flags & O_NONBLOCK); O_NONBLOCK 912 drivers/media/common/saa7146/saa7146_video.c return videobuf_dqbuf(&fh->video_q, buf, file->f_flags & O_NONBLOCK); O_NONBLOCK 914 drivers/media/common/saa7146/saa7146_video.c return videobuf_dqbuf(&fh->vbi_q, buf, file->f_flags & O_NONBLOCK); O_NONBLOCK 1266 drivers/media/common/saa7146/saa7146_video.c file->f_flags & O_NONBLOCK); O_NONBLOCK 385 drivers/media/common/siano/smsdvb-debugfs.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 990 drivers/media/common/videobuf2/videobuf2-v4l2.c return vb2_dqbuf(vdev->queue, p, file->f_flags & O_NONBLOCK); O_NONBLOCK 1073 drivers/media/common/videobuf2/videobuf2-v4l2.c file->f_flags & O_NONBLOCK); O_NONBLOCK 1097 drivers/media/common/videobuf2/videobuf2-v4l2.c file->f_flags & O_NONBLOCK); O_NONBLOCK 184 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK); O_NONBLOCK 285 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK, O_NONBLOCK 824 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK); O_NONBLOCK 984 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK, O_NONBLOCK 1005 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK, O_NONBLOCK 1027 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK, O_NONBLOCK 1621 drivers/media/dvb-core/dvb_ca_en50221.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 297 drivers/media/dvb-core/dvb_frontend.c if (flags & O_NONBLOCK) O_NONBLOCK 2672 drivers/media/pci/bt8xx/bttv-driver.c file->f_flags & O_NONBLOCK); O_NONBLOCK 2887 drivers/media/pci/bt8xx/bttv-driver.c file->f_flags & O_NONBLOCK); O_NONBLOCK 2894 drivers/media/pci/bt8xx/bttv-driver.c file->f_flags & O_NONBLOCK); O_NONBLOCK 3265 drivers/media/pci/bt8xx/bttv-driver.c cmd.nonblocking = file->f_flags & O_NONBLOCK; O_NONBLOCK 590 drivers/media/pci/cx18/cx18-fileops.c filp->f_flags & O_NONBLOCK); O_NONBLOCK 593 drivers/media/pci/cx18/cx18-fileops.c return cx18_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); O_NONBLOCK 906 drivers/media/pci/cx18/cx18-ioctl.c return videobuf_dqbuf(cx18_vb_queue(id), b, file->f_flags & O_NONBLOCK); O_NONBLOCK 728 drivers/media/pci/ddbridge/ddbridge-core.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 758 drivers/media/pci/ddbridge/ddbridge-core.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 506 drivers/media/pci/ivtv/ivtv-fileops.c rc = ivtv_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); O_NONBLOCK 619 drivers/media/pci/ivtv/ivtv-fileops.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 702 drivers/media/pci/ivtv/ivtv-fileops.c if (count && !(filp->f_flags & O_NONBLOCK)) O_NONBLOCK 1636 drivers/media/pci/ivtv/ivtv-ioctl.c int nonblocking = filp->f_flags & O_NONBLOCK; O_NONBLOCK 946 drivers/media/pci/meye/meye.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1309 drivers/media/pci/meye/meye.c if (kfifo_len(&meye.doneq) == 0 && file->f_flags & O_NONBLOCK) { O_NONBLOCK 1195 drivers/media/pci/saa7134/saa7134-video.c cmd.nonblocking = file->f_flags & O_NONBLOCK; O_NONBLOCK 826 drivers/media/pci/saa7164/saa7164-encoder.c if ((file->f_flags & O_NONBLOCK) == 0) { O_NONBLOCK 878 drivers/media/pci/saa7164/saa7164-encoder.c if ((file->f_flags & O_NONBLOCK) == 0) { O_NONBLOCK 530 drivers/media/pci/saa7164/saa7164-vbi.c if ((file->f_flags & O_NONBLOCK) == 0) { O_NONBLOCK 582 drivers/media/pci/saa7164/saa7164-vbi.c if ((file->f_flags & O_NONBLOCK) == 0) { O_NONBLOCK 627 drivers/media/pci/saa7164/saa7164-vbi.c if ((file->f_flags & O_NONBLOCK) == 0) { O_NONBLOCK 901 drivers/media/pci/ttpci/av7110_av.c if (flags & O_NONBLOCK) O_NONBLOCK 972 drivers/media/pci/ttpci/av7110_av.c return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); O_NONBLOCK 974 drivers/media/pci/ttpci/av7110_av.c return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); O_NONBLOCK 1013 drivers/media/pci/ttpci/av7110_av.c return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); O_NONBLOCK 1015 drivers/media/pci/ttpci/av7110_av.c return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); O_NONBLOCK 1264 drivers/media/pci/ttpci/av7110_av.c pic->size, file->f_flags & O_NONBLOCK); O_NONBLOCK 1276 drivers/media/pci/ttpci/av7110_av.c file->f_flags & O_NONBLOCK); O_NONBLOCK 137 drivers/media/pci/ttpci/av7110_ca.c int non_blocking = file->f_flags & O_NONBLOCK; O_NONBLOCK 176 drivers/media/pci/ttpci/av7110_ca.c int non_blocking = file->f_flags & O_NONBLOCK; O_NONBLOCK 1181 drivers/media/platform/aspeed-video.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1356 drivers/media/platform/davinci/vpfe_capture.c buf, file->f_flags & O_NONBLOCK); O_NONBLOCK 860 drivers/media/platform/fsl-viu.c file->f_flags & O_NONBLOCK); O_NONBLOCK 1246 drivers/media/platform/fsl-viu.c ppos, 0, file->f_flags & O_NONBLOCK); O_NONBLOCK 950 drivers/media/platform/omap3isp/ispvideo.c ret = vb2_dqbuf(&vfh->queue, b, file->f_flags & O_NONBLOCK); O_NONBLOCK 949 drivers/media/platform/s3c-camif/camif-capture.c return vb2_dqbuf(&vp->vb_queue, buf, file->f_flags & O_NONBLOCK); O_NONBLOCK 629 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c return vb2_dqbuf(&ctx->vq_src, buf, file->f_flags & O_NONBLOCK); O_NONBLOCK 631 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c ret = vb2_dqbuf(&ctx->vq_dst, buf, file->f_flags & O_NONBLOCK); O_NONBLOCK 1622 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c ret = vb2_dqbuf(&ctx->vq_src, buf, file->f_flags & O_NONBLOCK); O_NONBLOCK 1624 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c ret = vb2_dqbuf(&ctx->vq_dst, buf, file->f_flags & O_NONBLOCK); O_NONBLOCK 78 drivers/media/platform/vivid/vivid-radio-rx.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 166 drivers/media/platform/vivid/vivid-radio-rx.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 63 drivers/media/platform/vivid/vivid-radio-tx.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 337 drivers/media/radio/radio-cadet.c if (!cadet_has_rds_data(dev) && (file->f_flags & O_NONBLOCK)) O_NONBLOCK 350 drivers/media/radio/radio-mr800.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 743 drivers/media/radio/radio-si476x.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 1104 drivers/media/radio/radio-si476x.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 382 drivers/media/radio/radio-tea5777.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 1218 drivers/media/radio/radio-wl1273.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1695 drivers/media/radio/radio-wl1273.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 472 drivers/media/radio/si470x/radio-si470x-common.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 733 drivers/media/radio/si470x/radio-si470x-common.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 367 drivers/media/radio/tea575x.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 1065 drivers/media/radio/wl128x/fmdrv_common.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 391 drivers/media/radio/wl128x/fmdrv_v4l2.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 637 drivers/media/rc/lirc_dev.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 676 drivers/media/rc/lirc_dev.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 144 drivers/media/usb/cpia2/cpia2_v4l.c int noblock = file->f_flags&O_NONBLOCK; O_NONBLOCK 886 drivers/media/usb/cpia2/cpia2_v4l.c if(frame < 0 && file->f_flags&O_NONBLOCK) O_NONBLOCK 1667 drivers/media/usb/cx231xx/cx231xx-417.c return videobuf_dqbuf(&fh->vidq, b, file->f_flags & O_NONBLOCK); O_NONBLOCK 1822 drivers/media/usb/cx231xx/cx231xx-417.c file->f_flags & O_NONBLOCK); O_NONBLOCK 1698 drivers/media/usb/cx231xx/cx231xx-video.c return videobuf_dqbuf(&fh->vb_vidq, b, file->f_flags & O_NONBLOCK); O_NONBLOCK 1993 drivers/media/usb/cx231xx/cx231xx-video.c filp->f_flags & O_NONBLOCK); O_NONBLOCK 266 drivers/media/usb/em28xx/em28xx-audio.c nonblock = !!(substream->f_flags & O_NONBLOCK); O_NONBLOCK 516 drivers/media/usb/em28xx/em28xx-audio.c nonblock = !!(substream->f_flags & O_NONBLOCK); O_NONBLOCK 555 drivers/media/usb/em28xx/em28xx-audio.c nonblock = !!(substream->f_flags & O_NONBLOCK); O_NONBLOCK 591 drivers/media/usb/em28xx/em28xx-audio.c nonblock = !!(substream->f_flags & O_NONBLOCK); O_NONBLOCK 633 drivers/media/usb/em28xx/em28xx-audio.c nonblock = !!(substream->f_flags & O_NONBLOCK); O_NONBLOCK 436 drivers/media/usb/hdpvr/hdpvr-video.c if (!(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 450 drivers/media/usb/hdpvr/hdpvr-video.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1131 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (file->f_flags & O_NONBLOCK) break; O_NONBLOCK 679 drivers/media/usb/stkwebcam/stk-webcam.c if (fp->f_flags & O_NONBLOCK && list_empty(&dev->sio_full)) O_NONBLOCK 1112 drivers/media/usb/stkwebcam/stk-webcam.c if (filp->f_flags & O_NONBLOCK && list_empty(&dev->sio_full)) O_NONBLOCK 994 drivers/media/usb/tm6000/tm6000-video.c file->f_flags & O_NONBLOCK); O_NONBLOCK 1406 drivers/media/usb/tm6000/tm6000-video.c file->f_flags & O_NONBLOCK); O_NONBLOCK 888 drivers/media/usb/usbvision/usbvision-video.c int noblock = file->f_flags & O_NONBLOCK; O_NONBLOCK 772 drivers/media/usb/uvc/uvc_v4l2.c file->f_flags & O_NONBLOCK); O_NONBLOCK 464 drivers/media/usb/zr364xx/zr364xx.c file->f_flags & O_NONBLOCK); O_NONBLOCK 949 drivers/media/usb/zr364xx/zr364xx.c rc = videobuf_dqbuf(&cam->vb_vidq, p, file->f_flags & O_NONBLOCK); O_NONBLOCK 2530 drivers/media/v4l2-core/v4l2-ioctl.c return v4l2_event_dequeue(fh, arg, file->f_flags & O_NONBLOCK); O_NONBLOCK 516 drivers/media/v4l2-core/v4l2-mem2mem.c return vb2_dqbuf(vq, buf, file->f_flags & O_NONBLOCK); O_NONBLOCK 393 drivers/media/v4l2-core/v4l2-subdev.c return v4l2_event_dequeue(vfh, arg, file->f_flags & O_NONBLOCK); O_NONBLOCK 627 drivers/message/fusion/mptctl.c int nonblock = (file->f_flags & O_NONBLOCK); O_NONBLOCK 2719 drivers/message/fusion/mptctl.c int nonblock = (filp->f_flags & O_NONBLOCK); O_NONBLOCK 2760 drivers/message/fusion/mptctl.c int nonblock = (filp->f_flags & O_NONBLOCK); O_NONBLOCK 83 drivers/misc/cxl/api.c flags & (O_ACCMODE | O_NONBLOCK), fops); O_NONBLOCK 452 drivers/misc/cxl/file.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 788 drivers/misc/genwqe/card_ddcb.c if (f_flags & O_NONBLOCK) { O_NONBLOCK 960 drivers/misc/ibmvmc.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 610 drivers/misc/lis3lv02d/lis3lv02d.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 136 drivers/misc/mei/main.c bool nonblock = !!(file->f_flags & O_NONBLOCK); O_NONBLOCK 292 drivers/misc/mei/main.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 433 drivers/misc/mei/main.c bool block = (file->f_flags & O_NONBLOCK) == 0; O_NONBLOCK 80 drivers/misc/mic/scif/scif_fd.c non_block = !!(f->f_flags & O_NONBLOCK); O_NONBLOCK 424 drivers/misc/ocxl/file.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 2572 drivers/net/ieee802154/ca8210.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 462 drivers/net/ppp/ppp_generic.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 763 drivers/net/tap.c return tap_get_user(q, NULL, from, file->f_flags & O_NONBLOCK); O_NONBLOCK 880 drivers/net/tap.c ret = tap_do_read(q, to, file->f_flags & O_NONBLOCK, NULL); O_NONBLOCK 2036 drivers/net/tun.c file->f_flags & O_NONBLOCK, false); O_NONBLOCK 2260 drivers/net/tun.c ret = tun_do_read(tun, tfile, to, file->f_flags & O_NONBLOCK, NULL); O_NONBLOCK 251 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 1540 drivers/nvme/target/tcp.c ret = kernel_accept(port->sock, &newsock, O_NONBLOCK); O_NONBLOCK 496 drivers/pci/switch/switchtec.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 215 drivers/platform/chrome/cros_ec_chardev.c !(filp->f_flags & O_NONBLOCK)); O_NONBLOCK 138 drivers/platform/chrome/cros_ec_debugfs.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 368 drivers/platform/chrome/wilco_ec/event.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 471 drivers/platform/goldfish/goldfish_pipe.c (filp->f_flags & O_NONBLOCK) != 0) { O_NONBLOCK 4089 drivers/platform/x86/sony-laptop.c (file->f_flags & O_NONBLOCK)) O_NONBLOCK 2273 drivers/rapidio/devices/rio_mport_cdev.c (filp->f_flags & O_NONBLOCK)) O_NONBLOCK 187 drivers/rpmsg/rpmsg_char.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 245 drivers/rpmsg/rpmsg_char.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 165 drivers/rtc/dev.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 634 drivers/s390/block/dasd_eer.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 120 drivers/s390/char/hmcdrv_dev.c if (fp->f_flags & O_NONBLOCK) O_NONBLOCK 379 drivers/s390/char/monreader.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 324 drivers/s390/char/vmlogrdr.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 719 drivers/s390/char/vmur.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 131 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c O_CREAT | O_NONBLOCK | O_RDWR, /*mode*/0, DB_HASH, O_NONBLOCK 99 drivers/scsi/cxlflash/ocxl_hw.c flags & (O_ACCMODE | O_NONBLOCK), fops); O_NONBLOCK 1040 drivers/scsi/cxlflash/ocxl_hw.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 2331 drivers/scsi/mpt3sas/mpt3sas_ctl.c state = (file->f_flags & O_NONBLOCK) ? NON_BLOCKING : BLOCKING; O_NONBLOCK 315 drivers/scsi/sg.c if (!((flags & O_NONBLOCK) || O_NONBLOCK 323 drivers/scsi/sg.c if (flags & O_NONBLOCK) { O_NONBLOCK 468 drivers/scsi/sg.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 626 drivers/scsi/sg.c if (!((filp->f_flags & O_NONBLOCK) || O_NONBLOCK 636 drivers/scsi/sg.c blocking = !(filp->f_flags & O_NONBLOCK); O_NONBLOCK 1063 drivers/scsi/st.c do_wait = ((filp->f_flags & O_NONBLOCK) == 0); O_NONBLOCK 1316 drivers/scsi/st.c if ((filp->f_flags & O_NONBLOCK) == 0 && O_NONBLOCK 88 drivers/soc/aspeed/aspeed-lpc-snoop.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 353 drivers/staging/axis-fifo/axis-fifo.c if (fifo->read_flags & O_NONBLOCK) { O_NONBLOCK 468 drivers/staging/axis-fifo/axis-fifo.c if (fifo->write_flags & O_NONBLOCK) { O_NONBLOCK 2504 drivers/staging/comedi/comedi_fops.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 2638 drivers/staging/comedi/comedi_fops.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 178 drivers/staging/isdn/hysdn/hysdn_proclog.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 816 drivers/staging/media/omap4iss/iss_video.c return vb2_dqbuf(&vfh->queue, b, file->f_flags & O_NONBLOCK); O_NONBLOCK 406 drivers/staging/media/soc_camera/soc_camera.c return vb2_dqbuf(&icd->vb2_vidq, p, file->f_flags & O_NONBLOCK); O_NONBLOCK 774 drivers/staging/media/soc_camera/soc_camera.c file->f_flags & O_NONBLOCK); O_NONBLOCK 201 drivers/staging/most/cdev/cdev.c if ((filp->f_flags & O_NONBLOCK)) O_NONBLOCK 253 drivers/staging/most/cdev/cdev.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 166 drivers/staging/most/video/video.c if (!(filp->f_flags & O_NONBLOCK)) { O_NONBLOCK 223 drivers/staging/speakup/speakup_soft.c if (fp->f_flags & O_NONBLOCK) { O_NONBLOCK 1075 drivers/tty/n_r3964.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 2152 drivers/tty/n_tty.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 3261 drivers/tty/synclink.c if (filp->f_flags & O_NONBLOCK || tty_io_error(tty)) { O_NONBLOCK 3241 drivers/tty/synclink_gt.c if (filp->f_flags & O_NONBLOCK || tty_io_error(tty)) { O_NONBLOCK 3266 drivers/tty/synclinkmp.c if (filp->f_flags & O_NONBLOCK || tty_io_error(tty)) { O_NONBLOCK 1812 drivers/tty/tty_io.c filp->f_flags |= O_NONBLOCK; /* Don't let /dev/tty block */ O_NONBLOCK 1857 drivers/tty/tty_io.c filp->f_flags |= O_NONBLOCK; O_NONBLOCK 475 drivers/tty/tty_port.c if (filp == NULL || (filp->f_flags & O_NONBLOCK)) { O_NONBLOCK 600 drivers/uio/uio.c if (filep->f_flags & O_NONBLOCK) { O_NONBLOCK 386 drivers/usb/class/cdc-wdm.c if (!(file->f_flags & O_NONBLOCK)) O_NONBLOCK 503 drivers/usb/class/cdc-wdm.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 728 drivers/usb/class/usblp.c if ((rv = usblp_wwait(usblp, !!(file->f_flags & O_NONBLOCK))) < 0) O_NONBLOCK 768 drivers/usb/class/usblp.c rv = usblp_wwait(usblp, !!(file->f_flags&O_NONBLOCK)); O_NONBLOCK 825 drivers/usb/class/usblp.c rv = usblp_rwait_and_lock(usblp, !!(file->f_flags & O_NONBLOCK)); O_NONBLOCK 339 drivers/usb/gadget/function/f_fs.c ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); O_NONBLOCK 516 drivers/usb/gadget/function/f_fs.c ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); O_NONBLOCK 544 drivers/usb/gadget/function/f_fs.c if ((file->f_flags & O_NONBLOCK) && !ffs->ev.count) { O_NONBLOCK 659 drivers/usb/gadget/function/f_fs.c ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); O_NONBLOCK 959 drivers/usb/gadget/function/f_fs.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 974 drivers/usb/gadget/function/f_fs.c ret = ffs_mutex_lock(&epfile->mutex, file->f_flags & O_NONBLOCK); O_NONBLOCK 1297 drivers/usb/gadget/function/f_fs.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 265 drivers/usb/gadget/function/f_hid.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 352 drivers/usb/gadget/function/f_hid.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 463 drivers/usb/gadget/function/f_printer.c if (fd->f_flags & (O_NONBLOCK|O_NDELAY)) { O_NONBLOCK 576 drivers/usb/gadget/function/f_printer.c if (fd->f_flags & (O_NONBLOCK|O_NDELAY)) { O_NONBLOCK 182 drivers/usb/gadget/function/uvc_v4l2.c return uvcg_dequeue_buffer(&video->queue, b, file->f_flags & O_NONBLOCK); O_NONBLOCK 292 drivers/usb/gadget/legacy/inode.c if (f_flags & O_NONBLOCK) { O_NONBLOCK 962 drivers/usb/gadget/legacy/inode.c if ((fd->f_flags & O_NONBLOCK) != 0 O_NONBLOCK 1047 drivers/usb/gadget/legacy/inode.c if (fd->f_flags & O_NONBLOCK) { O_NONBLOCK 303 drivers/usb/misc/iowarrior.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 395 drivers/usb/misc/iowarrior.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 470 drivers/usb/misc/ldusb.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 552 drivers/usb/misc/ldusb.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 571 drivers/usb/misc/legousbtower.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 652 drivers/usb/misc/legousbtower.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1304 drivers/usb/mon/mon_bin.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 490 drivers/usb/mon/mon_text.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 254 drivers/usb/usb-skeleton.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 378 drivers/usb/usb-skeleton.c if (!(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 1759 drivers/vhost/net.c int noblock = file->f_flags & O_NONBLOCK; O_NONBLOCK 617 drivers/virt/fsl_hypervisor.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 220 drivers/xen/evtchn.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 538 drivers/xen/pvcalls-back.c ret = inet_accept(mappass->sock, sock, O_NONBLOCK, true); O_NONBLOCK 138 drivers/xen/xenbus/xenbus_dev_frontend.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 175 fs/9p/vfs_inode_dotl.c { O_NONBLOCK, P9_DOTL_NONBLOCK }, O_NONBLOCK 92 fs/anon_inodes.c flags & (O_ACCMODE | O_NONBLOCK), fops); O_NONBLOCK 217 fs/autofs/autofs_i.h pipe->f_flags &= ~O_NONBLOCK; O_NONBLOCK 3933 fs/cifs/connect.c server->noblockcnt ? O_NONBLOCK : 0); O_NONBLOCK 225 fs/coda/psdev.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 751 fs/dlm/lowcomms.c result = kernel_accept(con->sock, &newsock, O_NONBLOCK); O_NONBLOCK 875 fs/dlm/lowcomms.c ret = kernel_accept(con->sock, &newsock, O_NONBLOCK); O_NONBLOCK 1188 fs/dlm/lowcomms.c O_NONBLOCK); O_NONBLOCK 811 fs/dlm/user.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 234 fs/eventfd.c else if (!(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 284 fs/eventfd.c else if (!(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 413 fs/eventfd.c BUILD_BUG_ON(EFD_NONBLOCK != O_NONBLOCK); O_NONBLOCK 33 fs/fcntl.c #define SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT | O_NOATIME) O_NONBLOCK 53 fs/fcntl.c if (O_NONBLOCK != O_NDELAY) O_NONBLOCK 55 fs/fcntl.c arg |= O_NONBLOCK; O_NONBLOCK 1036 fs/fcntl.c (VALID_OPEN_FLAGS & ~(O_NONBLOCK | O_NDELAY)) | O_NONBLOCK 1213 fs/fuse/dev.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 1122 fs/io_uring.c (req->file->f_flags & O_NONBLOCK)) O_NONBLOCK 521 fs/ioctl.c flag = O_NONBLOCK; O_NONBLOCK 524 fs/ioctl.c if (O_NONBLOCK != O_NDELAY) O_NONBLOCK 1455 fs/locks.c if (filp && !(filp->f_flags & O_NONBLOCK)) O_NONBLOCK 1660 fs/locks.c if (mode & O_NONBLOCK) { O_NONBLOCK 338 fs/nfs/nfstrace.h TRACE_DEFINE_ENUM(O_NONBLOCK); O_NONBLOCK 356 fs/nfs/nfstrace.h { O_NONBLOCK, "O_NONBLOCK" }, \ O_NONBLOCK 697 fs/nfsd/vfs.c return break_lease(inode, mode | O_NONBLOCK); O_NONBLOCK 42 fs/notify/fanotify/fanotify_user.c O_ACCMODE | O_APPEND | O_NONBLOCK | \ O_NONBLOCK 358 fs/notify/fanotify/fanotify_user.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 812 fs/notify/fanotify/fanotify_user.c f_flags |= O_NONBLOCK; O_NONBLOCK 246 fs/notify/inotify/inotify_user.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 670 fs/notify/inotify/inotify_user.c BUILD_BUG_ON(IN_NONBLOCK != O_NONBLOCK); O_NONBLOCK 1667 fs/ocfs2/cluster/tcp.c O_NONBLOCK); O_NONBLOCK 1832 fs/ocfs2/cluster/tcp.c ret = sock->ops->accept(sock, new_sock, O_NONBLOCK, false); O_NONBLOCK 112 fs/ocfs2/dlmfs/dlmfs.c if (open_flags & O_NONBLOCK) O_NONBLOCK 132 fs/orangefs/devorangefs-req.c if (!(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 169 fs/orangefs/devorangefs-req.c if (!(file->f_flags & O_NONBLOCK)) { O_NONBLOCK 44 fs/overlayfs/file.c #define OVL_SETFL_MASK (O_APPEND | O_NONBLOCK | O_NDELAY | O_DIRECT) O_NONBLOCK 345 fs/pipe.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 481 fs/pipe.c if (filp->f_flags & O_NONBLOCK) { O_NONBLOCK 777 fs/pipe.c O_WRONLY | (flags & (O_NONBLOCK | O_DIRECT)), O_NONBLOCK 787 fs/pipe.c res[0] = alloc_file_clone(f, O_RDONLY | (flags & O_NONBLOCK), O_NONBLOCK 804 fs/pipe.c if (flags & ~(O_CLOEXEC | O_NONBLOCK | O_DIRECT)) O_NONBLOCK 948 fs/pipe.c if ((filp->f_flags & O_NONBLOCK)) { O_NONBLOCK 966 fs/pipe.c if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) O_NONBLOCK 37 fs/proc/kmsg.c if ((file->f_flags & O_NONBLOCK) && O_NONBLOCK 1460 fs/read_write.c if (in.file->f_flags & O_NONBLOCK) O_NONBLOCK 217 fs/signalfd.c int nonblock = file->f_flags & O_NONBLOCK; O_NONBLOCK 269 fs/signalfd.c BUILD_BUG_ON(SFD_NONBLOCK != O_NONBLOCK); O_NONBLOCK 289 fs/signalfd.c O_RDWR | (flags & (O_CLOEXEC | O_NONBLOCK))); O_NONBLOCK 1124 fs/splice.c if ((in->f_flags | out->f_flags) & O_NONBLOCK) O_NONBLOCK 1152 fs/splice.c if (in->f_flags & O_NONBLOCK) O_NONBLOCK 1179 fs/splice.c if (out->f_flags & O_NONBLOCK) O_NONBLOCK 1746 fs/splice.c if ((in->f_flags | out->f_flags) & O_NONBLOCK) O_NONBLOCK 256 fs/timerfd.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 394 fs/timerfd.c BUILD_BUG_ON(TFD_NONBLOCK != O_NONBLOCK); O_NONBLOCK 991 fs/userfaultfd.c if (unlikely(!(file->f_flags & O_NONBLOCK))) O_NONBLOCK 1206 fs/userfaultfd.c int no_wait = file->f_flags & O_NONBLOCK; O_NONBLOCK 1226 fs/userfaultfd.c no_wait = O_NONBLOCK; O_NONBLOCK 1957 fs/userfaultfd.c BUILD_BUG_ON(UFFD_NONBLOCK != O_NONBLOCK); O_NONBLOCK 27 include/linux/eventfd.h #define EFD_NONBLOCK O_NONBLOCK O_NONBLOCK 29 include/linux/eventfd.h #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK) O_NONBLOCK 10 include/linux/fcntl.h O_APPEND | O_NDELAY | O_NONBLOCK | O_NDELAY | __O_SYNC | O_DSYNC | \ O_NONBLOCK 2459 include/linux/fs.h ret = break_deleg(inode, O_WRONLY|O_NONBLOCK); O_NONBLOCK 2482 include/linux/fs.h wait ? O_WRONLY : O_WRONLY | O_NONBLOCK, O_NONBLOCK 77 include/linux/net.h #define SOCK_NONBLOCK O_NONBLOCK O_NONBLOCK 391 include/linux/tty.h return file->f_flags & O_NONBLOCK || O_NONBLOCK 26 include/linux/userfaultfd_k.h #define UFFD_NONBLOCK O_NONBLOCK O_NONBLOCK 28 include/linux/userfaultfd_k.h #define UFFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK) O_NONBLOCK 38 include/uapi/asm-generic/fcntl.h #ifndef O_NONBLOCK O_NONBLOCK 97 include/uapi/asm-generic/fcntl.h #define O_NDELAY O_NONBLOCK O_NONBLOCK 73 include/uapi/linux/inotify.h #define IN_NONBLOCK O_NONBLOCK O_NONBLOCK 18 include/uapi/linux/signalfd.h #define SFD_NONBLOCK O_NONBLOCK O_NONBLOCK 33 include/uapi/linux/timerfd.h #define TFD_NONBLOCK O_NONBLOCK O_NONBLOCK 1059 ipc/mqueue.c if (f.file->f_flags & O_NONBLOCK) { O_NONBLOCK 1162 ipc/mqueue.c if (f.file->f_flags & O_NONBLOCK) { O_NONBLOCK 1374 ipc/mqueue.c if (new && (new->mq_flags & (~O_NONBLOCK))) O_NONBLOCK 1393 ipc/mqueue.c old->mq_flags = f.file->f_flags & O_NONBLOCK; O_NONBLOCK 1398 ipc/mqueue.c if (new->mq_flags & O_NONBLOCK) O_NONBLOCK 1399 ipc/mqueue.c f.file->f_flags |= O_NONBLOCK; O_NONBLOCK 1401 ipc/mqueue.c f.file->f_flags &= ~O_NONBLOCK; O_NONBLOCK 897 kernel/printk/printk.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 5975 kernel/trace/trace.c if ((filp->f_flags & O_NONBLOCK)) { O_NONBLOCK 7297 kernel/trace/trace.c if ((filp->f_flags & O_NONBLOCK)) O_NONBLOCK 7497 kernel/trace/trace.c if ((file->f_flags & O_NONBLOCK) || (flags & SPLICE_F_NONBLOCK)) O_NONBLOCK 259 net/9p/trans_fd.c if (!(ts->rd->f_flags & O_NONBLOCK)) O_NONBLOCK 421 net/9p/trans_fd.c if (!(ts->wr->f_flags & O_NONBLOCK)) O_NONBLOCK 845 net/9p/trans_fd.c p->rd->f_flags |= O_NONBLOCK; O_NONBLOCK 208 net/atm/svc.c if (flags & O_NONBLOCK) { O_NONBLOCK 353 net/atm/svc.c if (flags & O_NONBLOCK) { O_NONBLOCK 538 net/atm/svc.c if (flags & O_NONBLOCK) { O_NONBLOCK 1286 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { O_NONBLOCK 1366 net/ax25/af_ax25.c if (flags & O_NONBLOCK) { O_NONBLOCK 132 net/batman-adv/icmp_socket.c if ((file->f_flags & O_NONBLOCK) && socket_client->queue_len == 0) O_NONBLOCK 118 net/batman-adv/log.c if ((file->f_flags & O_NONBLOCK) && batadv_log_empty(debug_log)) O_NONBLOCK 578 net/bluetooth/af_bluetooth.c timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 246 net/bluetooth/l2cap_sock.c sock_sndtimeo(sk, flags & O_NONBLOCK)); O_NONBLOCK 314 net/bluetooth/l2cap_sock.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 774 net/bluetooth/rfcomm/core.c *err = kernel_connect(sock, (struct sockaddr *) &addr, sizeof(addr), O_NONBLOCK); O_NONBLOCK 1934 net/bluetooth/rfcomm/core.c err = kernel_accept(sock, &nsock, O_NONBLOCK); O_NONBLOCK 420 net/bluetooth/rfcomm/sock.c sock_sndtimeo(sk, flags & O_NONBLOCK)); O_NONBLOCK 491 net/bluetooth/rfcomm/sock.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 581 net/bluetooth/sco.c sock_sndtimeo(sk, flags & O_NONBLOCK)); O_NONBLOCK 638 net/bluetooth/sco.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 781 net/caif/caif_socket.c if (flags & O_NONBLOCK) O_NONBLOCK 863 net/caif/caif_socket.c if (sk->sk_state != CAIF_CONNECTED && (flags & O_NONBLOCK)) O_NONBLOCK 866 net/caif/caif_socket.c timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 481 net/ceph/messenger.c O_NONBLOCK); O_NONBLOCK 972 net/decnet/af_decnet.c long timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 1074 net/decnet/af_decnet.c long timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 672 net/ipv4/af_inet.c timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 891 net/ipv4/af_inet.c err = sk->sk_prot->disconnect(sk, O_NONBLOCK); O_NONBLOCK 461 net/ipv4/inet_connection_sock.c long timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 927 net/ipv4/inet_connection_sock.c sk->sk_prot->disconnect(child, O_NONBLOCK); O_NONBLOCK 798 net/ipv4/tcp.c timeo = sock_rcvtimeo(sk, sock->file->f_flags & O_NONBLOCK); O_NONBLOCK 1172 net/ipv4/tcp.c flags = (msg->msg_flags & MSG_DONTWAIT) ? O_NONBLOCK : 0; O_NONBLOCK 2752 net/ipv4/udp.c if ((mask & EPOLLRDNORM) && !(file->f_flags & O_NONBLOCK) && O_NONBLOCK 920 net/iucv/af_iucv.c sock_sndtimeo(sk, flags & O_NONBLOCK)); O_NONBLOCK 974 net/iucv/af_iucv.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 491 net/llc/af_llc.c const long timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 698 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { O_NONBLOCK 776 net/netrom/af_netrom.c if (flags & O_NONBLOCK) { O_NONBLOCK 455 net/nfc/llcp_sock.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 736 net/nfc/llcp_sock.c sock_sndtimeo(sk, flags & O_NONBLOCK)); O_NONBLOCK 775 net/phonet/pep.c skb = skb_recv_datagram(sk, 0, flags & O_NONBLOCK, errp); O_NONBLOCK 224 net/phonet/socket.c long timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 57 net/qrtr/tun.c if (filp->f_flags & O_NONBLOCK) O_NONBLOCK 172 net/rds/tcp_connect.c ret = sock->ops->connect(sock, addr, addrlen, O_NONBLOCK); O_NONBLOCK 149 net/rds/tcp_listen.c ret = sock->ops->accept(sock, new_sock, O_NONBLOCK, true); O_NONBLOCK 1175 net/rfkill/core.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 806 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { O_NONBLOCK 886 net/rose/af_rose.c if (flags & O_NONBLOCK) { O_NONBLOCK 1240 net/sctp/socket.c timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 4911 net/sctp/socket.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 5727 net/sctp/socket.c (*newfile)->f_flags |= O_NONBLOCK; O_NONBLOCK 861 net/smc/af_smc.c if (flags & O_NONBLOCK) { O_NONBLOCK 1456 net/smc/af_smc.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 1483 net/smc/af_smc.c if (lsmc->sockopt_defer_accept && !(flags & O_NONBLOCK)) { O_NONBLOCK 398 net/socket.c O_RDWR | (flags & O_NONBLOCK), O_NONBLOCK 931 net/socket.c flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; O_NONBLOCK 958 net/socket.c if (file->f_flags & O_NONBLOCK || (iocb->ki_flags & IOCB_NOWAIT)) O_NONBLOCK 983 net/socket.c if (file->f_flags & O_NONBLOCK || (iocb->ki_flags & IOCB_NOWAIT)) O_NONBLOCK 1508 net/socket.c if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) O_NONBLOCK 1509 net/socket.c flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; O_NONBLOCK 1515 net/socket.c return sock_map_fd(sock, flags & (O_CLOEXEC | O_NONBLOCK)); O_NONBLOCK 1539 net/socket.c if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) O_NONBLOCK 1540 net/socket.c flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; O_NONBLOCK 1716 net/socket.c if (SOCK_NONBLOCK != O_NONBLOCK && (flags & SOCK_NONBLOCK)) O_NONBLOCK 1717 net/socket.c flags = (flags & ~SOCK_NONBLOCK) | O_NONBLOCK; O_NONBLOCK 1949 net/socket.c if (sock->file->f_flags & O_NONBLOCK) O_NONBLOCK 2007 net/socket.c if (sock->file->f_flags & O_NONBLOCK) O_NONBLOCK 2282 net/socket.c if (sock->file->f_flags & O_NONBLOCK) O_NONBLOCK 2527 net/socket.c if (sock->file->f_flags & O_NONBLOCK) O_NONBLOCK 792 net/sunrpc/svcsock.c err = kernel_accept(sock, &newsock, O_NONBLOCK); O_NONBLOCK 1921 net/sunrpc/xprtsock.c filp = sock_alloc_file(sock, O_NONBLOCK, NULL); O_NONBLOCK 1984 net/sunrpc/xprtsock.c filp = sock_alloc_file(sock, O_NONBLOCK, NULL); O_NONBLOCK 2330 net/sunrpc/xprtsock.c ret = kernel_connect(sock, xs_addr(xprt), xprt->addrlen, O_NONBLOCK); O_NONBLOCK 2389 net/tipc/socket.c long timeout = (flags & O_NONBLOCK) ? 0 : tsk->conn_timeout; O_NONBLOCK 2544 net/tipc/socket.c timeo = sock_rcvtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 458 net/tipc/topsrv.c ret = kernel_accept(lsock, &newsock, O_NONBLOCK); O_NONBLOCK 1236 net/unix/af_unix.c timeo = sock_sndtimeo(sk, flags & O_NONBLOCK); O_NONBLOCK 1451 net/unix/af_unix.c skb = skb_recv_datagram(sk, 0, flags&O_NONBLOCK, &err); O_NONBLOCK 2450 net/unix/af_unix.c if (sock->file->f_flags & O_NONBLOCK || O_NONBLOCK 1200 net/vmw_vsock/af_vsock.c if (flags & O_NONBLOCK) { O_NONBLOCK 1278 net/vmw_vsock/af_vsock.c timeout = sock_rcvtimeo(listener, flags & O_NONBLOCK); O_NONBLOCK 812 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) O_NONBLOCK 535 samples/bpf/xdp_router_ipv4_user.c fcntl(sock, F_SETFL, O_NONBLOCK); O_NONBLOCK 553 samples/bpf/xdp_router_ipv4_user.c fcntl(sock_arp, F_SETFL, O_NONBLOCK); O_NONBLOCK 57 samples/hidraw/hid-example.c fd = open(device, O_RDWR|O_NONBLOCK); O_NONBLOCK 545 security/apparmor/apparmorfs.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 1605 sound/core/control.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { O_NONBLOCK 109 sound/core/hwdep.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1412 sound/core/oss/pcm_oss.c else if ((substream->f_flags & O_NONBLOCK) != 0) { O_NONBLOCK 1427 sound/core/oss/pcm_oss.c if ((substream->f_flags & O_NONBLOCK) != 0 && O_NONBLOCK 1695 sound/core/oss/pcm_oss.c substream->f_flags &= ~O_NONBLOCK; O_NONBLOCK 1976 sound/core/oss/pcm_oss.c file->f_flags |= O_NONBLOCK; O_NONBLOCK 2334 sound/core/oss/pcm_oss.c substream->f_flags |= O_NONBLOCK; O_NONBLOCK 2336 sound/core/oss/pcm_oss.c substream->f_flags &= ~O_NONBLOCK; O_NONBLOCK 2482 sound/core/oss/pcm_oss.c nonblock = !!(file->f_flags & O_NONBLOCK); O_NONBLOCK 2735 sound/core/oss/pcm_oss.c substream->f_flags = file->f_flags & O_NONBLOCK; O_NONBLOCK 2759 sound/core/oss/pcm_oss.c substream->f_flags = file->f_flags & O_NONBLOCK; O_NONBLOCK 2158 sound/core/pcm_lib.c nonblock = !!(substream->f_flags & O_NONBLOCK); O_NONBLOCK 1847 sound/core/pcm_native.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 1849 sound/core/pcm_native.c } else if (substream->f_flags & O_NONBLOCK) O_NONBLOCK 2578 sound/core/pcm_native.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 378 sound/core/rawmidi.c if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK)) O_NONBLOCK 425 sound/core/rawmidi.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1030 sound/core/rawmidi.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { O_NONBLOCK 1359 sound/core/rawmidi.c if (file->f_flags & O_NONBLOCK) { O_NONBLOCK 1383 sound/core/rawmidi.c if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK)) O_NONBLOCK 290 sound/core/seq/oss/seq_oss_init.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 438 sound/core/seq/seq_clientmgr.c nonblock = (file->f_flags & O_NONBLOCK) || result > 0; O_NONBLOCK 1094 sound/core/seq/seq_clientmgr.c !(file->f_flags & O_NONBLOCK), O_NONBLOCK 2072 sound/core/timer.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { O_NONBLOCK 720 sound/oss/dmasound/dmasound_core.c if (file->f_flags & O_NONBLOCK) O_NONBLOCK 749 sound/oss/dmasound/dmasound_core.c sq->non_blocking = file->f_flags & O_NONBLOCK; O_NONBLOCK 629 tools/iio/iio_generic_buffer.c fp = open(buffer_access, O_RDONLY | O_NONBLOCK); O_NONBLOCK 37 tools/include/uapi/asm-generic/fcntl.h #ifndef O_NONBLOCK O_NONBLOCK 96 tools/include/uapi/asm-generic/fcntl.h #define O_NDELAY O_NONBLOCK O_NONBLOCK 147 tools/laptop/dslm/dslm.c if (!(fd = open(disk, O_RDONLY|O_NONBLOCK))) { O_NONBLOCK 360 tools/perf/builtin-ftrace.c fcntl(trace_fd, F_SETFL, O_NONBLOCK); O_NONBLOCK 922 tools/perf/builtin-kvm.c if (fcntl(fd, F_SETFL, arg | O_NONBLOCK) < 0) { O_NONBLOCK 274 tools/perf/lib/evlist.c fcntl(fd, F_SETFL, O_NONBLOCK); O_NONBLOCK 128 tools/perf/tests/bp_signal.c fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); O_NONBLOCK 103 tools/perf/tests/bp_signal_overflow.c fcntl(fd, F_SETFL, O_RDWR|O_NONBLOCK|O_ASYNC); O_NONBLOCK 53 tools/perf/trace/beauty/open_flags.c #ifdef O_NONBLOCK O_NONBLOCK 422 tools/power/acpi/tools/acpidbg/acpidbg.c fd = open(acpi_aml_file_path, O_RDWR | O_NONBLOCK); O_NONBLOCK 428 tools/power/acpi/tools/acpidbg/acpidbg.c acpi_aml_set_fl(STDIN_FILENO, O_NONBLOCK); O_NONBLOCK 429 tools/power/acpi/tools/acpidbg/acpidbg.c acpi_aml_set_fl(STDOUT_FILENO, O_NONBLOCK); O_NONBLOCK 68 tools/testing/selftests/bpf/test_lirc_mode2_user.c lircfd = open(argv[1], O_RDWR | O_NONBLOCK); O_NONBLOCK 81 tools/testing/selftests/bpf/test_lirc_mode2_user.c inputfd = open(argv[2], O_RDONLY | O_NONBLOCK); O_NONBLOCK 484 tools/testing/selftests/bpf/test_sockmap.c int fd_flags = O_NONBLOCK; O_NONBLOCK 87 tools/testing/selftests/ir/ir_loopback.c fd = open(buf, O_RDWR | O_NONBLOCK); O_NONBLOCK 291 tools/testing/selftests/mqueue/mq_perf_tests.c int flags = O_RDWR | O_EXCL | O_CREAT | O_NONBLOCK; O_NONBLOCK 300 tools/testing/selftests/mqueue/mq_perf_tests.c printf("\t\tmq_flags:\t\t\t%s\n", result.mq_flags & O_NONBLOCK ? O_NONBLOCK 708 tools/testing/selftests/mqueue/mq_perf_tests.c attr.mq_flags = O_NONBLOCK; O_NONBLOCK 1147 tools/testing/selftests/net/nettest.c if ((flags < 0) || (fcntl(sd, F_SETFL, flags|O_NONBLOCK) < 0)) { O_NONBLOCK 1296 tools/testing/selftests/net/nettest.c if ((flags < 0) || (fcntl(sd, F_SETFL, flags|O_NONBLOCK) < 0)) { O_NONBLOCK 869 tools/testing/selftests/net/tls.c fcntl(self->fd, F_SETFL, flags | O_NONBLOCK); O_NONBLOCK 870 tools/testing/selftests/net/tls.c fcntl(self->cfd, F_SETFL, flags | O_NONBLOCK); O_NONBLOCK 45 tools/testing/selftests/proc/read.c fd = openat(dirfd(d), filename, O_RDONLY|O_NONBLOCK); O_NONBLOCK 62 tools/testing/selftests/vm/compaction_test.c O_RDONLY | O_NONBLOCK); O_NONBLOCK 94 tools/testing/selftests/vm/compaction_test.c fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK); O_NONBLOCK 657 tools/testing/selftests/vm/userfaultfd.c uffd = syscall(__NR_userfaultfd, O_CLOEXEC | O_NONBLOCK); O_NONBLOCK 927 tools/testing/selftests/vm/userfaultfd.c fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); O_NONBLOCK 986 tools/testing/selftests/vm/userfaultfd.c fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); O_NONBLOCK 1079 tools/testing/selftests/vm/userfaultfd.c if (pipe2(&pipefd[cpu*2], O_CLOEXEC | O_NONBLOCK)) { O_NONBLOCK 1114 tools/testing/selftests/vm/userfaultfd.c fcntl(uffd, F_SETFL, uffd_flags | O_NONBLOCK); O_NONBLOCK 1116 tools/testing/selftests/vm/userfaultfd.c fcntl(uffd, F_SETFL, uffd_flags & ~O_NONBLOCK); O_NONBLOCK 67 tools/virtio/virtio-trace/trace-agent-rw.c if (pipe2(data_pipe, O_NONBLOCK) < 0) { O_NONBLOCK 47 tools/wmi/dell-smbios-example.c fd = open(ioctl_devfs, O_NONBLOCK);