O_RDWR
Defined as a preprocessor macro in:
Referenced (in 231 files total) in:
- Documentation/usb/usbdevfs-drop-permissions.c, line 61
- arch/alpha/boot/tools/mkbb.c, line 101
- arch/arm/vdso/vdsomunge.c, line 179
- arch/arm64/kernel/pi/relacheck.c, line 54
- arch/mips/vdso/genvdso.c, line 115
- arch/powerpc/boot/addnote.c, line 125
- arch/powerpc/boot/mktree.c, line 87
- arch/powerpc/kvm/book3s_64_vio.c, line 345
- arch/sparc/boot/piggyback.c, line 198
- arch/um/drivers/null.c, line 27
- arch/um/drivers/pty.c, line 94
- arch/um/drivers/slip_user.c, line 140
- arch/um/drivers/tty.c, line 46
- arch/um/drivers/vector_user.c, line 137
- arch/um/os-Linux/file.c, line 185
- arch/um/os-Linux/mem.c, line 134
- arch/um/os-Linux/start_up.c, line 317
- arch/um/os-Linux/tty.c, line 32
- arch/um/os-Linux/umid.c, line 223
- arch/xtensa/platforms/iss/simdisk.c, line 165
- block/bdev.c, 2 times
- block/fops.c, line 603
- fs/9p/vfs_file.c, 2 times
- fs/9p/vfs_inode.c, 2 times
- fs/9p/vfs_inode_dotl.c, line 245
- fs/aio.c, line 272
- fs/bcachefs/fs.c, line 1172
- fs/bcachefs/thread_with_file.c, line 31
- fs/cachefiles/namei.c, 2 times
- fs/ceph/file.c, 3 times
- fs/ceph/util.c, line 71
- fs/coda/coda_linux.c, line 51
- fs/ecryptfs/kthread.c, 2 times
- fs/eventfd.c, line 407
- fs/eventpoll.c, 2 times
- fs/fsopen.c, line 92
- fs/hostfs/hostfs_user.c, 2 times
- fs/hugetlbfs/inode.c, line 1633
- fs/namei.c, line 3635
- fs/nfs/delegation.c, 3 times
- fs/nfs/nfs4trace.h, line 861
- fs/nfsd/nfs4proc.c, line 207
- fs/nfsd/nfs4state.c, 9 times
- fs/nfsd/vfs.c, line 887
- fs/notify/fanotify/fanotify_user.c, 2 times
- fs/ntfs3/file.c, line 1259
- fs/ocfs2/dlmfs/dlmfs.c, line 103
- fs/pstore/blk.c, line 212
- fs/signalfd.c, line 281
- fs/smb/client/dir.c, line 560
- fs/smb/client/file.c, 2 times
- fs/smb/server/smb2pdu.c, line 2083
- fs/timerfd.c, line 458
- fs/vboxsf/file.c, line 91
- include/linux/fcntl.h, line 10
- include/trace/misc/fs.h, 2 times
- include/uapi/asm-generic/fcntl.h, line 22
- include/uapi/drm/drm.h, line 884
- init/do_mounts_rd.c, line 198
- init/main.c, line 1536
- io_uring/io_uring.c, 2 times
- ipc/mqueue.c, line 888
- ipc/shm.c, line 1564
- kernel/bpf/inode.c, line 547
- kernel/bpf/syscall.c, 2 times
- kernel/bpf/token.c, line 185
- kernel/events/core.c, line 12498
- kernel/fork.c, line 2010
- kernel/power/user.c, line 63
- kernel/seccomp.c, line 1867
- mm/secretmem.c, line 212
- mm/shmem.c, line 5102
- mm/swapfile.c, 2 times
- net/socket.c, line 470
- samples/acrn/vm-sample.c, line 61
- samples/auxdisplay/cfag12864b-example.c, line 53
- samples/hidraw/hid-example.c, line 57
- samples/mei/mei-amt-version.c, line 120
- samples/nitro_enclaves/ne_ioctl_sample.c, line 789
- samples/pfsm/pfsm-wakeup.c, line 45
- samples/uhid/uhid-example.c, line 416
- samples/user_events/example.c, line 45
- scripts/insert-sys-cert.c, line 207
- scripts/sorttable.c, line 87
- security/apparmor/file.c, line 683
- security/landlock/syscalls.c, line 224
- security/selinux/hooks.c, line 2457
- sound/core/info.c, 2 times
- tools/arch/x86/dell-uart-backlight-emulator/dell-uart-backlight-emulator.c, line 53
- tools/bootconfig/main.c, 2 times
- tools/bpf/resolve_btfids/main.c, line 337
- tools/counter/counter_example.c, line 49
- tools/counter/counter_watch_events.c, line 348
- tools/firewire/nosy-dump.c, line 931
- tools/gpio/gpio-watch.c, line 35
- tools/hv/hv_fcopy_uio_daemon.c, 2 times
- tools/hv/hv_kvp_daemon.c, 2 times
- tools/hv/hv_vss_daemon.c, line 259
- tools/include/uapi/drm/drm.h, line 884
- tools/laptop/freefall/freefall.c, line 56
- tools/leds/uledmon.c, line 37
- tools/lib/bpf/libbpf.c, line 4939
- tools/lib/subcmd/run-command.c, line 24
- tools/mm/page-types.c, line 1348
- tools/objtool/elf.c, line 1019
- tools/objtool/objtool.c, line 93
- tools/pci/pcitest.c, line 47
- tools/perf/builtin-daemon.c, 3 times
- tools/perf/jvmti/jvmti_agent.c, line 284
- tools/perf/tests/bp_signal.c, line 131
- tools/perf/tests/bp_signal_overflow.c, line 108
- tools/perf/util/data.c, 3 times
- tools/perf/util/evlist.c, 2 times
- tools/perf/util/probe-file.c, 2 times
- tools/perf/util/trace-event-info.c, line 623
- tools/power/acpi/tools/acpidbg/acpidbg.c, line 422
- tools/power/acpi/tools/pfrut/pfrut.c, 2 times
- tools/power/x86/intel-speed-select/isst-config.c, 6 times
- tools/power/x86/intel-speed-select/isst-core-mbox.c, 2 times
- tools/power/x86/intel-speed-select/isst-core-tpmi.c, line 60
- tools/power/x86/intel-speed-select/isst-core.c, line 78
- tools/power/x86/intel-speed-select/isst-daemon.c, 2 times
- tools/spi/spidev_fdx.c, line 143
- tools/spi/spidev_test.c, line 448
- tools/testing/selftests/bpf/cgroup_helpers.c, 2 times
- tools/testing/selftests/bpf/prog_tests/flow_dissector.c, line 458
- tools/testing/selftests/bpf/prog_tests/fs_kfuncs.c, line 73
- tools/testing/selftests/bpf/prog_tests/lwt_helpers.h, line 44
- tools/testing/selftests/bpf/prog_tests/migrate_reuseport.c, line 152
- tools/testing/selftests/bpf/prog_tests/select_reuseport.c, line 182
- tools/testing/selftests/bpf/prog_tests/subprogs.c, line 35
- tools/testing/selftests/bpf/prog_tests/tc_redirect.c, line 1074
- tools/testing/selftests/bpf/prog_tests/token.c, line 374
- tools/testing/selftests/bpf/progs/profiler.inc.h, 2 times
- tools/testing/selftests/bpf/test_lirc_mode2_user.c, line 69
- tools/testing/selftests/breakpoints/step_after_suspend_test.c, line 140
- tools/testing/selftests/cachestat/test_cachestat.c, 3 times
- tools/testing/selftests/cgroup/cgroup_util.c, line 471
- tools/testing/selftests/cgroup/test_core.c, 2 times
- tools/testing/selftests/core/close_range_test.c, 3 times
- tools/testing/selftests/damon/debugfs_target_ids_pid_leak.c, line 22
- tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.c, 3 times
- tools/testing/selftests/damon/huge_count_read_write.c, line 20
- tools/testing/selftests/dma/dma_map_benchmark.c, line 100
- tools/testing/selftests/dmabuf-heaps/dmabuf-heap.c, 6 times
- tools/testing/selftests/drivers/dma-buf/udmabuf.c, line 143
- tools/testing/selftests/efivarfs/create-read.c, line 26
- tools/testing/selftests/exec/execveat.c, 2 times
- tools/testing/selftests/filelock/ofdlocks.c, line 39
- tools/testing/selftests/filesystems/devpts_pts.c, 2 times
- tools/testing/selftests/filesystems/eventfd/eventfd_test.c, 7 times
- tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c, line 133
- tools/testing/selftests/futex/functional/futex_wait.c, line 126
- tools/testing/selftests/gpio/gpio-chip-info.c, line 32
- tools/testing/selftests/gpio/gpio-line-name.c, line 33
- tools/testing/selftests/hid/hid_bpf.c, 2 times
- tools/testing/selftests/ia64/aliasing-test.c, line 30
- tools/testing/selftests/iommu/iommufd.c, 5 times
- tools/testing/selftests/iommu/iommufd_fail_nth.c, 8 times
- tools/testing/selftests/iommu/iommufd_utils.h, line 624
- tools/testing/selftests/ir/ir_loopback.c, line 96
- tools/testing/selftests/kcmp/kcmp_test.c, 2 times
- tools/testing/selftests/kvm/access_tracking_perf_test.c, 2 times
- tools/testing/selftests/kvm/hardware_disable_test.c, line 52
- tools/testing/selftests/kvm/lib/kvm_util.c, line 193
- tools/testing/selftests/landlock/fs_test.c, 39 times
- tools/testing/selftests/media_tests/media_device_open.c, line 70
- tools/testing/selftests/media_tests/media_device_test.c, line 79
- tools/testing/selftests/media_tests/video_device_test.c, line 143
- tools/testing/selftests/memfd/memfd_test.c, 5 times
- tools/testing/selftests/mincore/mincore_selftest.c, 2 times
- tools/testing/selftests/mm/compaction_test.c, 2 times
- tools/testing/selftests/mm/cow.c, line 1800
- tools/testing/selftests/mm/gup_longterm.c, line 458
- tools/testing/selftests/mm/gup_test.c, 2 times
- tools/testing/selftests/mm/hmm-tests.c, 3 times
- tools/testing/selftests/mm/hugetlb_dio.c, line 43
- tools/testing/selftests/mm/khugepaged.c, line 376
- tools/testing/selftests/mm/ksm_functional_tests.c, 3 times
- tools/testing/selftests/mm/mkdirty.c, line 341
- tools/testing/selftests/mm/pagemap_ioctl.c, 2 times
- tools/testing/selftests/mm/protection_keys.c, 2 times
- tools/testing/selftests/mm/soft-dirty.c, line 140
- tools/testing/selftests/mm/split_huge_page_test.c, 2 times
- tools/testing/selftests/mm/transhuge-stress.c, line 62
- tools/testing/selftests/mm/uffd-common.c, line 666
- tools/testing/selftests/mm/uffd-unit-tests.c, line 281
- tools/testing/selftests/mm/write_to_hugetlbfs.c, line 169
- tools/testing/selftests/mount/nosymfollow-test.c, 2 times
- tools/testing/selftests/mount_setattr/mount_setattr_test.c, 6 times
- tools/testing/selftests/mqueue/mq_open_tests.c, 2 times
- tools/testing/selftests/mqueue/mq_perf_tests.c, line 294
- tools/testing/selftests/nci/nci_dev.c, line 421
- tools/testing/selftests/net/reuseport_bpf.c, line 426
- tools/testing/selftests/net/tap.c, line 207
- tools/testing/selftests/net/tcp_fastopen_backup_key.c, line 322
- tools/testing/selftests/net/tls.c, line 1369
- tools/testing/selftests/net/tun.c, line 47
- tools/testing/selftests/nolibc/nolibc-test.c, 2 times
- tools/testing/selftests/openat2/openat2_test.c, 8 times
- tools/testing/selftests/powerpc/alignment/alignment_handler.c, 2 times
- tools/testing/selftests/powerpc/mce/inject-ra-err.c, line 44
- tools/testing/selftests/powerpc/mm/subpage_prot.c, line 197
- tools/testing/selftests/powerpc/nx-gzip/gzip_vas.c, line 57
- tools/testing/selftests/powerpc/papr_sysparm/papr_sysparm.c, 2 times
- tools/testing/selftests/ptp/testptp.c, line 294
- tools/testing/selftests/sgx/load.c, line 192
- tools/testing/selftests/sparc64/drivers/adi-test.c, line 687
- tools/testing/selftests/sync/sync.c, line 168
- tools/testing/selftests/tdx/tdx_guest_test.c, line 137
- tools/testing/selftests/thermal/intel/power_floor/power_floor_test.c, 2 times
- tools/testing/selftests/thermal/intel/workload_hint/workload_hint_test.c, 3 times
- tools/testing/selftests/uevent/uevent_filtering.c, line 200
- tools/testing/selftests/user_events/abi_test.c, 6 times
- tools/testing/selftests/user_events/dyn_test.c, 4 times
- tools/testing/selftests/user_events/ftrace_test.c, 8 times
- tools/testing/selftests/user_events/perf_test.c, 2 times
- tools/testing/selftests/wireguard/qemu/init.c, line 219
- tools/testing/selftests/x86/lam.c, line 1055
- tools/testing/selftests/x86/syscall_numbering.c, line 451
- tools/testing/selftests/x86/test_shadow_stack.c, 2 times
- tools/tracing/rtla/src/utils.c, 3 times
- tools/usb/ffs-aio-example/multibuff/device_app/aio_multibuff.c, 2 times
- tools/usb/ffs-aio-example/simple/device_app/aio_simple.c, 2 times
- tools/usb/ffs-test.c, line 384
- tools/usb/testusb.c, line 297
- tools/virtio/vhost_net_test.c, 2 times
- tools/virtio/virtio_test.c, line 137
- tools/virtio/vringh_test.c, line 149
- virt/kvm/guest_memfd.c, line 414
- virt/kvm/kvm_main.c, 3 times
kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.