Searched refs:O_DIRECTORY (Results 1 - 25 of 49) sorted by path

12

/linux-master/arch/alpha/include/uapi/asm/
H A Dfcntl.h13 #define O_DIRECTORY 0100000 /* must be a directory */ macro
/linux-master/arch/arm/include/uapi/asm/
H A Dfcntl.h5 #define O_DIRECTORY 040000 /* must be a directory */ macro
/linux-master/arch/arm64/include/uapi/asm/
H A Dfcntl.h23 #define O_DIRECTORY 040000 /* must be a directory */ macro
/linux-master/arch/m68k/include/uapi/asm/
H A Dfcntl.h5 #define O_DIRECTORY 040000 /* must be a directory */ macro
/linux-master/arch/powerpc/include/uapi/asm/
H A Dfcntl.h5 #define O_DIRECTORY 040000 /* must be a directory */ macro
/linux-master/samples/pidfd/
H A Dpidfd-metadata.c58 procfd = open(path, O_DIRECTORY | O_RDONLY | O_CLOEXEC);
/linux-master/tools/perf/trace/beauty/
H A Dopen_flags.c10 #ifndef O_DIRECTORY
11 #define O_DIRECTORY 00200000 macro
/linux-master/tools/testing/selftests/proc/
H A Dfd-001-lookup.c146 fd = open("/", O_PATH|O_DIRECTORY);
153 fd = open("/", O_PATH|O_DIRECTORY);
H A Dfd-002-posix-eq.c32 fd0 = open("/", O_DIRECTORY|O_RDONLY);
H A Dfd-003-kthread.c48 dir_fd = open(buf, O_RDONLY|O_DIRECTORY);
90 fd = openat(dir_fd, "fd", O_RDONLY|O_DIRECTORY);
/linux-master/arch/parisc/include/uapi/asm/
H A Dfcntl.h17 #define O_DIRECTORY 000010000 /* must be a directory */ macro
/linux-master/fs/9p/
H A Dvfs_inode_dotl.c132 { O_DIRECTORY, P9_DOTL_DIRECTORY },
/linux-master/fs/ceph/
H A Dfile.c47 ceph_sys2wire(O_DIRECTORY);
378 flags = O_DIRECTORY; /* mds likes to know */
H A Dutil.c59 #ifdef O_DIRECTORY /* fixme */
60 if ((flags & O_DIRECTORY) == O_DIRECTORY)
/linux-master/fs/
H A Dnamei.c3356 open_flag |= O_DIRECTORY;
H A Dopen.c1188 #define O_PATH_FLAGS (O_DIRECTORY | O_NOFOLLOW | O_PATH | O_CLOEXEC)
1249 * Block bugs where O_DIRECTORY | O_CREAT created regular files.
1250 * Note, that blocking O_DIRECTORY | O_CREAT here also protects
1251 * O_TMPFILE below which requires O_DIRECTORY being raised.
1253 if ((flags & (O_DIRECTORY | O_CREAT)) == (O_DIRECTORY | O_CREAT))
1260 * to use O_TMPFILE on old kernels we enforce that O_DIRECTORY
1263 if (!(flags & O_DIRECTORY))
1307 if (flags & O_DIRECTORY)
/linux-master/fs/nfs/
H A Ddir.c2069 if ((open_flags & O_DIRECTORY)) {
2072 * Hashed negative dentry with O_DIRECTORY: dentry was
/linux-master/fs/nfsd/
H A Dnfs4recover.c544 nn->rec_file = filp_open(user_recovery_dirname, O_RDONLY | O_DIRECTORY, 0);
/linux-master/fs/smb/client/
H A Dfile.c252 if (flags & O_DIRECTORY)
382 *? by this client. Flags O_APPEND, O_DIRECT, O_DIRECTORY,
/linux-master/include/linux/
H A Dfcntl.h12 FASYNC | O_DIRECT | O_LARGEFILE | O_DIRECTORY | O_NOFOLLOW | \
/linux-master/include/trace/misc/
H A Dfs.h37 { O_DIRECTORY, "O_DIRECTORY" }, \
/linux-master/include/uapi/asm-generic/
H A Dfcntl.h53 #ifndef O_DIRECTORY
54 #define O_DIRECTORY 00200000 /* must be a directory */ macro
93 #define O_TMPFILE (__O_TMPFILE | O_DIRECTORY)
/linux-master/samples/bpf/
H A Dtest_cgrp2_attach.c163 cg_fd = open(argv[optind], O_DIRECTORY | O_RDONLY);
H A Dtest_cgrp2_sock.c261 cg_fd = open(cgrp_path, O_DIRECTORY | O_RDONLY);
H A Dtest_cgrp2_sock2.c48 cg_fd = open(argv[1], O_DIRECTORY | O_RDONLY);

Completed in 354 milliseconds

12