Searched refs:__O_REGULAR (Results 1 – 8 of 8) sorted by relevance
330 #ifndef __O_REGULAR331 #define __O_REGULAR (1 << 30) macro359 fd = openat(AT_FDCWD, "/dev/null", O_RDONLY | __O_REGULAR); in TEST()
242 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)) {
1016 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()
1178 __FMODE_EXEC | __O_REGULAR)); in fcntl_init()
4623 * 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()
746 if (file && (file->f_flags & __O_REGULAR) && in gfs2_create_inode()
2195 if (open_flags & __O_REGULAR) { in nfs_atomic_open()
1001 if ((flags & __O_REGULAR) && !d_is_reg(dentry)) { in ceph_atomic_open()