| /linux-4.4.14/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-4.4.14/net/ceph/ |
| D | ceph_fs.c | 35 #ifdef O_DIRECTORY /* fixme */ in ceph_flags_to_mode() 36 if ((flags & O_DIRECTORY) == O_DIRECTORY) in ceph_flags_to_mode()
|
| /linux-4.4.14/tools/testing/selftests/exec/ |
| D | execveat.c | 217 int subdir_dfd = open_or_die("subdir", O_DIRECTORY|O_RDONLY); in run_tests() 219 O_DIRECTORY|O_RDONLY); in run_tests() 220 int dot_dfd = open_or_die(".", O_DIRECTORY|O_RDONLY); in run_tests() 221 int dot_dfd_path = open_or_die(".", O_DIRECTORY|O_RDONLY|O_PATH); in run_tests() 222 int dot_dfd_cloexec = open_or_die(".", O_DIRECTORY|O_RDONLY|O_CLOEXEC); in run_tests()
|
| /linux-4.4.14/arch/blackfin/include/uapi/asm/ |
| D | fcntl.h | 10 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
| /linux-4.4.14/arch/m68k/include/uapi/asm/ |
| D | fcntl.h | 4 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
| /linux-4.4.14/arch/arm64/include/uapi/asm/ |
| D | fcntl.h | 22 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
| /linux-4.4.14/arch/arm/include/uapi/asm/ |
| D | fcntl.h | 4 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
| /linux-4.4.14/arch/powerpc/include/uapi/asm/ |
| D | fcntl.h | 4 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
| /linux-4.4.14/arch/parisc/include/uapi/asm/ |
| D | fcntl.h | 18 #define O_DIRECTORY 000010000 /* must be a directory */ macro
|
| /linux-4.4.14/arch/alpha/include/uapi/asm/ |
| D | fcntl.h | 12 #define O_DIRECTORY 0100000 /* must be a directory */ macro
|
| /linux-4.4.14/tools/perf/tests/ |
| D | openat-syscall-tp-fields.c | 22 int flags = O_RDONLY | O_DIRECTORY; in test__syscall_openat_tp_fields()
|
| /linux-4.4.14/tools/testing/selftests/capabilities/ |
| D | test_execve.c | 213 int ourpath_fd = open(our_path, O_RDONLY | O_DIRECTORY); in do_tests()
|
| /linux-4.4.14/fs/ |
| D | open.c | 916 flags &= O_DIRECTORY | O_NOFOLLOW | O_PATH; in build_open_flags() 943 if (flags & O_DIRECTORY) in build_open_flags()
|
| D | fcntl.c | 748 O_DIRECT | O_LARGEFILE | O_DIRECTORY | in fcntl_init()
|
| D | namei.c | 2848 open_flag |= O_DIRECTORY; in atomic_open()
|
| /linux-4.4.14/fs/overlayfs/ |
| D | readdir.c | 245 realfile = ovl_path_open(realpath, O_RDONLY | O_DIRECTORY); in ovl_dir_read()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/mdc/ |
| D | mdc_lib.c | 166 if (flags & O_DIRECTORY) in mds_pack_open_flags()
|
| /linux-4.4.14/fs/nfs/ |
| D | nfstrace.h | 271 { O_DIRECTORY, "O_DIRECTORY" })
|
| D | dir.c | 1496 if ((open_flags & O_DIRECTORY)) { in nfs_atomic_open()
|
| /linux-4.4.14/fs/9p/ |
| D | vfs_inode_dotl.c | 192 { O_DIRECTORY, P9_DOTL_DIRECTORY }, in v9fs_mapped_dotl_flags()
|
| /linux-4.4.14/fs/nfsd/ |
| D | nfs4recover.c | 476 nn->rec_file = filp_open(user_recovery_dirname, O_RDONLY | O_DIRECTORY, 0); in nfsd4_init_recdir()
|
| /linux-4.4.14/fs/ceph/ |
| D | file.c | 218 flags = O_DIRECTORY; /* mds likes to know */ in ceph_open()
|
| /linux-4.4.14/fs/cifs/ |
| D | file.c | 89 if (flags & O_DIRECTORY) in cifs_posix_convert_flags()
|