Searched refs:O_DIRECTORY (Results 1 – 22 of 22) sorted by relevance
/linux-4.1.27/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.1.27/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.1.27/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.1.27/arch/arm64/include/uapi/asm/ |
D | fcntl.h | 22 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
D | fcntl.h | 4 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/linux-4.1.27/arch/m68k/include/uapi/asm/ |
D | fcntl.h | 4 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/linux-4.1.27/arch/arm/include/uapi/asm/ |
D | fcntl.h | 4 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/linux-4.1.27/arch/blackfin/include/uapi/asm/ |
D | fcntl.h | 10 #define O_DIRECTORY 040000 /* must be a directory */ macro
|
/linux-4.1.27/arch/parisc/include/uapi/asm/ |
D | fcntl.h | 18 #define O_DIRECTORY 000010000 /* must be a directory */ macro
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
D | fcntl.h | 12 #define O_DIRECTORY 0100000 /* must be a directory */ macro
|
/linux-4.1.27/tools/perf/tests/ |
D | open-syscall-tp-fields.c | 21 int flags = O_RDONLY | O_DIRECTORY; in test__syscall_open_tp_fields()
|
/linux-4.1.27/fs/ |
D | open.c | 912 flags &= O_DIRECTORY | O_NOFOLLOW | O_PATH; in build_open_flags() 939 if (flags & O_DIRECTORY) in build_open_flags()
|
D | fcntl.c | 748 O_DIRECT | O_LARGEFILE | O_DIRECTORY | in fcntl_init()
|
D | namei.c | 2781 open_flag |= O_DIRECTORY; in atomic_open()
|
/linux-4.1.27/fs/overlayfs/ |
D | readdir.c | 245 realfile = ovl_path_open(realpath, O_RDONLY | O_DIRECTORY); in ovl_dir_read()
|
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/ |
D | mdc_lib.c | 195 if (flags & O_DIRECTORY) in mds_pack_open_flags()
|
/linux-4.1.27/fs/nfs/ |
D | nfstrace.h | 271 { O_DIRECTORY, "O_DIRECTORY" })
|
D | dir.c | 1507 if ((open_flags & O_DIRECTORY)) { in nfs_atomic_open()
|
/linux-4.1.27/fs/9p/ |
D | vfs_inode_dotl.c | 192 { O_DIRECTORY, P9_DOTL_DIRECTORY }, in v9fs_mapped_dotl_flags()
|
/linux-4.1.27/fs/nfsd/ |
D | nfs4recover.c | 470 nn->rec_file = filp_open(user_recovery_dirname, O_RDONLY | O_DIRECTORY, 0); in nfsd4_init_recdir()
|
/linux-4.1.27/fs/ceph/ |
D | file.c | 150 flags = O_DIRECTORY; /* mds likes to know */ in ceph_open()
|
/linux-4.1.27/fs/cifs/ |
D | file.c | 89 if (flags & O_DIRECTORY) in cifs_posix_convert_flags()
|