O_DIRECTORY 180 fs/9p/vfs_inode_dotl.c { O_DIRECTORY, P9_DOTL_DIRECTORY }, O_DIRECTORY 43 fs/ceph/file.c ceph_sys2wire(O_DIRECTORY); O_DIRECTORY 362 fs/ceph/file.c flags = O_DIRECTORY; /* mds likes to know */ O_DIRECTORY 90 fs/cifs/file.c if (flags & O_DIRECTORY) O_DIRECTORY 3059 fs/namei.c open_flag |= O_DIRECTORY; O_DIRECTORY 1541 fs/nfs/dir.c if ((open_flags & O_DIRECTORY)) { O_DIRECTORY 342 fs/nfs/nfstrace.h TRACE_DEFINE_ENUM(O_DIRECTORY); O_DIRECTORY 360 fs/nfs/nfstrace.h { O_DIRECTORY, "O_DIRECTORY" }, \ O_DIRECTORY 551 fs/nfsd/nfs4recover.c nn->rec_file = filp_open(user_recovery_dirname, O_RDONLY | O_DIRECTORY, 0); O_DIRECTORY 993 fs/open.c flags &= O_DIRECTORY | O_NOFOLLOW | O_PATH; O_DIRECTORY 1018 fs/open.c if (flags & O_DIRECTORY) O_DIRECTORY 300 fs/overlayfs/readdir.c realfile = ovl_path_open(realpath, O_RDONLY | O_DIRECTORY); O_DIRECTORY 11 include/linux/fcntl.h FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \ O_DIRECTORY 53 include/uapi/asm-generic/fcntl.h #ifndef O_DIRECTORY O_DIRECTORY 93 include/uapi/asm-generic/fcntl.h #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) O_DIRECTORY 94 include/uapi/asm-generic/fcntl.h #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT) O_DIRECTORY 61 net/ceph/ceph_fs.c #ifdef O_DIRECTORY /* fixme */ O_DIRECTORY 62 net/ceph/ceph_fs.c if ((flags & O_DIRECTORY) == O_DIRECTORY) O_DIRECTORY 158 samples/bpf/test_cgrp2_attach.c cg_fd = open(argv[optind], O_DIRECTORY | O_RDONLY); O_DIRECTORY 257 samples/bpf/test_cgrp2_sock.c cg_fd = open(cgrp_path, O_DIRECTORY | O_RDONLY); O_DIRECTORY 40 samples/bpf/test_cgrp2_sock2.c cg_fd = open(argv[1], O_DIRECTORY | O_RDONLY); O_DIRECTORY 58 samples/pidfd/pidfd-metadata.c procfd = open(path, O_DIRECTORY | O_RDONLY | O_CLOEXEC); O_DIRECTORY 52 tools/include/uapi/asm-generic/fcntl.h #ifndef O_DIRECTORY O_DIRECTORY 92 tools/include/uapi/asm-generic/fcntl.h #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) O_DIRECTORY 93 tools/include/uapi/asm-generic/fcntl.h #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT) O_DIRECTORY 17 tools/perf/tests/openat-syscall-tp-fields.c #ifndef O_DIRECTORY O_DIRECTORY 37 tools/perf/tests/openat-syscall-tp-fields.c int flags = O_RDONLY | O_DIRECTORY; O_DIRECTORY 10 tools/perf/trace/beauty/open_flags.c #ifndef O_DIRECTORY O_DIRECTORY 1773 tools/testing/selftests/bpf/test_sockmap.c cg_fd = open(optarg, O_DIRECTORY, O_RDONLY); O_DIRECTORY 224 tools/testing/selftests/capabilities/test_execve.c int ourpath_fd = open(our_path, O_RDONLY | O_DIRECTORY); O_DIRECTORY 228 tools/testing/selftests/exec/execveat.c int subdir_dfd = open_or_die("subdir", O_DIRECTORY|O_RDONLY); O_DIRECTORY 230 tools/testing/selftests/exec/execveat.c O_DIRECTORY|O_RDONLY); O_DIRECTORY 231 tools/testing/selftests/exec/execveat.c int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); O_DIRECTORY 232 tools/testing/selftests/exec/execveat.c int root_dfd = open_or_die("/", O_DIRECTORY|O_RDONLY); O_DIRECTORY 233 tools/testing/selftests/exec/execveat.c int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); O_DIRECTORY 234 tools/testing/selftests/exec/execveat.c int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC); O_DIRECTORY 59 tools/testing/selftests/pidfd/pidfd_test.c pidfd = open("/proc/self", O_DIRECTORY | O_CLOEXEC); O_DIRECTORY 99 tools/testing/selftests/pidfd/pidfd_test.c pidfd = open(buf, O_DIRECTORY | O_CLOEXEC); O_DIRECTORY 184 tools/testing/selftests/pidfd/pidfd_test.c pidfd = open(buf, O_DIRECTORY | O_CLOEXEC); O_DIRECTORY 320 tools/testing/selftests/pidfd/pidfd_test.c pidfd = open("/proc/self", O_DIRECTORY | O_CLOEXEC); O_DIRECTORY 52 tools/testing/selftests/pidfd/pidfd_wait.c pidfd = open("/proc/self", O_DIRECTORY | O_RDONLY | O_CLOEXEC); O_DIRECTORY 146 tools/testing/selftests/proc/fd-001-lookup.c fd = open("/", O_PATH|O_DIRECTORY); O_DIRECTORY 153 tools/testing/selftests/proc/fd-001-lookup.c fd = open("/", O_PATH|O_DIRECTORY); O_DIRECTORY 32 tools/testing/selftests/proc/fd-002-posix-eq.c fd0 = open("/", O_DIRECTORY|O_RDONLY); O_DIRECTORY 48 tools/testing/selftests/proc/fd-003-kthread.c dir_fd = open(buf, O_RDONLY|O_DIRECTORY); O_DIRECTORY 90 tools/testing/selftests/proc/fd-003-kthread.c fd = openat(dir_fd, "fd", O_RDONLY|O_DIRECTORY); O_DIRECTORY 269 tools/testing/selftests/proc/proc-pid-vm.c if (open("/", O_RDONLY|O_DIRECTORY|O_PATH) != 0) { O_DIRECTORY 107 tools/testing/selftests/proc/read.c fd = openat(dirfd(d), de->d_name, O_DIRECTORY|O_RDONLY);