Defined in 12 files as a macro:
- arch/alpha/include/uapi/asm/fcntl.h, line 10 (as a macro)
- arch/mips/include/uapi/asm/fcntl.h, line 16 (as a macro)
- arch/parisc/include/uapi/asm/fcntl.h, line 12 (as a macro)
- arch/sparc/include/uapi/asm/fcntl.h, line 11 (as a macro)
- include/uapi/asm-generic/fcntl.h, line 39 (as a macro)
- tools/include/nolibc/nolibc.h, line 449 (as a macro)
- tools/include/nolibc/nolibc.h, line 629 (as a macro)
- tools/include/nolibc/nolibc.h, line 814 (as a macro)
- tools/include/nolibc/nolibc.h, line 1011 (as a macro)
- tools/include/nolibc/nolibc.h, line 1213 (as a macro)
- tools/include/nolibc/nolibc.h, line 1414 (as a macro)
- tools/include/uapi/asm-generic/fcntl.h, line 38 (as a macro)
Referenced in 301 files:
- arch/ia64/kernel/perfmon.c, line 1554
- arch/ia64/kernel/salinfo.c, line 292
- arch/mips/include/asm/socket.h, line 46
- arch/mips/kernel/rtlx.c, 3 times
- arch/powerpc/kernel/rtasd.c, line 345
- arch/powerpc/platforms/cell/spufs/file.c, 5 times
- arch/powerpc/platforms/powernv/opal-prd.c, line 183
- arch/sparc/include/uapi/asm/fcntl.h, line 15
- arch/um/drivers/random.c, line 72
- arch/um/os-Linux/file.c, 4 times
- arch/um/os-Linux/sigio.c, 2 times
- arch/x86/kernel/apm_32.c, line 1473
- drivers/acpi/acpi_dbg.c, 2 times
- drivers/android/binder.c, line 4865
- drivers/auxdisplay/panel.c, line 1083
- drivers/bluetooth/hci_vhci.c, line 265
- drivers/char/apm-emulation.c, line 212
- drivers/char/dtlk.c, 2 times
- drivers/char/hpet.c, line 322
- drivers/char/hw_random/core.c, 2 times
- drivers/char/ipmi/ipmb_dev_int.c, line 88
- drivers/char/ipmi/ipmi_watchdog.c, line 792
- drivers/char/ipmi/kcs_bmc.c, line 281
- drivers/char/lp.c, 3 times
- drivers/char/pcmcia/cm4000_cs.c, 21 times
- drivers/char/pcmcia/cm4040_cs.c, 3 times
- drivers/char/ppdev.c, 4 times
- drivers/char/random.c, line 2019
- drivers/char/rtc.c, line 353
- drivers/char/sonypi.c, line 905
- drivers/char/tpm/tpm-dev-common.c, line 204
- drivers/char/virtio_console.c, 3 times
- drivers/char/xillybus/xillybus_core.c, 5 times
- drivers/dma-buf/dma-buf.c, line 447
- drivers/gnss/core.c, line 102
- drivers/gpio/gpiolib.c, 2 times
- drivers/gpu/drm/drm_debugfs_crc.c, line 295
- drivers/gpu/drm/drm_file.c, line 512
- drivers/gpu/drm/drm_lease.c, 2 times
- drivers/gpu/drm/i915/i915_perf.c, 2 times
- drivers/hid/hid-debug.c, line 1104
- drivers/hid/hid-roccat.c, line 91
- drivers/hid/hid-sensor-custom.c, line 650
- drivers/hid/hidraw.c, line 61
- drivers/hid/uhid.c, line 665
- drivers/hid/usbhid/hiddev.c, line 363
- drivers/hsi/clients/cmt_speech.c, line 1156
- drivers/iio/industrialio-buffer.c, 2 times
- drivers/iio/industrialio-event.c, 2 times
- drivers/infiniband/core/ucma.c, line 415
- drivers/infiniband/core/user_mad.c, 2 times
- drivers/infiniband/core/uverbs_main.c, line 236
- drivers/infiniband/hw/mlx5/devx.c, 2 times
- drivers/infiniband/sw/siw/siw_cm.c, line 938
- drivers/input/evdev.c, 2 times
- drivers/input/joydev.c, line 402
- drivers/input/misc/uinput.c, 2 times
- drivers/input/mousedev.c, line 725
- drivers/input/serio/serio_raw.c, 2 times
- drivers/input/serio/userio.c, line 156
- drivers/isdn/capi/capi.c, line 659
- drivers/isdn/mISDN/timerdev.c, line 110
- drivers/leds/uleds.c, 2 times
- drivers/macintosh/adb.c, line 742
- drivers/macintosh/smu.c, line 1186
- drivers/macintosh/via-pmu.c, line 2216
- drivers/mailbox/mailbox-test.c, line 192
- drivers/media/cec/cec-api.c, line 487
- drivers/media/common/saa7146/saa7146_vbi.c, line 479
- drivers/media/common/saa7146/saa7146_video.c, 3 times
- drivers/media/common/siano/smsdvb-debugfs.c, line 385
- drivers/media/common/videobuf2/videobuf2-v4l2.c, 3 times
- drivers/media/dvb-core/dmxdev.c, 6 times
- drivers/media/dvb-core/dvb_ca_en50221.c, line 1621
- drivers/media/dvb-core/dvb_frontend.c, line 297
- drivers/media/pci/bt8xx/bttv-driver.c, 4 times
- drivers/media/pci/cx18/cx18-fileops.c, 2 times
- drivers/media/pci/cx18/cx18-ioctl.c, line 906
- drivers/media/pci/ddbridge/ddbridge-core.c, 2 times
- drivers/media/pci/ivtv/ivtv-fileops.c, 3 times
- drivers/media/pci/ivtv/ivtv-ioctl.c, line 1636
- drivers/media/pci/meye/meye.c, 2 times
- drivers/media/pci/saa7134/saa7134-video.c, line 1195
- drivers/media/pci/saa7164/saa7164-encoder.c, 2 times
- drivers/media/pci/saa7164/saa7164-vbi.c, 3 times
- drivers/media/pci/ttpci/av7110_av.c, 7 times
- drivers/media/pci/ttpci/av7110_ca.c, 2 times
- drivers/media/platform/aspeed-video.c, line 1169
- drivers/media/platform/davinci/vpfe_capture.c, line 1356
- drivers/media/platform/fsl-viu.c, 2 times
- drivers/media/platform/omap3isp/ispvideo.c, line 950
- drivers/media/platform/s3c-camif/camif-capture.c, line 949
- drivers/media/platform/s5p-mfc/s5p_mfc_dec.c, 2 times
- drivers/media/platform/s5p-mfc/s5p_mfc_enc.c, 2 times
- drivers/media/platform/vivid/vivid-radio-rx.c, 2 times
- drivers/media/platform/vivid/vivid-radio-tx.c, line 63
- drivers/media/radio/radio-cadet.c, line 337
- drivers/media/radio/radio-mr800.c, line 350
- drivers/media/radio/radio-si476x.c, 2 times
- drivers/media/radio/radio-tea5777.c, line 382
- drivers/media/radio/radio-wl1273.c, 2 times
- drivers/media/radio/si470x/radio-si470x-common.c, 2 times
- drivers/media/radio/tea575x.c, line 367
- drivers/media/radio/wl128x/fmdrv_common.c, line 1065
- drivers/media/radio/wl128x/fmdrv_v4l2.c, line 391
- drivers/media/rc/lirc_dev.c, 2 times
- drivers/media/usb/cpia2/cpia2_v4l.c, 2 times
- drivers/media/usb/cx231xx/cx231xx-417.c, 2 times
- drivers/media/usb/cx231xx/cx231xx-video.c, 2 times
- drivers/media/usb/em28xx/em28xx-audio.c, 5 times
- drivers/media/usb/hdpvr/hdpvr-video.c, 2 times
- drivers/media/usb/pvrusb2/pvrusb2-v4l2.c, line 1126
- drivers/media/usb/stkwebcam/stk-webcam.c, 2 times
- drivers/media/usb/tm6000/tm6000-video.c, 2 times
- drivers/media/usb/usbvision/usbvision-video.c, line 879
- drivers/media/usb/uvc/uvc_v4l2.c, line 772
- drivers/media/usb/zr364xx/zr364xx.c, 2 times
- drivers/media/v4l2-core/v4l2-ioctl.c, line 2527
- drivers/media/v4l2-core/v4l2-mem2mem.c, line 516
- drivers/media/v4l2-core/v4l2-subdev.c, line 393
- drivers/message/fusion/mptctl.c, 3 times
- drivers/misc/cxl/api.c, line 83
- drivers/misc/cxl/file.c, line 452
- drivers/misc/genwqe/card_ddcb.c, line 788
- drivers/misc/ibmvmc.c, line 960
- drivers/misc/lis3lv02d/lis3lv02d.c, line 610
- drivers/misc/mei/main.c, 3 times
- drivers/misc/mic/scif/scif_fd.c, line 80
- drivers/misc/ocxl/file.c, line 425
- drivers/net/ieee802154/ca8210.c, line 2572
- drivers/net/ppp/ppp_generic.c, line 462
- drivers/net/tap.c, 2 times
- drivers/net/tun.c, 2 times
- drivers/net/wireless/ralink/rt2x00/rt2x00debug.c, line 251
- drivers/nvme/target/tcp.c, line 1534
- drivers/pci/switch/switchtec.c, line 496
- drivers/platform/chrome/cros_ec_chardev.c, line 215
- drivers/platform/chrome/cros_ec_debugfs.c, line 138
- drivers/platform/chrome/wilco_ec/event.c, line 368
- drivers/platform/goldfish/goldfish_pipe.c, line 471
- drivers/platform/x86/sony-laptop.c, line 4089
- drivers/rapidio/devices/rio_mport_cdev.c, line 2268
- drivers/rpmsg/rpmsg_char.c, 2 times
- drivers/rtc/dev.c, line 165
- drivers/s390/block/dasd_eer.c, line 634
- drivers/s390/char/hmcdrv_dev.c, line 120
- drivers/s390/char/monreader.c, line 379
- drivers/s390/char/vmlogrdr.c, line 324
- drivers/s390/char/vmur.c, line 719
- drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c, line 131
- drivers/scsi/cxlflash/ocxl_hw.c, 2 times
- drivers/scsi/mpt3sas/mpt3sas_ctl.c, line 2318
- drivers/scsi/sg.c, 5 times
- drivers/scsi/st.c, 2 times
- drivers/soc/aspeed/aspeed-lpc-snoop.c, line 88
- drivers/staging/axis-fifo/axis-fifo.c, 2 times
- drivers/staging/comedi/comedi_fops.c, 2 times
- drivers/staging/isdn/hysdn/hysdn_proclog.c, line 178
- drivers/staging/media/omap4iss/iss_video.c, line 816
- drivers/staging/media/soc_camera/soc_camera.c, 2 times
- drivers/staging/most/cdev/cdev.c, 2 times
- drivers/staging/most/video/video.c, line 166
- drivers/staging/speakup/speakup_soft.c, line 223
- drivers/tty/n_r3964.c, line 1075
- drivers/tty/n_tty.c, line 2152
- drivers/tty/synclink.c, line 3261
- drivers/tty/synclink_gt.c, line 3241
- drivers/tty/tty_io.c, 2 times
- drivers/tty/tty_port.c, line 474
- drivers/uio/uio.c, line 600
- drivers/usb/class/cdc-wdm.c, 2 times
- drivers/usb/class/usblp.c, 3 times
- drivers/usb/gadget/function/f_fs.c, 7 times
- drivers/usb/gadget/function/f_hid.c, 2 times
- drivers/usb/gadget/function/f_printer.c, 2 times
- drivers/usb/gadget/function/uvc_v4l2.c, line 182
- drivers/usb/gadget/legacy/inode.c, 3 times
- drivers/usb/misc/iowarrior.c, 2 times
- drivers/usb/misc/ldusb.c, 2 times
- drivers/usb/misc/legousbtower.c, 2 times
- drivers/usb/mon/mon_bin.c, line 1294
- drivers/usb/mon/mon_text.c, line 490
- drivers/usb/usb-skeleton.c, 2 times
- drivers/vhost/net.c, line 1767
- drivers/virt/fsl_hypervisor.c, line 617
- drivers/xen/evtchn.c, line 220
- drivers/xen/pvcalls-back.c, line 538
- drivers/xen/xenbus/xenbus_dev_frontend.c, line 138
- fs/9p/vfs_inode_dotl.c, line 175
- fs/anon_inodes.c, line 92
- fs/autofs/autofs_i.h, line 217
- fs/cifs/connect.c, line 3892
- fs/coda/psdev.c, line 225
- fs/dlm/lowcomms.c, 3 times
- fs/dlm/user.c, line 811
- fs/eventfd.c, 3 times
- fs/fcntl.c, 4 times
- fs/fuse/dev.c, line 1213
- fs/io_uring.c, line 1119
- fs/ioctl.c, 2 times
- fs/locks.c, 2 times
- fs/nfs/nfstrace.h, 2 times
- fs/nfsd/vfs.c, line 682
- fs/notify/fanotify/fanotify_user.c, 3 times
- fs/notify/inotify/inotify_user.c, 2 times
- fs/ocfs2/cluster/tcp.c, 2 times
- fs/ocfs2/dlmfs/dlmfs.c, line 112
- fs/orangefs/devorangefs-req.c, 2 times
- fs/overlayfs/file.c, line 44
- fs/pipe.c, 7 times
- fs/proc/kmsg.c, line 37
- fs/read_write.c, line 1460
- fs/signalfd.c, 3 times
- fs/splice.c, 4 times
- fs/timerfd.c, 2 times
- fs/userfaultfd.c, 4 times
- include/linux/eventfd.h, 2 times
- include/linux/fcntl.h, line 10
- include/linux/fs.h, 2 times
- include/linux/net.h, line 77
- include/linux/tty.h, line 389
- include/linux/userfaultfd_k.h, 2 times
- include/uapi/asm-generic/fcntl.h, 2 times
- include/uapi/linux/inotify.h, line 73
- include/uapi/linux/signalfd.h, line 18
- include/uapi/linux/timerfd.h, line 33
- ipc/mqueue.c, 7 times
- kernel/printk/printk.c, line 885
- kernel/trace/trace.c, 3 times
- net/9p/trans_fd.c, 3 times
- net/atm/svc.c, 3 times
- net/ax25/af_ax25.c, 2 times
- net/batman-adv/icmp_socket.c, line 132
- net/batman-adv/log.c, line 118
- net/bluetooth/af_bluetooth.c, line 578
- net/bluetooth/l2cap_sock.c, 2 times
- net/bluetooth/rfcomm/core.c, 2 times
- net/bluetooth/rfcomm/sock.c, 2 times
- net/bluetooth/sco.c, 2 times
- net/caif/caif_socket.c, 3 times
- net/ceph/messenger.c, line 481
- net/decnet/af_decnet.c, 2 times
- net/ipv4/af_inet.c, 2 times
- net/ipv4/inet_connection_sock.c, 2 times
- net/ipv4/tcp.c, 2 times
- net/ipv4/udp.c, line 2747
- net/iucv/af_iucv.c, 2 times
- net/llc/af_llc.c, line 491
- net/netrom/af_netrom.c, 2 times
- net/nfc/llcp_sock.c, 2 times
- net/phonet/pep.c, line 775
- net/phonet/socket.c, line 224
- net/qrtr/tun.c, line 57
- net/rds/tcp_connect.c, line 172
- net/rds/tcp_listen.c, line 149
- net/rfkill/core.c, line 1172
- net/rose/af_rose.c, 2 times
- net/sctp/socket.c, 3 times
- net/smc/af_smc.c, 3 times
- net/socket.c, 15 times
- net/sunrpc/svcsock.c, line 790
- net/sunrpc/xprtsock.c, 3 times
- net/tipc/socket.c, 2 times
- net/tipc/topsrv.c, line 457
- net/unix/af_unix.c, 3 times
- net/vmw_vsock/af_vsock.c, 2 times
- net/x25/af_x25.c, line 808
- samples/bpf/xdp_router_ipv4_user.c, 2 times
- samples/hidraw/hid-example.c, line 57
- security/apparmor/apparmorfs.c, line 544
- sound/core/control.c, line 1604
- sound/core/hwdep.c, line 109
- sound/core/oss/pcm_oss.c, 9 times
- sound/core/pcm_lib.c, line 2157
- sound/core/pcm_native.c, 3 times
- sound/core/rawmidi.c, 5 times
- sound/core/seq/oss/seq_oss_init.c, line 290
- sound/core/seq/seq_clientmgr.c, 2 times
- sound/core/timer.c, line 2062
- sound/oss/dmasound/dmasound_core.c, 2 times
- tools/iio/iio_generic_buffer.c, line 629
- tools/include/uapi/asm-generic/fcntl.h, 2 times
- tools/laptop/dslm/dslm.c, line 147
- tools/perf/builtin-ftrace.c, line 360
- tools/perf/builtin-kvm.c, line 922
- tools/perf/lib/evlist.c, line 274
- tools/perf/tests/bp_signal.c, line 136
- tools/perf/tests/bp_signal_overflow.c, line 103
- tools/perf/trace/beauty/open_flags.c, line 53
- tools/power/acpi/tools/acpidbg/acpidbg.c, 3 times
- tools/testing/selftests/bpf/test_lirc_mode2_user.c, 2 times
- tools/testing/selftests/bpf/test_sockmap.c, line 480
- tools/testing/selftests/ir/ir_loopback.c, line 87
- tools/testing/selftests/mqueue/mq_perf_tests.c, 3 times
- tools/testing/selftests/net/nettest.c, 2 times
- tools/testing/selftests/net/tls.c, 2 times
- tools/testing/selftests/proc/read.c, line 45
- tools/testing/selftests/vm/compaction_test.c, 2 times
- tools/testing/selftests/vm/userfaultfd.c, 6 times
- tools/virtio/virtio-trace/trace-agent-rw.c, line 67
- tools/wmi/dell-smbios-example.c, line 47