/Linux-v4.19/include/uapi/asm-generic/ |
D | fcntl.h | 53 #ifndef O_DIRECTORY 54 #define O_DIRECTORY 00200000 /* must be a directory */ macro 93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) 94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/Linux-v4.19/tools/include/uapi/asm-generic/ |
D | fcntl.h | 52 #ifndef O_DIRECTORY 53 #define O_DIRECTORY 00200000 /* must be a directory */ macro 92 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY) 93 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/Linux-v4.19/net/ceph/ |
D | ceph_fs.c | 61 #ifdef O_DIRECTORY /* fixme */ in ceph_flags_to_mode() 62 if ((flags & O_DIRECTORY) == O_DIRECTORY) in ceph_flags_to_mode()
|
/Linux-v4.19/tools/perf/tests/ |
D | openat-syscall-tp-fields.c | 14 #ifndef O_DIRECTORY 15 #define O_DIRECTORY 00200000 macro 34 int flags = O_RDONLY | O_DIRECTORY; in test__syscall_openat_tp_fields()
|
/Linux-v4.19/tools/testing/selftests/exec/ |
D | execveat.c | 229 int subdir_dfd = open_or_die("subdir", O_DIRECTORY|O_RDONLY); in run_tests() 231 O_DIRECTORY|O_RDONLY); in run_tests() 232 int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); in run_tests() 233 int root_dfd = open_or_die("/", O_DIRECTORY|O_RDONLY); in run_tests() 234 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); in run_tests() 235 int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC); in run_tests()
|
/Linux-v4.19/samples/bpf/ |
D | load_sock_ops.c | 49 cg_fd = open(cg_path, O_DIRECTORY, O_RDONLY); in main() 71 cg_fd = open(cg_path, O_DIRECTORY, O_RDONLY); in main()
|
D | test_cgrp2_sock2.c | 40 cg_fd = open(argv[1], O_DIRECTORY | O_RDONLY); in main()
|
D | test_cgrp2_attach.c | 158 cg_fd = open(argv[optind], O_DIRECTORY | O_RDONLY); in main()
|
D | test_cgrp2_sock.c | 257 cg_fd = open(cgrp_path, O_DIRECTORY | O_RDONLY); in main()
|
/Linux-v4.19/tools/perf/trace/beauty/ |
D | open_flags.c | 10 #ifndef O_DIRECTORY 11 #define O_DIRECTORY 00200000 macro
|
/Linux-v4.19/tools/testing/selftests/proc/ |
D | fd-001-lookup.c | 146 fd = open("/", O_PATH|O_DIRECTORY); in main() 153 fd = open("/", O_PATH|O_DIRECTORY); in main()
|
D | fd-003-kthread.c | 48 dir_fd = open(buf, O_RDONLY|O_DIRECTORY); in kernel_thread_fd() 90 fd = openat(dir_fd, "fd", O_RDONLY|O_DIRECTORY); in kernel_thread_fd()
|
D | fd-002-posix-eq.c | 32 fd0 = open("/", O_DIRECTORY|O_RDONLY); in main()
|
D | read.c | 105 fd = openat(dirfd(d), de->d_name, O_DIRECTORY|O_RDONLY); in f()
|
/Linux-v4.19/arch/arm/include/uapi/asm/ |
D | fcntl.h | 5 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/Linux-v4.19/arch/m68k/include/uapi/asm/ |
D | fcntl.h | 5 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/Linux-v4.19/arch/arm64/include/uapi/asm/ |
D | fcntl.h | 23 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/Linux-v4.19/arch/powerpc/include/uapi/asm/ |
D | fcntl.h | 5 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/Linux-v4.19/arch/parisc/include/uapi/asm/ |
D | fcntl.h | 19 #define O_DIRECTORY 000010000 /* must be a directory */ macro
|
/Linux-v4.19/arch/alpha/include/uapi/asm/ |
D | fcntl.h | 13 #define O_DIRECTORY 0100000 /* must be a directory */ macro
|
/Linux-v4.19/include/linux/ |
D | fcntl.h | 11 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
|
/Linux-v4.19/tools/testing/selftests/capabilities/ |
D | test_execve.c | 224 int ourpath_fd = open(our_path, O_RDONLY | O_DIRECTORY); in do_tests()
|
/Linux-v4.19/fs/ |
D | open.c | 962 flags &= O_DIRECTORY | O_NOFOLLOW | O_PATH; in build_open_flags() 987 if (flags & O_DIRECTORY) in build_open_flags()
|
/Linux-v4.19/fs/ceph/ |
D | file.c | 40 ceph_sys2wire(O_DIRECTORY); in ceph_flags_sys2wire() 355 flags = O_DIRECTORY; /* mds likes to know */ in ceph_open()
|
/Linux-v4.19/fs/9p/ |
D | vfs_inode_dotl.c | 195 { O_DIRECTORY, P9_DOTL_DIRECTORY }, in v9fs_mapped_dotl_flags()
|