Home
last modified time | relevance | path

Searched refs:__O_REGULAR (Results 1 – 8 of 8) sorted by relevance

/linux/tools/testing/selftests/filesystems/openat2/
H A Dopenat2_test.c330 #ifndef __O_REGULAR
331 #define __O_REGULAR (1 << 30) macro
359 fd = openat(AT_FDCWD, "/dev/null", O_RDONLY | __O_REGULAR); in TEST()
/linux/fs/smb/client/
H A Ddir.c242 if ((oflags & __O_REGULAR) && !S_ISREG(newinode->i_mode)) {
464 if ((oflags & __O_REGULAR) && !S_ISREG(newinode->i_mode)) {
599 (oflags & (O_NOFOLLOW | __O_REGULAR)) ==
600 (O_NOFOLLOW | __O_REGULAR) && !(oflags & O_EXCL)) {
/linux/fs/
H A Dopen.c1016 f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | __O_REGULAR); in do_dentry_open()
1241 BUILD_BUG_ON_MSG(__O_REGULAR & VALID_OPENAT2_FLAGS, in build_open_flags()
1328 flags |= __O_REGULAR; in build_open_flags()
H A Dfcntl.c1178 __FMODE_EXEC | __O_REGULAR)); in fcntl_init()
H A Dnamei.c4623 * or ->atomic_open responded to __O_REGULAR.
4637 WARN_ONCE(open_flag & ~(O_ACCMODE|O_CREAT|O_EXCL|O_TRUNC|__O_REGULAR), in vfs_lookup_open()
4641 open_flag |= __O_REGULAR; in vfs_lookup_open()
4819 if ((open_flag & __O_REGULAR) && !d_is_reg(nd->path.dentry)) in do_open()
/linux/fs/gfs2/
H A Dinode.c746 if (file && (file->f_flags & __O_REGULAR) && in gfs2_create_inode()
/linux/fs/nfs/
H A Ddir.c2195 if (open_flags & __O_REGULAR) { in nfs_atomic_open()
/linux/fs/ceph/
H A Dfile.c1001 if ((flags & __O_REGULAR) && !d_is_reg(dentry)) { in ceph_atomic_open()