Home
last modified time | relevance | path

Searched refs:open_flag (Results 1 – 6 of 6) sorted by relevance

/fs/
Dnamei.c2484 unsigned open_flag = open_to_namei_flags(op->open_flag); in atomic_open() local
2500 if ((open_flag & O_CREAT) && !IS_POSIXACL(dir)) in atomic_open()
2503 if ((open_flag & (O_EXCL | O_CREAT)) == (O_EXCL | O_CREAT)) { in atomic_open()
2504 open_flag &= ~O_TRUNC; in atomic_open()
2517 if (((open_flag & (O_CREAT | O_TRUNC)) || in atomic_open()
2518 (open_flag & O_ACCMODE) != O_RDONLY) && unlikely(!got_write)) { in atomic_open()
2519 if (!(open_flag & O_CREAT)) { in atomic_open()
2525 } else if (open_flag & (O_EXCL | O_TRUNC)) { in atomic_open()
2532 open_flag &= ~O_CREAT; in atomic_open()
2536 if (open_flag & O_CREAT) { in atomic_open()
[all …]
Dfhandle.c214 struct file_handle __user *ufh, int open_flag) in do_handle_open() argument
225 fd = get_unused_fd_flags(open_flag); in do_handle_open()
230 file = file_open_root(path.dentry, path.mnt, "", open_flag); in do_handle_open()
Dinternal.h97 int open_flag; member
108 struct file_handle __user *ufh, int open_flag);
Dexec.c111 .open_flag = O_LARGEFILE | O_RDONLY | __FMODE_EXEC, in SYSCALL_DEFINE1()
757 .open_flag = O_LARGEFILE | O_RDONLY | __FMODE_EXEC, in open_exec()
Dopen.c867 op->open_flag = flags; in build_open_flags()
/fs/9p/
Dvfs_inode_dotl.c177 int open_flag; member
202 if (flags & dotl_oflag_map[i].open_flag) in v9fs_mapped_dotl_flags()