f_flags 200 arch/alpha/boot/tools/objstrip.c if (!(aout->fh.f_flags & COFF_F_EXEC)) { f_flags 23 arch/alpha/include/uapi/asm/a.out.h __u16 f_opthdr, f_flags; f_flags 16 arch/alpha/kernel/binfmt_loader.c if (eh->fh.f_magic != 0x183 || (eh->fh.f_flags & 0x3000) != 0x3000) f_flags 237 arch/alpha/kernel/osf_sys.c short f_flags; f_flags 250 arch/alpha/kernel/osf_sys.c short f_flags; f_flags 309 arch/alpha/kernel/osf_sys.c tmp_stat.f_flags = 0; /* mount flags */ f_flags 710 arch/arm/mm/mmu.c else if (file->f_flags & O_SYNC) f_flags 102 arch/arm64/include/asm/compat.h int f_flags; f_flags 84 arch/arm64/mm/mmu.c else if (file->f_flags & O_SYNC) f_flags 65 arch/csky/mm/ioremap.c } else if (file->f_flags & O_SYNC) { f_flags 1554 arch/ia64/kernel/perfmon.c if(filp->f_flags & O_NONBLOCK) break; f_flags 2167 arch/ia64/kernel/perfmon.c file->f_flags = O_RDONLY; f_flags 292 arch/ia64/kernel/salinfo.c if (file->f_flags & O_NONBLOCK) f_flags 15 arch/mips/boot/ecoff.h uint16_t f_flags; /* flags */ f_flags 229 arch/mips/boot/elf2ecoff.c f->f_flags = swab16(f->f_flags); f_flags 446 arch/mips/boot/elf2ecoff.c efh.f_flags = 0x100f; /* Stripped, not sharable. */ f_flags 88 arch/mips/include/asm/compat.h int f_flags; f_flags 37 arch/mips/include/uapi/asm/statfs.h long f_flags; f_flags 58 arch/mips/include/uapi/asm/statfs.h __u32 f_flags; f_flags 79 arch/mips/include/uapi/asm/statfs.h long f_flags; f_flags 95 arch/mips/include/uapi/asm/statfs.h __u32 f_flags; f_flags 331 arch/mips/kernel/rtlx.c return rtlx_open(iminor(inode), (filp->f_flags & O_NONBLOCK) ? 0 : 1); f_flags 367 arch/mips/kernel/rtlx.c if (!rtlx_read_poll(minor, (file->f_flags & O_NONBLOCK) ? 0 : 1)) f_flags 382 arch/mips/kernel/rtlx.c if (file->f_flags & O_NONBLOCK) f_flags 93 arch/mips/loongson64/common/mem.c if (file->f_flags & O_DSYNC) f_flags 239 arch/mips/mm/cache.c if (file->f_flags & O_DSYNC) f_flags 86 arch/parisc/include/asm/compat.h s32 f_flags; f_flags 20 arch/powerpc/boot/rs6000.h char f_flags[2]; /* flags */ f_flags 84 arch/powerpc/include/asm/compat.h int f_flags; f_flags 345 arch/powerpc/kernel/rtasd.c if (file->f_flags & O_NONBLOCK) { f_flags 718 arch/powerpc/platforms/cell/spufs/file.c if (file->f_flags & O_NONBLOCK) { f_flags 861 arch/powerpc/platforms/cell/spufs/file.c if (file->f_flags & O_NONBLOCK) { f_flags 1522 arch/powerpc/platforms/cell/spufs/file.c if (file->f_flags & O_NONBLOCK) { f_flags 1659 arch/powerpc/platforms/cell/spufs/file.c if (file->f_flags & O_NONBLOCK) { f_flags 2400 arch/powerpc/platforms/cell/spufs/file.c } else if (file->f_flags & O_NONBLOCK) { f_flags 183 arch/powerpc/platforms/powernv/opal-prd.c if (file->f_flags & O_NONBLOCK) f_flags 139 arch/s390/include/asm/compat.h u32 f_flags; f_flags 154 arch/s390/include/asm/compat.h u32 f_flags; f_flags 32 arch/s390/include/uapi/asm/statfs.h unsigned int f_flags; f_flags 47 arch/s390/include/uapi/asm/statfs.h unsigned int f_flags; f_flags 113 arch/sparc/include/asm/compat.h int f_flags; f_flags 72 arch/um/drivers/random.c if (filp->f_flags & O_NONBLOCK) f_flags 91 arch/x86/include/asm/compat.h int f_flags; f_flags 1473 arch/x86/kernel/apm_32.c if ((queue_empty(as)) && (fp->f_flags & O_NONBLOCK)) f_flags 130 arch/x86/kernel/cpu/mce/dev-mcelog.c (mce_chrdev_open_count && (file->f_flags & O_EXCL))) { f_flags 136 arch/x86/kernel/cpu/mce/dev-mcelog.c if (file->f_flags & O_EXCL) f_flags 833 arch/x86/mm/pat.c if (file->f_flags & O_DSYNC) f_flags 330 block/compat_ioctl.c if (file->f_flags & O_NDELAY) f_flags 483 drivers/acpi/acpi_dbg.c if ((file->f_flags & O_ACCMODE) != O_WRONLY) { f_flags 621 drivers/acpi/acpi_dbg.c if (file->f_flags & O_NONBLOCK) f_flags 691 drivers/acpi/acpi_dbg.c if (file->f_flags & O_NONBLOCK) f_flags 4865 drivers/android/binder.c filp->f_flags & O_NONBLOCK); f_flags 1083 drivers/auxdisplay/panel.c if (file->f_flags & O_NONBLOCK) f_flags 231 drivers/block/aoe/aoechr.c if (filp->f_flags & O_NDELAY) { f_flags 265 drivers/bluetooth/hci_vhci.c if (file->f_flags & O_NONBLOCK) { f_flags 212 drivers/char/apm-emulation.c if (queue_empty(&as->queue) && fp->f_flags & O_NONBLOCK) f_flags 149 drivers/char/dtlk.c if (file->f_flags & O_NONBLOCK) f_flags 214 drivers/char/dtlk.c if (file->f_flags & O_NONBLOCK) f_flags 322 drivers/char/hpet.c else if (file->f_flags & O_NONBLOCK) { f_flags 227 drivers/char/hw_random/core.c !(filp->f_flags & O_NONBLOCK)); f_flags 236 drivers/char/hw_random/core.c if (filp->f_flags & O_NONBLOCK) { f_flags 88 drivers/char/ipmi/ipmb_dev_int.c if (file->f_flags & O_NONBLOCK) f_flags 792 drivers/char/ipmi/ipmi_watchdog.c if (file->f_flags & O_NONBLOCK) { f_flags 281 drivers/char/ipmi/kcs_bmc.c if (!(filp->f_flags & O_NONBLOCK)) f_flags 308 drivers/char/lp.c int nonblock = ((file->f_flags & O_NONBLOCK) || f_flags 425 drivers/char/lp.c int nonblock = ((file->f_flags & O_NONBLOCK) || f_flags 519 drivers/char/lp.c if ((LP_F(minor) & LP_ABORTOPEN) && !(file->f_flags & O_NONBLOCK)) { f_flags 306 drivers/char/mem.c if (file->f_flags & O_DSYNC) f_flags 359 drivers/char/nvram.c if ((nvram_open_cnt && (file->f_flags & O_EXCL)) || f_flags 374 drivers/char/nvram.c if (file->f_flags & O_EXCL) f_flags 944 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) f_flags 946 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) f_flags 957 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) || (dev->rpos < dev->rlen)))) { f_flags 958 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) f_flags 966 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) f_flags 968 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) f_flags 1096 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) f_flags 1098 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) f_flags 1111 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) f_flags 1113 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) f_flags 1486 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) f_flags 1489 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) f_flags 1536 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) f_flags 1539 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) f_flags 1554 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) f_flags 1557 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) f_flags 1585 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) f_flags 1588 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) f_flags 1597 drivers/char/pcmcia/cm4000_cs.c ((filp->f_flags & O_NONBLOCK) f_flags 1600 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) f_flags 1672 drivers/char/pcmcia/cm4000_cs.c if (filp->f_flags & O_NONBLOCK) { f_flags 234 drivers/char/pcmcia/cm4040_cs.c if (filp->f_flags & O_NONBLOCK) { f_flags 338 drivers/char/pcmcia/cm4040_cs.c if (filp->f_flags & O_NONBLOCK) { f_flags 460 drivers/char/pcmcia/cm4040_cs.c if (filp->f_flags & O_NONBLOCK) { f_flags 142 drivers/char/ppdev.c (file->f_flags & O_NONBLOCK) ? f_flags 170 drivers/char/ppdev.c if (file->f_flags & O_NONBLOCK) { f_flags 218 drivers/char/ppdev.c (file->f_flags & O_NONBLOCK) ? f_flags 251 drivers/char/ppdev.c if (file->f_flags & O_NONBLOCK) { f_flags 2020 drivers/char/random.c return _random_read(file->f_flags & O_NONBLOCK, buf, nbytes); f_flags 82 drivers/char/raw.c filp->f_flags |= O_DIRECT; f_flags 353 drivers/char/rtc.c if (file->f_flags & O_NONBLOCK) { f_flags 905 drivers/char/sonypi.c (file->f_flags & O_NONBLOCK)) f_flags 211 drivers/char/tpm/tpm-dev-common.c if (file->f_flags & O_NONBLOCK) { f_flags 757 drivers/char/virtio_console.c if (filp->f_flags & O_NONBLOCK) f_flags 819 drivers/char/virtio_console.c nonblock = filp->f_flags & O_NONBLOCK; f_flags 942 drivers/char/virtio_console.c ret = wait_port_writable(port, filp->f_flags & O_NONBLOCK); f_flags 812 drivers/char/xillybus/xillybus_core.c if (!no_time_left && (filp->f_flags & O_NONBLOCK)) { f_flags 914 drivers/char/xillybus/xillybus_core.c if (filp->f_flags & O_NONBLOCK) f_flags 1367 drivers/char/xillybus/xillybus_core.c if (filp->f_flags & O_NONBLOCK) { f_flags 1454 drivers/char/xillybus/xillybus_core.c if ((filp->f_mode & FMODE_READ) && (filp->f_flags & O_NONBLOCK) && f_flags 1462 drivers/char/xillybus/xillybus_core.c if ((filp->f_mode & FMODE_WRITE) && (filp->f_flags & O_NONBLOCK) && f_flags 449 drivers/dma-buf/dma-buf.c file->f_flags = flags & (O_ACCMODE | O_NONBLOCK); f_flags 1186 drivers/dma-buf/dma-buf.c buf_obj->file->f_flags, buf_obj->file->f_mode, f_flags 102 drivers/gnss/core.c if (file->f_flags & O_NONBLOCK) f_flags 740 drivers/gpio/gpiolib.c if (filep->f_flags & O_NONBLOCK) f_flags 763 drivers/gpio/gpiolib.c if (copied == 0 && (filep->f_flags & O_NONBLOCK)) f_flags 295 drivers/gpu/drm/drm_debugfs_crc.c if (filep->f_flags & O_NONBLOCK) { f_flags 303 drivers/gpu/drm/drm_file.c if (filp->f_flags & O_EXCL) f_flags 512 drivers/gpu/drm/drm_file.c if (filp->f_flags & O_NONBLOCK) { f_flags 2392 drivers/gpu/drm/i915/i915_perf.c if (!(file->f_flags & O_NONBLOCK)) { f_flags 2713 drivers/gpu/drm/i915/i915_perf.c unsigned long f_flags = 0; f_flags 2785 drivers/gpu/drm/i915/i915_perf.c f_flags |= O_CLOEXEC; f_flags 2787 drivers/gpu/drm/i915/i915_perf.c f_flags |= O_NONBLOCK; f_flags 2789 drivers/gpu/drm/i915/i915_perf.c stream_fd = anon_inode_getfd("[i915_perf]", &fops, stream, f_flags); f_flags 1104 drivers/hid/hid-debug.c if (file->f_flags & O_NONBLOCK) { f_flags 91 drivers/hid/hid-roccat.c if (file->f_flags & O_NONBLOCK) { f_flags 650 drivers/hid/hid-sensor-custom.c if (file->f_flags & O_NONBLOCK) f_flags 61 drivers/hid/hidraw.c if (file->f_flags & O_NONBLOCK) { f_flags 665 drivers/hid/uhid.c if (file->f_flags & O_NONBLOCK) { f_flags 350 drivers/hid/usbhid/hiddev.c if (file->f_flags & O_NONBLOCK) { f_flags 1156 drivers/hsi/clients/cmt_speech.c if (file->f_flags & O_NONBLOCK) { f_flags 1515 drivers/ide/ide-tape.c if ((filp->f_flags & O_ACCMODE) == O_RDONLY) f_flags 1522 drivers/ide/ide-tape.c if ((filp->f_flags & O_ACCMODE) == O_WRONLY || f_flags 1523 drivers/ide/ide-tape.c (filp->f_flags & O_ACCMODE) == O_RDWR) { f_flags 127 drivers/iio/industrialio-buffer.c if (filp->f_flags & O_NONBLOCK) f_flags 151 drivers/iio/industrialio-buffer.c if (ret == 0 && (filp->f_flags & O_NONBLOCK)) f_flags 131 drivers/iio/industrialio-event.c if (filep->f_flags & O_NONBLOCK) f_flags 157 drivers/iio/industrialio-event.c if (copied == 0 && (filep->f_flags & O_NONBLOCK)) f_flags 417 drivers/infiniband/core/ucma.c if (file->filp->f_flags & O_NONBLOCK) f_flags 385 drivers/infiniband/core/user_mad.c if (filp->f_flags & O_NONBLOCK) f_flags 1074 drivers/infiniband/core/user_mad.c if (filp->f_flags & O_NONBLOCK) { f_flags 235 drivers/infiniband/core/uverbs_main.c if (filp->f_flags & O_NONBLOCK) f_flags 2459 drivers/infiniband/hw/mlx5/devx.c if (filp->f_flags & O_NONBLOCK) f_flags 2572 drivers/infiniband/hw/mlx5/devx.c if (filp->f_flags & O_NONBLOCK) f_flags 574 drivers/input/evdev.c (file->f_flags & O_NONBLOCK)) f_flags 596 drivers/input/evdev.c if (!(file->f_flags & O_NONBLOCK)) { f_flags 402 drivers/input/joydev.c if (!joydev_data_pending(client) && (file->f_flags & O_NONBLOCK)) f_flags 674 drivers/input/misc/uinput.c (file->f_flags & O_NONBLOCK)) f_flags 684 drivers/input/misc/uinput.c if (!(file->f_flags & O_NONBLOCK)) f_flags 725 drivers/input/mousedev.c (file->f_flags & O_NONBLOCK)) f_flags 171 drivers/input/serio/serio_raw.c (file->f_flags & O_NONBLOCK)) f_flags 186 drivers/input/serio/serio_raw.c if (!(file->f_flags & O_NONBLOCK)) { f_flags 156 drivers/input/serio/userio.c if (file->f_flags & O_NONBLOCK) f_flags 659 drivers/isdn/capi/capi.c if (file->f_flags & O_NONBLOCK) f_flags 110 drivers/isdn/mISDN/timerdev.c if (filep->f_flags & O_NONBLOCK) f_flags 147 drivers/leds/uleds.c } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) { f_flags 161 drivers/leds/uleds.c if (!(file->f_flags & O_NONBLOCK)) f_flags 742 drivers/macintosh/adb.c if (file->f_flags & O_NONBLOCK) { f_flags 1186 drivers/macintosh/smu.c if (file->f_flags & O_NONBLOCK) { f_flags 2216 drivers/macintosh/via-pmu.c if (file->f_flags & O_NONBLOCK) f_flags 192 drivers/mailbox/mailbox-test.c if (filp->f_flags & O_NONBLOCK) { f_flags 487 drivers/media/cec/cec-api.c bool block = !(filp->f_flags & O_NONBLOCK); f_flags 479 drivers/media/common/saa7146/saa7146_vbi.c file->f_flags & O_NONBLOCK); f_flags 912 drivers/media/common/saa7146/saa7146_video.c return videobuf_dqbuf(&fh->video_q, buf, file->f_flags & O_NONBLOCK); f_flags 914 drivers/media/common/saa7146/saa7146_video.c return videobuf_dqbuf(&fh->vbi_q, buf, file->f_flags & O_NONBLOCK); f_flags 1266 drivers/media/common/saa7146/saa7146_video.c file->f_flags & O_NONBLOCK); f_flags 385 drivers/media/common/siano/smsdvb-debugfs.c if (file->f_flags & O_NONBLOCK) { f_flags 990 drivers/media/common/videobuf2/videobuf2-v4l2.c return vb2_dqbuf(vdev->queue, p, file->f_flags & O_NONBLOCK); f_flags 1073 drivers/media/common/videobuf2/videobuf2-v4l2.c file->f_flags & O_NONBLOCK); f_flags 1097 drivers/media/common/videobuf2/videobuf2-v4l2.c file->f_flags & O_NONBLOCK); f_flags 155 drivers/media/dvb-core/dmxdev.c if ((file->f_flags & O_ACCMODE) == O_RDONLY) f_flags 157 drivers/media/dvb-core/dmxdev.c else if ((file->f_flags & O_ACCMODE) == O_RDWR) { f_flags 184 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK); f_flags 188 drivers/media/dvb-core/dmxdev.c if ((file->f_flags & O_ACCMODE) == O_WRONLY) { f_flags 217 drivers/media/dvb-core/dmxdev.c if ((file->f_flags & O_ACCMODE) == O_WRONLY) { f_flags 223 drivers/media/dvb-core/dmxdev.c if (((file->f_flags & O_ACCMODE) == O_RDONLY) || f_flags 261 drivers/media/dvb-core/dmxdev.c if ((file->f_flags & O_ACCMODE) != O_WRONLY) f_flags 285 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK, f_flags 824 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK); f_flags 984 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK, f_flags 1005 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK, f_flags 1027 drivers/media/dvb-core/dmxdev.c file->f_flags & O_NONBLOCK, f_flags 1356 drivers/media/dvb-core/dmxdev.c if (((file->f_flags & O_ACCMODE) == O_RDONLY) || f_flags 1621 drivers/media/dvb-core/dvb_ca_en50221.c if (file->f_flags & O_NONBLOCK) f_flags 2017 drivers/media/dvb-core/dvb_frontend.c if ((file->f_flags & O_ACCMODE) == O_RDONLY f_flags 2694 drivers/media/dvb-core/dvb_frontend.c err = dvb_frontend_get_event(fe, parg, file->f_flags); f_flags 2791 drivers/media/dvb-core/dvb_frontend.c if ((file->f_flags & O_ACCMODE) != O_RDONLY) { f_flags 2860 drivers/media/dvb-core/dvb_frontend.c if ((file->f_flags & O_ACCMODE) != O_RDONLY) { f_flags 1429 drivers/media/dvb-core/dvb_net.c if (((file->f_flags&O_ACCMODE)==O_RDONLY)) f_flags 144 drivers/media/dvb-core/dvbdev.c if ((file->f_flags & O_ACCMODE) == O_RDONLY) { f_flags 167 drivers/media/dvb-core/dvbdev.c if ((file->f_flags & O_ACCMODE) == O_RDONLY) { f_flags 2672 drivers/media/pci/bt8xx/bttv-driver.c file->f_flags & O_NONBLOCK); f_flags 2887 drivers/media/pci/bt8xx/bttv-driver.c file->f_flags & O_NONBLOCK); f_flags 2894 drivers/media/pci/bt8xx/bttv-driver.c file->f_flags & O_NONBLOCK); f_flags 3265 drivers/media/pci/bt8xx/bttv-driver.c cmd.nonblocking = file->f_flags & O_NONBLOCK; f_flags 590 drivers/media/pci/cx18/cx18-fileops.c filp->f_flags & O_NONBLOCK); f_flags 593 drivers/media/pci/cx18/cx18-fileops.c return cx18_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); f_flags 906 drivers/media/pci/cx18/cx18-ioctl.c return videobuf_dqbuf(cx18_vb_queue(id), b, file->f_flags & O_NONBLOCK); f_flags 728 drivers/media/pci/ddbridge/ddbridge-core.c if (file->f_flags & O_NONBLOCK) f_flags 758 drivers/media/pci/ddbridge/ddbridge-core.c if (file->f_flags & O_NONBLOCK) f_flags 802 drivers/media/pci/ddbridge/ddbridge-core.c if ((file->f_flags & O_ACCMODE) == O_RDONLY) { f_flags 806 drivers/media/pci/ddbridge/ddbridge-core.c } else if ((file->f_flags & O_ACCMODE) == O_WRONLY) { f_flags 826 drivers/media/pci/ddbridge/ddbridge-core.c if ((file->f_flags & O_ACCMODE) == O_RDONLY) { f_flags 831 drivers/media/pci/ddbridge/ddbridge-core.c } else if ((file->f_flags & O_ACCMODE) == O_WRONLY) { f_flags 841 drivers/media/pci/ddbridge/ddbridge-core.c if ((file->f_flags & O_ACCMODE) == O_RDONLY) f_flags 843 drivers/media/pci/ddbridge/ddbridge-core.c else if ((file->f_flags & O_ACCMODE) == O_WRONLY) f_flags 506 drivers/media/pci/ivtv/ivtv-fileops.c rc = ivtv_read_pos(s, buf, count, pos, filp->f_flags & O_NONBLOCK); f_flags 619 drivers/media/pci/ivtv/ivtv-fileops.c if (filp->f_flags & O_NONBLOCK) f_flags 702 drivers/media/pci/ivtv/ivtv-fileops.c if (count && !(filp->f_flags & O_NONBLOCK)) f_flags 1636 drivers/media/pci/ivtv/ivtv-ioctl.c int nonblocking = filp->f_flags & O_NONBLOCK; f_flags 946 drivers/media/pci/meye/meye.c if (file->f_flags & O_NONBLOCK) { f_flags 1309 drivers/media/pci/meye/meye.c if (kfifo_len(&meye.doneq) == 0 && file->f_flags & O_NONBLOCK) { f_flags 1195 drivers/media/pci/saa7134/saa7134-video.c cmd.nonblocking = file->f_flags & O_NONBLOCK; f_flags 826 drivers/media/pci/saa7164/saa7164-encoder.c if ((file->f_flags & O_NONBLOCK) == 0) { f_flags 878 drivers/media/pci/saa7164/saa7164-encoder.c if ((file->f_flags & O_NONBLOCK) == 0) { f_flags 530 drivers/media/pci/saa7164/saa7164-vbi.c if ((file->f_flags & O_NONBLOCK) == 0) { f_flags 582 drivers/media/pci/saa7164/saa7164-vbi.c if ((file->f_flags & O_NONBLOCK) == 0) { f_flags 627 drivers/media/pci/saa7164/saa7164-vbi.c if ((file->f_flags & O_NONBLOCK) == 0) { f_flags 933 drivers/media/pci/ttpci/av7110_av.c if ((file->f_flags & O_ACCMODE) != O_RDONLY) f_flags 941 drivers/media/pci/ttpci/av7110_av.c if ((file->f_flags & O_ACCMODE) != O_RDONLY) { f_flags 963 drivers/media/pci/ttpci/av7110_av.c if ((file->f_flags & O_ACCMODE) == O_RDONLY) f_flags 972 drivers/media/pci/ttpci/av7110_av.c return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); f_flags 974 drivers/media/pci/ttpci/av7110_av.c return dvb_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 1); f_flags 1013 drivers/media/pci/ttpci/av7110_av.c return ts_play(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); f_flags 1015 drivers/media/pci/ttpci/av7110_av.c return dvb_aplay(av7110, buf, count, file->f_flags & O_NONBLOCK, 0); f_flags 1130 drivers/media/pci/ttpci/av7110_av.c if ((file->f_flags & O_ACCMODE) == O_RDONLY) { f_flags 1210 drivers/media/pci/ttpci/av7110_av.c ret = dvb_compat_video_get_event(av7110, parg, file->f_flags); f_flags 1215 drivers/media/pci/ttpci/av7110_av.c ret = dvb_video_get_event(av7110, parg, file->f_flags); f_flags 1264 drivers/media/pci/ttpci/av7110_av.c pic->size, file->f_flags & O_NONBLOCK); f_flags 1276 drivers/media/pci/ttpci/av7110_av.c file->f_flags & O_NONBLOCK); f_flags 1361 drivers/media/pci/ttpci/av7110_av.c if (((file->f_flags & O_ACCMODE) == O_RDONLY) && f_flags 1512 drivers/media/pci/ttpci/av7110_av.c if ((file->f_flags & O_ACCMODE) != O_RDONLY) { f_flags 1533 drivers/media/pci/ttpci/av7110_av.c if ((file->f_flags & O_ACCMODE) != O_RDONLY) { f_flags 137 drivers/media/pci/ttpci/av7110_ca.c int non_blocking = file->f_flags & O_NONBLOCK; f_flags 176 drivers/media/pci/ttpci/av7110_ca.c int non_blocking = file->f_flags & O_NONBLOCK; f_flags 1181 drivers/media/platform/aspeed-video.c if (file->f_flags & O_NONBLOCK) { f_flags 1356 drivers/media/platform/davinci/vpfe_capture.c buf, file->f_flags & O_NONBLOCK); f_flags 860 drivers/media/platform/fsl-viu.c file->f_flags & O_NONBLOCK); f_flags 1246 drivers/media/platform/fsl-viu.c ppos, 0, file->f_flags & O_NONBLOCK); f_flags 950 drivers/media/platform/omap3isp/ispvideo.c ret = vb2_dqbuf(&vfh->queue, b, file->f_flags & O_NONBLOCK); f_flags 949 drivers/media/platform/s3c-camif/camif-capture.c return vb2_dqbuf(&vp->vb_queue, buf, file->f_flags & O_NONBLOCK); f_flags 629 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c return vb2_dqbuf(&ctx->vq_src, buf, file->f_flags & O_NONBLOCK); f_flags 631 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c ret = vb2_dqbuf(&ctx->vq_dst, buf, file->f_flags & O_NONBLOCK); f_flags 1622 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c ret = vb2_dqbuf(&ctx->vq_src, buf, file->f_flags & O_NONBLOCK); f_flags 1624 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c ret = vb2_dqbuf(&ctx->vq_dst, buf, file->f_flags & O_NONBLOCK); f_flags 78 drivers/media/platform/vivid/vivid-radio-rx.c if (file->f_flags & O_NONBLOCK) f_flags 166 drivers/media/platform/vivid/vivid-radio-rx.c if (file->f_flags & O_NONBLOCK) f_flags 63 drivers/media/platform/vivid/vivid-radio-tx.c if (file->f_flags & O_NONBLOCK) f_flags 337 drivers/media/radio/radio-cadet.c if (!cadet_has_rds_data(dev) && (file->f_flags & O_NONBLOCK)) f_flags 350 drivers/media/radio/radio-mr800.c if (file->f_flags & O_NONBLOCK) f_flags 743 drivers/media/radio/radio-si476x.c if (file->f_flags & O_NONBLOCK) f_flags 1104 drivers/media/radio/radio-si476x.c if (file->f_flags & O_NONBLOCK) f_flags 382 drivers/media/radio/radio-tea5777.c if (file->f_flags & O_NONBLOCK) f_flags 1218 drivers/media/radio/radio-wl1273.c if (file->f_flags & O_NONBLOCK) { f_flags 1695 drivers/media/radio/radio-wl1273.c if (file->f_flags & O_NONBLOCK) f_flags 472 drivers/media/radio/si470x/radio-si470x-common.c if (file->f_flags & O_NONBLOCK) { f_flags 733 drivers/media/radio/si470x/radio-si470x-common.c if (file->f_flags & O_NONBLOCK) f_flags 367 drivers/media/radio/tea575x.c if (file->f_flags & O_NONBLOCK) f_flags 1065 drivers/media/radio/wl128x/fmdrv_common.c if (file->f_flags & O_NONBLOCK) f_flags 391 drivers/media/radio/wl128x/fmdrv_v4l2.c if (file->f_flags & O_NONBLOCK) f_flags 637 drivers/media/rc/lirc_dev.c if (file->f_flags & O_NONBLOCK) f_flags 676 drivers/media/rc/lirc_dev.c if (file->f_flags & O_NONBLOCK) f_flags 144 drivers/media/usb/cpia2/cpia2_v4l.c int noblock = file->f_flags&O_NONBLOCK; f_flags 886 drivers/media/usb/cpia2/cpia2_v4l.c if(frame < 0 && file->f_flags&O_NONBLOCK) f_flags 1667 drivers/media/usb/cx231xx/cx231xx-417.c return videobuf_dqbuf(&fh->vidq, b, file->f_flags & O_NONBLOCK); f_flags 1822 drivers/media/usb/cx231xx/cx231xx-417.c file->f_flags & O_NONBLOCK); f_flags 1698 drivers/media/usb/cx231xx/cx231xx-video.c return videobuf_dqbuf(&fh->vb_vidq, b, file->f_flags & O_NONBLOCK); f_flags 1993 drivers/media/usb/cx231xx/cx231xx-video.c filp->f_flags & O_NONBLOCK); f_flags 266 drivers/media/usb/em28xx/em28xx-audio.c nonblock = !!(substream->f_flags & O_NONBLOCK); f_flags 516 drivers/media/usb/em28xx/em28xx-audio.c nonblock = !!(substream->f_flags & O_NONBLOCK); f_flags 555 drivers/media/usb/em28xx/em28xx-audio.c nonblock = !!(substream->f_flags & O_NONBLOCK); f_flags 591 drivers/media/usb/em28xx/em28xx-audio.c nonblock = !!(substream->f_flags & O_NONBLOCK); f_flags 633 drivers/media/usb/em28xx/em28xx-audio.c nonblock = !!(substream->f_flags & O_NONBLOCK); f_flags 436 drivers/media/usb/hdpvr/hdpvr-video.c if (!(file->f_flags & O_NONBLOCK)) { f_flags 450 drivers/media/usb/hdpvr/hdpvr-video.c if (file->f_flags & O_NONBLOCK) { f_flags 1131 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c if (file->f_flags & O_NONBLOCK) break; f_flags 679 drivers/media/usb/stkwebcam/stk-webcam.c if (fp->f_flags & O_NONBLOCK && list_empty(&dev->sio_full)) f_flags 1112 drivers/media/usb/stkwebcam/stk-webcam.c if (filp->f_flags & O_NONBLOCK && list_empty(&dev->sio_full)) f_flags 994 drivers/media/usb/tm6000/tm6000-video.c file->f_flags & O_NONBLOCK); f_flags 1406 drivers/media/usb/tm6000/tm6000-video.c file->f_flags & O_NONBLOCK); f_flags 888 drivers/media/usb/usbvision/usbvision-video.c int noblock = file->f_flags & O_NONBLOCK; f_flags 772 drivers/media/usb/uvc/uvc_v4l2.c file->f_flags & O_NONBLOCK); f_flags 464 drivers/media/usb/zr364xx/zr364xx.c file->f_flags & O_NONBLOCK); f_flags 949 drivers/media/usb/zr364xx/zr364xx.c rc = videobuf_dqbuf(&cam->vb_vidq, p, file->f_flags & O_NONBLOCK); f_flags 2530 drivers/media/v4l2-core/v4l2-ioctl.c return v4l2_event_dequeue(fh, arg, file->f_flags & O_NONBLOCK); f_flags 516 drivers/media/v4l2-core/v4l2-mem2mem.c return vb2_dqbuf(vq, buf, file->f_flags & O_NONBLOCK); f_flags 393 drivers/media/v4l2-core/v4l2-subdev.c return v4l2_event_dequeue(vfh, arg, file->f_flags & O_NONBLOCK); f_flags 627 drivers/message/fusion/mptctl.c int nonblock = (file->f_flags & O_NONBLOCK); f_flags 2719 drivers/message/fusion/mptctl.c int nonblock = (filp->f_flags & O_NONBLOCK); f_flags 2760 drivers/message/fusion/mptctl.c int nonblock = (filp->f_flags & O_NONBLOCK); f_flags 452 drivers/misc/cxl/file.c if (file->f_flags & O_NONBLOCK) { f_flags 506 drivers/misc/genwqe/card_base.h struct genwqe_ddcb_cmd *cmd, unsigned int f_flags); f_flags 519 drivers/misc/genwqe/card_base.h unsigned int f_flags); f_flags 522 drivers/misc/genwqe/card_base.h unsigned int f_flags); f_flags 750 drivers/misc/genwqe/card_ddcb.c unsigned int f_flags) f_flags 788 drivers/misc/genwqe/card_ddcb.c if (f_flags & O_NONBLOCK) { f_flags 908 drivers/misc/genwqe/card_ddcb.c unsigned int f_flags) f_flags 924 drivers/misc/genwqe/card_ddcb.c rc = __genwqe_enqueue_ddcb(cd, req, f_flags); f_flags 605 drivers/misc/genwqe/card_dev.c rc = __genwqe_execute_raw_ddcb(cd, req, filp->f_flags); f_flags 723 drivers/misc/genwqe/card_dev.c rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); f_flags 994 drivers/misc/genwqe/card_dev.c rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); f_flags 1019 drivers/misc/genwqe/card_dev.c rc = __genwqe_execute_raw_ddcb(cd, cmd, filp->f_flags); f_flags 1086 drivers/misc/genwqe/card_dev.c if ((filp->f_flags & O_ACCMODE) == O_RDONLY) f_flags 1122 drivers/misc/genwqe/card_dev.c if ((filp->f_flags & O_ACCMODE) == O_RDONLY) f_flags 1145 drivers/misc/genwqe/card_dev.c if ((filp->f_flags & O_ACCMODE) == O_RDONLY) f_flags 594 drivers/misc/hpilo.c data->ccb_excl = fp->f_flags & O_EXCL; f_flags 620 drivers/misc/hpilo.c if (fp->f_flags & O_EXCL || hw->ccb_alloc[slot]->ccb_excl) { f_flags 960 drivers/misc/ibmvmc.c if (file->f_flags & O_NONBLOCK) { f_flags 610 drivers/misc/lis3lv02d/lis3lv02d.c if (file->f_flags & O_NONBLOCK) { f_flags 136 drivers/misc/mei/main.c bool nonblock = !!(file->f_flags & O_NONBLOCK); f_flags 292 drivers/misc/mei/main.c if (file->f_flags & O_NONBLOCK) { f_flags 433 drivers/misc/mei/main.c bool block = (file->f_flags & O_NONBLOCK) == 0; f_flags 80 drivers/misc/mic/scif/scif_fd.c non_block = !!(f->f_flags & O_NONBLOCK); f_flags 424 drivers/misc/ocxl/file.c if (file->f_flags & O_NONBLOCK) { f_flags 1144 drivers/mtd/mtdchar.c if (file->f_flags & O_DSYNC || map->phys >= __pa(high_memory)) f_flags 2572 drivers/net/ieee802154/ca8210.c if (filp->f_flags & O_NONBLOCK) { f_flags 462 drivers/net/ppp/ppp_generic.c if (file->f_flags & O_NONBLOCK) f_flags 763 drivers/net/tap.c return tap_get_user(q, NULL, from, file->f_flags & O_NONBLOCK); f_flags 880 drivers/net/tap.c ret = tap_do_read(q, to, file->f_flags & O_NONBLOCK, NULL); f_flags 2036 drivers/net/tun.c file->f_flags & O_NONBLOCK, false); f_flags 2260 drivers/net/tun.c ret = tun_do_read(tun, tfile, to, file->f_flags & O_NONBLOCK, NULL); f_flags 251 drivers/net/wireless/ralink/rt2x00/rt2x00debug.c if (file->f_flags & O_NONBLOCK) f_flags 1173 drivers/nvdimm/bus.c ro = ((file->f_flags & O_ACCMODE) == O_RDONLY); f_flags 496 drivers/pci/switch/switchtec.c if (filp->f_flags & O_NONBLOCK) { f_flags 215 drivers/platform/chrome/cros_ec_chardev.c !(filp->f_flags & O_NONBLOCK)); f_flags 138 drivers/platform/chrome/cros_ec_debugfs.c if (file->f_flags & O_NONBLOCK) { f_flags 368 drivers/platform/chrome/wilco_ec/event.c if (filp->f_flags & O_NONBLOCK) f_flags 471 drivers/platform/goldfish/goldfish_pipe.c (filp->f_flags & O_NONBLOCK) != 0) { f_flags 4089 drivers/platform/x86/sony-laptop.c (file->f_flags & O_NONBLOCK)) f_flags 2273 drivers/rapidio/devices/rio_mport_cdev.c (filp->f_flags & O_NONBLOCK)) f_flags 187 drivers/rpmsg/rpmsg_char.c if (filp->f_flags & O_NONBLOCK) f_flags 245 drivers/rpmsg/rpmsg_char.c if (filp->f_flags & O_NONBLOCK) f_flags 165 drivers/rtc/dev.c if (file->f_flags & O_NONBLOCK) { f_flags 634 drivers/s390/block/dasd_eer.c if (filp->f_flags & O_NONBLOCK) f_flags 120 drivers/s390/char/hmcdrv_dev.c if (fp->f_flags & O_NONBLOCK) f_flags 126 drivers/s390/char/hmcdrv_dev.c if ((fp->f_flags & O_ACCMODE) == O_RDONLY) f_flags 226 drivers/s390/char/hmcdrv_dev.c if (((fp->f_flags & O_ACCMODE) == O_WRONLY) || f_flags 379 drivers/s390/char/monreader.c if (filp->f_flags & O_NONBLOCK) f_flags 324 drivers/s390/char/vmlogrdr.c if (filp->f_flags & O_NONBLOCK) f_flags 700 drivers/s390/char/vmur.c accmode = file->f_flags & O_ACCMODE; f_flags 719 drivers/s390/char/vmur.c if (file->f_flags & O_NONBLOCK) { f_flags 787 drivers/s390/char/vmur.c if ((file->f_flags & O_ACCMODE) != O_RDONLY) f_flags 626 drivers/scsi/ch.c file->f_flags & O_NDELAY); f_flags 1040 drivers/scsi/cxlflash/ocxl_hw.c if (file->f_flags & O_NONBLOCK) { f_flags 2331 drivers/scsi/mpt3sas/mpt3sas_ctl.c state = (file->f_flags & O_NONBLOCK) ? NON_BLOCKING : BLOCKING; f_flags 286 drivers/scsi/sg.c int flags = filp->f_flags; f_flags 468 drivers/scsi/sg.c if (filp->f_flags & O_NONBLOCK) { f_flags 626 drivers/scsi/sg.c if (!((filp->f_flags & O_NONBLOCK) || f_flags 636 drivers/scsi/sg.c blocking = !(filp->f_flags & O_NONBLOCK); f_flags 916 drivers/scsi/sg.c read_only = (O_RDWR != (filp->f_flags & O_ACCMODE)); f_flags 1141 drivers/scsi/sg.c cmd_in, filp->f_flags & O_NDELAY); f_flags 1043 drivers/scsi/st.c unsigned short st_flags = filp->f_flags; f_flags 1063 drivers/scsi/st.c do_wait = ((filp->f_flags & O_NONBLOCK) == 0); f_flags 1301 drivers/scsi/st.c STp->write_prot = ((filp->f_flags & O_ACCMODE) == O_RDONLY); f_flags 1316 drivers/scsi/st.c if ((filp->f_flags & O_NONBLOCK) == 0 && f_flags 3533 drivers/scsi/st.c file->f_flags & O_NDELAY); f_flags 88 drivers/soc/aspeed/aspeed-lpc-snoop.c if (file->f_flags & O_NONBLOCK) f_flags 648 drivers/staging/axis-fifo/axis-fifo.c if (((f->f_flags & O_ACCMODE) == O_WRONLY) || f_flags 649 drivers/staging/axis-fifo/axis-fifo.c ((f->f_flags & O_ACCMODE) == O_RDWR)) { f_flags 651 drivers/staging/axis-fifo/axis-fifo.c fifo->write_flags = f->f_flags; f_flags 658 drivers/staging/axis-fifo/axis-fifo.c if (((f->f_flags & O_ACCMODE) == O_RDONLY) || f_flags 659 drivers/staging/axis-fifo/axis-fifo.c ((f->f_flags & O_ACCMODE) == O_RDWR)) { f_flags 661 drivers/staging/axis-fifo/axis-fifo.c fifo->read_flags = f->f_flags; f_flags 2504 drivers/staging/comedi/comedi_fops.c if (file->f_flags & O_NONBLOCK) { f_flags 2638 drivers/staging/comedi/comedi_fops.c if (file->f_flags & O_NONBLOCK) { f_flags 178 drivers/staging/isdn/hysdn/hysdn_proclog.c if (file->f_flags & O_NONBLOCK) f_flags 816 drivers/staging/media/omap4iss/iss_video.c return vb2_dqbuf(&vfh->queue, b, file->f_flags & O_NONBLOCK); f_flags 406 drivers/staging/media/soc_camera/soc_camera.c return vb2_dqbuf(&icd->vb2_vidq, p, file->f_flags & O_NONBLOCK); f_flags 774 drivers/staging/media/soc_camera/soc_camera.c file->f_flags & O_NONBLOCK); f_flags 129 drivers/staging/most/cdev/cdev.c ((filp->f_flags & O_ACCMODE) != O_RDONLY)) || f_flags 131 drivers/staging/most/cdev/cdev.c ((filp->f_flags & O_ACCMODE) != O_WRONLY))) { f_flags 201 drivers/staging/most/cdev/cdev.c if ((filp->f_flags & O_NONBLOCK)) f_flags 253 drivers/staging/most/cdev/cdev.c if (filp->f_flags & O_NONBLOCK) f_flags 166 drivers/staging/most/video/video.c if (!(filp->f_flags & O_NONBLOCK)) { f_flags 223 drivers/staging/speakup/speakup_soft.c if (fp->f_flags & O_NONBLOCK) { f_flags 33 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c (acpi_thermal_rel_chrdev_count && (file->f_flags & O_EXCL))) { f_flags 38 drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c if (file->f_flags & O_EXCL) f_flags 1075 drivers/tty/n_r3964.c if (file->f_flags & O_NONBLOCK) { f_flags 2152 drivers/tty/n_tty.c if (file->f_flags & O_NONBLOCK) { f_flags 273 drivers/tty/serial/kgdb_nmi.c unsigned int mode = file->f_flags & O_ACCMODE; f_flags 286 drivers/tty/serial/kgdb_nmi.c unsigned int mode = file->f_flags & O_ACCMODE; f_flags 3261 drivers/tty/synclink.c if (filp->f_flags & O_NONBLOCK || tty_io_error(tty)) { f_flags 3241 drivers/tty/synclink_gt.c if (filp->f_flags & O_NONBLOCK || tty_io_error(tty)) { f_flags 3266 drivers/tty/synclinkmp.c if (filp->f_flags & O_NONBLOCK || tty_io_error(tty)) { f_flags 910 drivers/tty/tty_io.c ret = tty_write_lock(tty, file->f_flags & O_NDELAY); f_flags 1812 drivers/tty/tty_io.c filp->f_flags |= O_NONBLOCK; /* Don't let /dev/tty block */ f_flags 1857 drivers/tty/tty_io.c filp->f_flags |= O_NONBLOCK; f_flags 2021 drivers/tty/tty_io.c unsigned saved_flags = filp->f_flags; f_flags 2052 drivers/tty/tty_io.c filp->f_flags = saved_flags; f_flags 2075 drivers/tty/tty_io.c noctty = (filp->f_flags & O_NOCTTY) || f_flags 475 drivers/tty/tty_port.c if (filp == NULL || (filp->f_flags & O_NONBLOCK)) { f_flags 600 drivers/uio/uio.c if (filep->f_flags & O_NONBLOCK) { f_flags 386 drivers/usb/class/cdc-wdm.c if (!(file->f_flags & O_NONBLOCK)) f_flags 503 drivers/usb/class/cdc-wdm.c if (file->f_flags & O_NONBLOCK) { f_flags 728 drivers/usb/class/usblp.c if ((rv = usblp_wwait(usblp, !!(file->f_flags & O_NONBLOCK))) < 0) f_flags 768 drivers/usb/class/usblp.c rv = usblp_wwait(usblp, !!(file->f_flags&O_NONBLOCK)); f_flags 825 drivers/usb/class/usblp.c rv = usblp_rwait_and_lock(usblp, !!(file->f_flags & O_NONBLOCK)); f_flags 339 drivers/usb/gadget/function/f_fs.c ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); f_flags 516 drivers/usb/gadget/function/f_fs.c ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); f_flags 544 drivers/usb/gadget/function/f_fs.c if ((file->f_flags & O_NONBLOCK) && !ffs->ev.count) { f_flags 659 drivers/usb/gadget/function/f_fs.c ret = ffs_mutex_lock(&ffs->mutex, file->f_flags & O_NONBLOCK); f_flags 959 drivers/usb/gadget/function/f_fs.c if (file->f_flags & O_NONBLOCK) f_flags 974 drivers/usb/gadget/function/f_fs.c ret = ffs_mutex_lock(&epfile->mutex, file->f_flags & O_NONBLOCK); f_flags 1297 drivers/usb/gadget/function/f_fs.c if (file->f_flags & O_NONBLOCK) f_flags 265 drivers/usb/gadget/function/f_hid.c if (file->f_flags & O_NONBLOCK) f_flags 352 drivers/usb/gadget/function/f_hid.c if (file->f_flags & O_NONBLOCK) f_flags 764 drivers/usb/gadget/function/f_mass_storage.c curlun->filp->f_flags &= ~O_SYNC; /* Default is not to wait */ f_flags 788 drivers/usb/gadget/function/f_mass_storage.c curlun->filp->f_flags |= O_SYNC; f_flags 463 drivers/usb/gadget/function/f_printer.c if (fd->f_flags & (O_NONBLOCK|O_NDELAY)) { f_flags 576 drivers/usb/gadget/function/f_printer.c if (fd->f_flags & (O_NONBLOCK|O_NDELAY)) { f_flags 182 drivers/usb/gadget/function/uvc_v4l2.c return uvcg_dequeue_buffer(&video->queue, b, file->f_flags & O_NONBLOCK); f_flags 288 drivers/usb/gadget/legacy/inode.c get_ready_ep (unsigned f_flags, struct ep_data *epdata, bool is_write) f_flags 292 drivers/usb/gadget/legacy/inode.c if (f_flags & O_NONBLOCK) { f_flags 398 drivers/usb/gadget/legacy/inode.c if ((status = get_ready_ep (fd->f_flags, data, false)) < 0) f_flags 581 drivers/usb/gadget/legacy/inode.c if ((value = get_ready_ep(file->f_flags, epdata, false)) < 0) f_flags 641 drivers/usb/gadget/legacy/inode.c if ((value = get_ready_ep(file->f_flags, epdata, true)) < 0) f_flags 962 drivers/usb/gadget/legacy/inode.c if ((fd->f_flags & O_NONBLOCK) != 0 f_flags 1047 drivers/usb/gadget/legacy/inode.c if (fd->f_flags & O_NONBLOCK) { f_flags 303 drivers/usb/misc/iowarrior.c if (file->f_flags & O_NONBLOCK) f_flags 395 drivers/usb/misc/iowarrior.c if (file->f_flags & O_NONBLOCK) { f_flags 470 drivers/usb/misc/ldusb.c if (file->f_flags & O_NONBLOCK) { f_flags 552 drivers/usb/misc/ldusb.c if (file->f_flags & O_NONBLOCK) { f_flags 571 drivers/usb/misc/legousbtower.c if (file->f_flags & O_NONBLOCK) { f_flags 652 drivers/usb/misc/legousbtower.c if (file->f_flags & O_NONBLOCK) { f_flags 1304 drivers/usb/mon/mon_bin.c if (file->f_flags & O_NONBLOCK) { f_flags 490 drivers/usb/mon/mon_text.c if (file->f_flags & O_NONBLOCK) { f_flags 254 drivers/usb/usb-skeleton.c if (file->f_flags & O_NONBLOCK) { f_flags 378 drivers/usb/usb-skeleton.c if (!(file->f_flags & O_NONBLOCK)) { f_flags 1759 drivers/vhost/net.c int noblock = file->f_flags & O_NONBLOCK; f_flags 617 drivers/virt/fsl_hypervisor.c if (filp->f_flags & O_NONBLOCK) f_flags 220 drivers/xen/evtchn.c if (file->f_flags & O_NONBLOCK) f_flags 79 drivers/xen/mcelog.c (xen_mce_chrdev_open_count && (file->f_flags & O_EXCL))) { f_flags 85 drivers/xen/mcelog.c if (file->f_flags & O_EXCL) f_flags 138 drivers/xen/xenbus/xenbus_dev_frontend.c if (filp->f_flags & O_NONBLOCK) f_flags 165 fs/9p/cache.c if ((filp->f_flags & O_ACCMODE) != O_RDONLY) f_flags 56 fs/9p/vfs_file.c omode = v9fs_open_to_dotl_flags(file->f_flags); f_flags 58 fs/9p/vfs_file.c omode = v9fs_uflags2omode(file->f_flags, f_flags 71 fs/9p/vfs_file.c if ((file->f_flags & O_APPEND) && f_flags 80 fs/9p/vfs_file.c ((file->f_flags & O_ACCMODE) != O_RDONLY)) { f_flags 146 fs/afs/file.c if (file->f_flags & O_TRUNC) f_flags 215 fs/autofs/autofs_i.h pipe->f_flags |= O_DIRECT; f_flags 217 fs/autofs/autofs_i.h pipe->f_flags &= ~O_NONBLOCK; f_flags 1832 fs/block_dev.c filp->f_flags |= O_LARGEFILE; f_flags 1836 fs/block_dev.c if (filp->f_flags & O_NDELAY) f_flags 1838 fs/block_dev.c if (filp->f_flags & O_EXCL) f_flags 1840 fs/block_dev.c if ((filp->f_flags & O_ACCMODE) == 3) f_flags 1953 fs/block_dev.c if (file->f_flags & O_NDELAY) f_flags 360 fs/ceph/file.c flags = file->f_flags & ~(O_CREAT|O_EXCL); f_flags 365 fs/ceph/file.c ceph_vinop(inode), file, flags, file->f_flags); f_flags 595 fs/ceph/file.c (file->f_flags & O_DIRECT) ? "O_DIRECT" : ""); f_flags 175 fs/cifs/cifs_debug.c cfile->f_flags, f_flags 891 fs/cifs/cifsfs.c if (iocb->ki_filp->f_flags & O_DIRECT) f_flags 908 fs/cifs/cifsfs.c if (iocb->ki_filp->f_flags & O_DIRECT) { f_flags 1261 fs/cifs/cifsglob.h unsigned int f_flags; f_flags 181 fs/cifs/cifsproto.h unsigned int f_flags, __u32 *oplock, __u16 *netfid, f_flags 550 fs/cifs/dir.c if (file->f_flags & O_DIRECT && f_flags 115 fs/cifs/file.c struct super_block *sb, int mode, unsigned int f_flags, f_flags 141 fs/cifs/file.c posix_flags = cifs_posix_convert_flags(f_flags); f_flags 177 fs/cifs/file.c struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, f_flags 191 fs/cifs/file.c desired_access = cifs_convert_flags(f_flags); f_flags 217 fs/cifs/file.c disposition = cifs_get_disposition(f_flags); f_flags 229 fs/cifs/file.c if (f_flags & O_SYNC) f_flags 232 fs/cifs/file.c if (f_flags & O_DIRECT) f_flags 323 fs/cifs/file.c cfile->f_flags = file->f_flags; f_flags 549 fs/cifs/file.c inode, file->f_flags, full_path); f_flags 551 fs/cifs/file.c if (file->f_flags & O_DIRECT && f_flags 570 fs/cifs/file.c file->f_flags, &oplock, &fid.netfid, xid); f_flags 599 fs/cifs/file.c file->f_flags, &oplock, &fid, xid); f_flags 720 fs/cifs/file.c inode, cfile->f_flags, full_path); f_flags 734 fs/cifs/file.c unsigned int oflags = cfile->f_flags & f_flags 751 fs/cifs/file.c desired_access = cifs_convert_flags(cfile->f_flags); f_flags 757 fs/cifs/file.c if (cfile->f_flags & O_SYNC) f_flags 760 fs/cifs/file.c if (cfile->f_flags & O_DIRECT) f_flags 1901 fs/cifs/file.c if (OPEN_FMODE(open_file->f_flags) & FMODE_READ) { f_flags 1963 fs/cifs/file.c if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { f_flags 3824 fs/cifs/file.c if ((file->f_flags & O_ACCMODE) == O_WRONLY) f_flags 3987 fs/cifs/file.c if ((file->f_flags & O_ACCMODE) == O_WRONLY) f_flags 4515 fs/cifs/file.c if (OPEN_FMODE(open_file->f_flags) & FMODE_WRITE) { f_flags 4610 fs/cifs/file.c if ((file->f_flags & O_ACCMODE) != O_WRONLY && !oncethru) { f_flags 196 fs/cifs/fscache.c if ((filp->f_flags & O_ACCMODE) != O_RDONLY) f_flags 203 fs/coda/file.c unsigned short flags = coda_file->f_flags & (~O_EXCL); f_flags 221 fs/coda/file.c host_file->f_flags |= coda_file->f_flags & (O_APPEND | O_SYNC); f_flags 236 fs/coda/file.c unsigned short flags = (coda_file->f_flags) & (~O_EXCL); f_flags 225 fs/coda/psdev.c if (file->f_flags & O_NONBLOCK) { f_flags 811 fs/dlm/user.c if (file->f_flags & O_NONBLOCK) { f_flags 226 fs/ecryptfs/file.c if ((ecryptfs_inode_to_private(inode)->lower_file->f_flags & O_ACCMODE) f_flags 227 fs/ecryptfs/file.c == O_RDONLY && (file->f_flags & O_ACCMODE) != O_RDONLY) { f_flags 277 fs/ecryptfs/file.c file->f_flags, current_cred()); f_flags 234 fs/eventfd.c else if (!(file->f_flags & O_NONBLOCK)) { f_flags 284 fs/eventfd.c else if (!(file->f_flags & O_NONBLOCK)) { f_flags 4848 fs/ext4/extents.c if (file->f_flags & O_SYNC) f_flags 4945 fs/ext4/extents.c if (file->f_flags & O_SYNC && EXT4_SB(inode->i_sb)->s_journal) { f_flags 1851 fs/f2fs/file.c if (filp->f_flags & O_DIRECT) f_flags 44 fs/fcntl.c if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) f_flags 48 fs/fcntl.c if ((arg & O_NOATIME) && !(filp->f_flags & O_NOATIME)) f_flags 72 fs/fcntl.c if (((arg ^ filp->f_flags) & FASYNC) && filp->f_op->fasync) { f_flags 80 fs/fcntl.c filp->f_flags = (arg & SETFL_MASK) | (filp->f_flags & ~SETFL_MASK); f_flags 344 fs/fcntl.c err = filp->f_flags; f_flags 884 fs/fcntl.c filp->f_flags &= ~FASYNC; f_flags 937 fs/fcntl.c filp->f_flags |= FASYNC; f_flags 117 fs/file_table.c f->f_flags = flags; f_flags 275 fs/file_table.c if (unlikely(file->f_flags & FASYNC)) { f_flags 148 fs/fuse/cuse.c fuse_sync_release(NULL, ff, file->f_flags); f_flags 1213 fs/fuse/dev.c if (file->f_flags & O_NONBLOCK) f_flags 41 fs/fuse/file.c inarg.flags = file->f_flags & ~(O_CREAT | O_EXCL | O_NOCTTY); f_flags 201 fs/fuse/file.c if (fc->atomic_o_trunc && (file->f_flags & O_TRUNC)) { f_flags 220 fs/fuse/file.c bool is_wb_truncate = (file->f_flags & O_TRUNC) && f_flags 283 fs/fuse/file.c fuse_prepare_release(fi, ff, file->f_flags, opcode); f_flags 560 fs/fuse/file.c ia->read.in.flags = file->f_flags; f_flags 1043 fs/fuse/file.c unsigned int flags = iocb->ki_filp->f_flags; f_flags 576 fs/gfs2/file.c if (!(file->f_flags & O_NOATIME) && f_flags 1090 fs/gfs2/file.c if ((file->f_flags & O_DSYNC) || IS_SYNC(file->f_mapping->host)) f_flags 1092 fs/gfs2/file.c (file->f_flags & __O_SYNC) ? 0 : 1); f_flags 219 fs/hfsplus/inode.c if (!(file->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS) f_flags 1122 fs/io_uring.c (req->file->f_flags & O_NONBLOCK)) f_flags 529 fs/ioctl.c filp->f_flags |= flag; f_flags 531 fs/ioctl.c filp->f_flags &= ~flag; f_flags 548 fs/ioctl.c if ((flag ^ filp->f_flags) & FASYNC) { f_flags 1455 fs/locks.c if (filp && !(filp->f_flags & O_NONBLOCK)) f_flags 3521 fs/namei.c if (unlikely(file->f_flags & __O_TMPFILE)) { f_flags 3523 fs/namei.c } else if (unlikely(file->f_flags & O_PATH)) { f_flags 72 fs/nfs/file.c res = nfs_check_flags(filp->f_flags); f_flags 106 fs/nfs/file.c if (filp->f_flags & O_DIRECT) f_flags 32 fs/nfs/nfs4file.c unsigned openflags = filp->f_flags; f_flags 1329 fs/nfs/write.c if (file->f_flags & O_DSYNC) f_flags 108 fs/notify/fanotify/fanotify_user.c client_fd = get_unused_fd_flags(group->fanotify_data.f_flags); f_flags 120 fs/notify/fanotify/fanotify_user.c group->fanotify_data.f_flags | FMODE_NONOTIFY, f_flags 358 fs/notify/fanotify/fanotify_user.c if (file->f_flags & O_NONBLOCK) f_flags 769 fs/notify/fanotify/fanotify_user.c int f_flags, fd; f_flags 808 fs/notify/fanotify/fanotify_user.c f_flags = O_RDWR | FMODE_NONOTIFY; f_flags 810 fs/notify/fanotify/fanotify_user.c f_flags |= O_CLOEXEC; f_flags 812 fs/notify/fanotify/fanotify_user.c f_flags |= O_NONBLOCK; f_flags 836 fs/notify/fanotify/fanotify_user.c group->fanotify_data.f_flags = event_f_flags; f_flags 878 fs/notify/fanotify/fanotify_user.c fd = anon_inode_getfd("[fanotify]", &fanotify_fops, group, f_flags); f_flags 148 fs/notify/fdinfo.c group->fanotify_data.flags, group->fanotify_data.f_flags); f_flags 246 fs/notify/inotify/inotify_user.c if (file->f_flags & O_NONBLOCK) f_flags 129 fs/ocfs2/dlmfs/dlmfs.c file->f_flags); f_flags 131 fs/ocfs2/dlmfs/dlmfs.c status = dlmfs_decode_open_flags(file->f_flags, &level, &flags); f_flags 137 fs/ocfs2/dlmfs/dlmfs.c file->f_flags &= ~O_APPEND; f_flags 86 fs/ocfs2/file.c int mode = file->f_flags; f_flags 1980 fs/ocfs2/file.c if (file && (file->f_flags & O_SYNC)) f_flags 2397 fs/ocfs2/file.c if (((file->f_flags & O_DSYNC) && !direct_io) || f_flags 171 fs/open.c if (f.file->f_flags & O_LARGEFILE) f_flags 750 fs/open.c if (unlikely(f->f_flags & O_PATH)) { f_flags 757 fs/open.c if (unlikely(f->f_flags & FMODE_EXEC && !S_ISREG(inode->i_mode))) { f_flags 788 fs/open.c error = break_lease(locks_inode(f), f->f_flags); f_flags 812 fs/open.c f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); f_flags 817 fs/open.c if (f->f_flags & O_DIRECT) { f_flags 1223 fs/open.c if (!(filp->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS) f_flags 132 fs/orangefs/devorangefs-req.c if (!(file->f_flags & O_NONBLOCK)) { f_flags 169 fs/orangefs/devorangefs-req.c if (!(file->f_flags & O_NONBLOCK)) { f_flags 30 fs/overlayfs/file.c int flags = file->f_flags | O_NOATIME | FMODE_NONOTIFY; f_flags 38 fs/overlayfs/file.c file, file, ovl_whatisit(inode, realinode), file->f_flags, f_flags 39 fs/overlayfs/file.c realfile, IS_ERR(realfile) ? 0 : realfile->f_flags); f_flags 55 fs/overlayfs/file.c if (WARN_ON((file->f_flags ^ flags) & ~OVL_SETFL_MASK)) f_flags 60 fs/overlayfs/file.c if (((flags ^ file->f_flags) & O_APPEND) && IS_APPEND(inode)) f_flags 76 fs/overlayfs/file.c file->f_flags = (file->f_flags & ~OVL_SETFL_MASK) | flags; f_flags 105 fs/overlayfs/file.c if (unlikely((file->f_flags ^ real->file->f_flags) & ~O_NOATIME)) f_flags 106 fs/overlayfs/file.c return ovl_change_flags(real->file, file->f_flags); f_flags 121 fs/overlayfs/file.c err = ovl_maybe_copy_up(file_dentry(file), file->f_flags); f_flags 126 fs/overlayfs/file.c file->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); f_flags 193 fs/overlayfs/file.c if (file->f_flags & O_NOATIME) f_flags 896 fs/overlayfs/readdir.c realfile = ovl_path_open(&realpath, file->f_flags); f_flags 345 fs/pipe.c if (filp->f_flags & O_NONBLOCK) { f_flags 375 fs/pipe.c return (file->f_flags & O_DIRECT) != 0; f_flags 481 fs/pipe.c if (filp->f_flags & O_NONBLOCK) { f_flags 948 fs/pipe.c if ((filp->f_flags & O_NONBLOCK)) { f_flags 966 fs/pipe.c if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers) f_flags 23 fs/proc/fd.c int f_flags = 0, ret = -ENOENT; f_flags 42 fs/proc/fd.c f_flags = file->f_flags; f_flags 44 fs/proc/fd.c f_flags |= O_CLOEXEC; f_flags 57 fs/proc/fd.c (long long)file->f_pos, f_flags, f_flags 37 fs/proc/kmsg.c if ((file->f_flags & O_NONBLOCK) && f_flags 1460 fs/read_write.c if (in.file->f_flags & O_NONBLOCK) f_flags 217 fs/signalfd.c int nonblock = file->f_flags & O_NONBLOCK; f_flags 1057 fs/splice.c if (unlikely(out->f_flags & O_APPEND)) f_flags 1124 fs/splice.c if ((in->f_flags | out->f_flags) & O_NONBLOCK) f_flags 1145 fs/splice.c if (unlikely(out->f_flags & O_APPEND)) f_flags 1152 fs/splice.c if (in->f_flags & O_NONBLOCK) f_flags 1179 fs/splice.c if (out->f_flags & O_NONBLOCK) f_flags 1746 fs/splice.c if ((in->f_flags | out->f_flags) & O_NONBLOCK) f_flags 90 fs/statfs.c buf->f_flags = calculate_f_flags(path->mnt); f_flags 158 fs/statfs.c buf.f_flags = st->f_flags; f_flags 182 fs/statfs.c buf.f_flags = st->f_flags; f_flags 290 fs/statfs.c buf.f_flags = kbuf->f_flags; f_flags 337 fs/statfs.c buf.f_flags = kbuf->f_flags; f_flags 256 fs/timerfd.c if (file->f_flags & O_NONBLOCK) f_flags 991 fs/userfaultfd.c if (unlikely(!(file->f_flags & O_NONBLOCK))) f_flags 1206 fs/userfaultfd.c int no_wait = file->f_flags & O_NONBLOCK; f_flags 911 fs/xfs/xfs_file.c if (file->f_flags & O_DSYNC) f_flags 1035 fs/xfs/xfs_file.c if (!(file->f_flags & O_LARGEFILE) && i_size_read(inode) > MAX_NON_LFS) f_flags 247 fs/xfs/xfs_ioctl.c filp->f_flags |= O_NOATIME; f_flags 612 fs/xfs/xfs_ioctl.c if (filp->f_flags & O_DSYNC) f_flags 1953 fs/xfs/xfs_ioctl.c (f.file->f_flags & O_APPEND)) { f_flags 1966 fs/xfs/xfs_ioctl.c (tmp.file->f_flags & O_APPEND)) { f_flags 952 include/linux/fs.h unsigned int f_flags; f_flags 2209 include/linux/fs.h if (!(file->f_flags & O_NOATIME)) f_flags 2543 include/linux/fs.h return dentry_open(&file->f_path, file->f_flags, file->f_cred); f_flags 3368 include/linux/fs.h return (filp->f_flags & O_DIRECT) || IS_DAX(filp->f_mapping->host); f_flags 3393 include/linux/fs.h if (file->f_flags & O_APPEND) f_flags 3397 include/linux/fs.h if ((file->f_flags & O_DSYNC) || IS_SYNC(file->f_mapping->host)) f_flags 3399 include/linux/fs.h if (file->f_flags & __O_SYNC) f_flags 72 include/linux/fsnotify.h if (file->f_flags & __FMODE_EXEC) { f_flags 270 include/linux/fsnotify.h if (file->f_flags & __FMODE_EXEC) f_flags 207 include/linux/fsnotify_backend.h int f_flags; /* event_f_flags from fanotify_init() */ f_flags 19 include/linux/statfs.h long f_flags; f_flags 391 include/linux/tty.h return file->f_flags & O_NONBLOCK || f_flags 466 include/sound/pcm.h unsigned int f_flags; f_flags 34 include/uapi/asm-generic/statfs.h __statfs_word f_flags; f_flags 57 include/uapi/asm-generic/statfs.h __statfs_word f_flags; f_flags 80 include/uapi/asm-generic/statfs.h __u32 f_flags; f_flags 67 include/uapi/linux/coff.h char f_flags[2]; /* flags */ f_flags 1059 ipc/mqueue.c if (f.file->f_flags & O_NONBLOCK) { f_flags 1162 ipc/mqueue.c if (f.file->f_flags & O_NONBLOCK) { f_flags 1393 ipc/mqueue.c old->mq_flags = f.file->f_flags & O_NONBLOCK; f_flags 1399 ipc/mqueue.c f.file->f_flags |= O_NONBLOCK; f_flags 1401 ipc/mqueue.c f.file->f_flags &= ~O_NONBLOCK; f_flags 1431 ipc/shm.c int f_flags; f_flags 1464 ipc/shm.c f_flags = O_RDONLY; f_flags 1468 ipc/shm.c f_flags = O_RDWR; f_flags 1526 ipc/shm.c file = alloc_file_clone(base, f_flags, f_flags 484 kernel/bpf/inode.c int f_flags; f_flags 487 kernel/bpf/inode.c f_flags = bpf_get_file_flag(flags); f_flags 488 kernel/bpf/inode.c if (f_flags < 0) f_flags 489 kernel/bpf/inode.c return f_flags; f_flags 495 kernel/bpf/inode.c raw = bpf_obj_do_get(pname, &type, f_flags); f_flags 504 kernel/bpf/inode.c ret = bpf_map_new_fd(raw, f_flags); f_flags 555 kernel/bpf/syscall.c int f_flags; f_flags 562 kernel/bpf/syscall.c f_flags = bpf_get_file_flag(attr->map_flags); f_flags 563 kernel/bpf/syscall.c if (f_flags < 0) f_flags 564 kernel/bpf/syscall.c return f_flags; f_flags 619 kernel/bpf/syscall.c err = bpf_map_new_fd(map, f_flags); f_flags 2194 kernel/bpf/syscall.c int f_flags; f_flags 2204 kernel/bpf/syscall.c f_flags = bpf_get_file_flag(attr->open_flags); f_flags 2205 kernel/bpf/syscall.c if (f_flags < 0) f_flags 2206 kernel/bpf/syscall.c return f_flags; f_flags 2219 kernel/bpf/syscall.c fd = bpf_map_new_fd(map, f_flags); f_flags 10914 kernel/events/core.c int f_flags = O_RDWR; f_flags 10965 kernel/events/core.c f_flags |= O_CLOEXEC; f_flags 10967 kernel/events/core.c event_fd = get_unused_fd_flags(f_flags); f_flags 11133 kernel/events/core.c f_flags); f_flags 59 kernel/power/user.c if ((filp->f_flags & O_ACCMODE) == O_RDWR) { f_flags 68 kernel/power/user.c if ((filp->f_flags & O_ACCMODE) == O_RDONLY) { f_flags 897 kernel/printk/printk.c if (file->f_flags & O_NONBLOCK) { f_flags 1016 kernel/printk/printk.c if ((file->f_flags & O_ACCMODE) != O_WRONLY) { f_flags 49 kernel/time/posix-clock.c err = clk->ops.read(clk, fp->f_flags, buf, count); f_flags 3594 kernel/trace/ftrace.c if (file->f_flags & O_TRUNC) { f_flags 5236 kernel/trace/ftrace.c if (file->f_flags & O_TRUNC) f_flags 6583 kernel/trace/ftrace.c (file->f_flags & O_TRUNC)) f_flags 4271 kernel/trace/trace.c if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) { f_flags 5975 kernel/trace/trace.c if ((filp->f_flags & O_NONBLOCK)) { f_flags 7163 kernel/trace/trace.c if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) f_flags 7297 kernel/trace/trace.c if ((filp->f_flags & O_NONBLOCK)) f_flags 7497 kernel/trace/trace.c if ((file->f_flags & O_NONBLOCK) || (flags & SPLICE_F_NONBLOCK)) f_flags 181 kernel/trace/trace_dynevent.c if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) { f_flags 1810 kernel/trace/trace_events.c (file->f_flags & O_TRUNC)) f_flags 1831 kernel/trace/trace_events.c (file->f_flags & O_TRUNC)) f_flags 1506 kernel/trace/trace_events_hist.c if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) { f_flags 192 kernel/trace/trace_events_trigger.c (file->f_flags & O_TRUNC)) { f_flags 966 kernel/trace/trace_kprobe.c if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) { f_flags 770 kernel/trace/trace_uprobe.c if ((file->f_mode & FMODE_WRITE) && (file->f_flags & O_TRUNC)) { f_flags 2920 mm/filemap.c if (!(file->f_flags & O_LARGEFILE)) f_flags 3063 mm/filemap.c (file_out->f_flags & O_APPEND)) f_flags 313 mm/memfd.c file->f_flags |= O_LARGEFILE; f_flags 259 net/9p/trans_fd.c if (!(ts->rd->f_flags & O_NONBLOCK)) f_flags 421 net/9p/trans_fd.c if (!(ts->wr->f_flags & O_NONBLOCK)) f_flags 845 net/9p/trans_fd.c p->rd->f_flags |= O_NONBLOCK; f_flags 132 net/batman-adv/icmp_socket.c if ((file->f_flags & O_NONBLOCK) && socket_client->queue_len == 0) f_flags 118 net/batman-adv/log.c if ((file->f_flags & O_NONBLOCK) && batadv_log_empty(debug_log)) f_flags 798 net/ipv4/tcp.c timeo = sock_rcvtimeo(sk, sock->file->f_flags & O_NONBLOCK); f_flags 2752 net/ipv4/udp.c if ((mask & EPOLLRDNORM) && !(file->f_flags & O_NONBLOCK) && f_flags 57 net/qrtr/tun.c if (filp->f_flags & O_NONBLOCK) f_flags 1175 net/rfkill/core.c if (file->f_flags & O_NONBLOCK) { f_flags 1335 net/sctp/socket.c flags = sk->sk_socket->file->f_flags; f_flags 5727 net/sctp/socket.c (*newfile)->f_flags |= O_NONBLOCK; f_flags 931 net/socket.c flags = (file->f_flags & O_NONBLOCK) ? MSG_DONTWAIT : 0; f_flags 958 net/socket.c if (file->f_flags & O_NONBLOCK || (iocb->ki_flags & IOCB_NOWAIT)) f_flags 983 net/socket.c if (file->f_flags & O_NONBLOCK || (iocb->ki_flags & IOCB_NOWAIT)) f_flags 1754 net/socket.c err = sock->ops->accept(sock, newsock, sock->file->f_flags, false); f_flags 1829 net/socket.c sock->file->f_flags); f_flags 1949 net/socket.c if (sock->file->f_flags & O_NONBLOCK) f_flags 2007 net/socket.c if (sock->file->f_flags & O_NONBLOCK) f_flags 2282 net/socket.c if (sock->file->f_flags & O_NONBLOCK) f_flags 2527 net/socket.c if (sock->file->f_flags & O_NONBLOCK) f_flags 2450 net/unix/af_unix.c if (sock->file->f_flags & O_NONBLOCK || f_flags 545 security/apparmor/apparmorfs.c if (file->f_flags & O_NONBLOCK) f_flags 218 security/apparmor/include/file.h int flags = file->f_flags; f_flags 268 security/integrity/ima/ima_api.c if (file->f_flags & O_DIRECT) f_flags 329 security/integrity/ima/ima_api.c if ((!result || result == -EEXIST) && !(file->f_flags & O_DIRECT)) { f_flags 420 security/integrity/ima/ima_crypto.c if (file->f_flags & O_DIRECT) { f_flags 428 security/integrity/ima/ima_crypto.c int flags = file->f_flags & ~(O_WRONLY | O_APPEND | f_flags 385 security/integrity/ima/ima_fs.c if (!(filp->f_flags & O_WRONLY)) { f_flags 389 security/integrity/ima/ima_fs.c if ((filp->f_flags & O_ACCMODE) != O_RDONLY) f_flags 412 security/integrity/ima/ima_fs.c if ((file->f_flags & O_ACCMODE) == O_RDONLY) f_flags 349 security/integrity/ima/ima_main.c if ((file->f_flags & O_DIRECT) && (iint->flags & IMA_PERMIT_DIRECTIO)) f_flags 2012 security/selinux/hooks.c if (file->f_flags & O_APPEND) f_flags 3528 security/selinux/hooks.c if ((file->f_flags & O_APPEND) && (mask & MAY_WRITE)) f_flags 3784 security/selinux/hooks.c if ((file->f_flags & O_APPEND) && !(arg & O_APPEND)) { f_flags 300 security/tomoyo/tomoyo.c if (!(cmd == F_SETFL && ((arg ^ file->f_flags) & O_APPEND))) f_flags 320 security/tomoyo/tomoyo.c f->f_flags); f_flags 86 sound/core/compress_offload.c if ((f->f_flags & O_ACCMODE) == O_WRONLY) f_flags 88 sound/core/compress_offload.c else if ((f->f_flags & O_ACCMODE) == O_RDONLY) f_flags 1605 sound/core/control.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { f_flags 109 sound/core/hwdep.c if (file->f_flags & O_NONBLOCK) { f_flags 247 sound/core/info.c mode = file->f_flags & O_ACCMODE; f_flags 278 sound/core/info.c entry->c.ops->release(entry, file->f_flags & O_ACCMODE, f_flags 318 sound/core/init.c if ((file->f_flags & FASYNC) && df->disconnected_f_op->fasync) f_flags 1412 sound/core/oss/pcm_oss.c else if ((substream->f_flags & O_NONBLOCK) != 0) { f_flags 1427 sound/core/oss/pcm_oss.c if ((substream->f_flags & O_NONBLOCK) != 0 && f_flags 1694 sound/core/oss/pcm_oss.c saved_f_flags = substream->f_flags; f_flags 1695 sound/core/oss/pcm_oss.c substream->f_flags &= ~O_NONBLOCK; f_flags 1697 sound/core/oss/pcm_oss.c substream->f_flags = saved_f_flags; f_flags 1976 sound/core/oss/pcm_oss.c file->f_flags |= O_NONBLOCK; f_flags 2334 sound/core/oss/pcm_oss.c substream->f_flags |= O_NONBLOCK; f_flags 2336 sound/core/oss/pcm_oss.c substream->f_flags &= ~O_NONBLOCK; f_flags 2396 sound/core/oss/pcm_oss.c file->f_flags &= ~O_APPEND; f_flags 2482 sound/core/oss/pcm_oss.c nonblock = !!(file->f_flags & O_NONBLOCK); f_flags 2735 sound/core/oss/pcm_oss.c substream->f_flags = file->f_flags & O_NONBLOCK; f_flags 2759 sound/core/oss/pcm_oss.c substream->f_flags = file->f_flags & O_NONBLOCK; f_flags 913 sound/core/pcm.c if (file->f_flags & O_APPEND) { f_flags 972 sound/core/pcm.c substream->f_flags = file->f_flags; f_flags 2158 sound/core/pcm_lib.c nonblock = !!(substream->f_flags & O_NONBLOCK); f_flags 1687 sound/core/pcm_native.c int f_flags) f_flags 1695 sound/core/pcm_native.c substream->f_flags = f_flags; f_flags 1731 sound/core/pcm_native.c int f_flags; f_flags 1734 sound/core/pcm_native.c f_flags = file->f_flags; f_flags 1736 sound/core/pcm_native.c f_flags = substream->f_flags; f_flags 1750 sound/core/pcm_native.c substream, f_flags); f_flags 1847 sound/core/pcm_native.c if (file->f_flags & O_NONBLOCK) f_flags 1849 sound/core/pcm_native.c } else if (substream->f_flags & O_NONBLOCK) f_flags 2578 sound/core/pcm_native.c if (file->f_flags & O_NONBLOCK) { f_flags 378 sound/core/rawmidi.c if ((file->f_flags & O_APPEND) && !(file->f_flags & O_NONBLOCK)) f_flags 410 sound/core/rawmidi.c if ((file->f_flags & O_APPEND) || maj == SOUND_MAJOR) /* OSS emul? */ f_flags 425 sound/core/rawmidi.c if (file->f_flags & O_NONBLOCK) { f_flags 1030 sound/core/rawmidi.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { f_flags 1359 sound/core/rawmidi.c if (file->f_flags & O_NONBLOCK) { f_flags 1383 sound/core/rawmidi.c if ((size_t)count1 < count && (file->f_flags & O_NONBLOCK)) f_flags 1387 sound/core/rawmidi.c if (file->f_flags & O_DSYNC) { f_flags 286 sound/core/seq/oss/seq_oss_init.c if ((file->f_flags & O_ACCMODE) != O_RDONLY) f_flags 288 sound/core/seq/oss/seq_oss_init.c if ((file->f_flags & O_ACCMODE) != O_WRONLY) f_flags 290 sound/core/seq/oss/seq_oss_init.c if (file->f_flags & O_NONBLOCK) f_flags 438 sound/core/seq/seq_clientmgr.c nonblock = (file->f_flags & O_NONBLOCK) || result > 0; f_flags 1094 sound/core/seq/seq_clientmgr.c !(file->f_flags & O_NONBLOCK), f_flags 2072 sound/core/timer.c if ((file->f_flags & O_NONBLOCK) != 0 || result > 0) { f_flags 720 sound/oss/dmasound/dmasound_core.c if (file->f_flags & O_NONBLOCK) f_flags 749 sound/oss/dmasound/dmasound_core.c sq->non_blocking = file->f_flags & O_NONBLOCK;