Home
last modified time | relevance | path

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

/fs/
Dfhandle.c215 struct file_handle __user *ufh, int open_flag) in do_handle_open() argument
226 fd = get_unused_fd_flags(open_flag); in do_handle_open()
231 file = file_open_root(path.dentry, path.mnt, "", open_flag, 0); in do_handle_open()
Dinternal.h98 int open_flag; member
110 struct file_handle __user *ufh, int open_flag);
Dnamei.c2865 unsigned open_flag = open_to_namei_flags(op->open_flag); in atomic_open() local
2882 if ((open_flag & O_CREAT) && !IS_POSIXACL(dir)) in atomic_open()
2885 excl = (open_flag & (O_EXCL | O_CREAT)) == (O_EXCL | O_CREAT); in atomic_open()
2887 open_flag &= ~O_TRUNC; in atomic_open()
2898 if (((open_flag & (O_CREAT | O_TRUNC)) || in atomic_open()
2899 (open_flag & O_ACCMODE) != O_RDONLY) && unlikely(!got_write)) { in atomic_open()
2900 if (!(open_flag & O_CREAT)) { in atomic_open()
2906 } else if (open_flag & (O_EXCL | O_TRUNC)) { in atomic_open()
2913 open_flag &= ~O_CREAT; in atomic_open()
2917 if (open_flag & O_CREAT) { in atomic_open()
[all …]
Dexec.c122 .open_flag = O_LARGEFILE | O_RDONLY | __FMODE_EXEC, in SYSCALL_DEFINE1()
792 .open_flag = O_LARGEFILE | O_RDONLY | __FMODE_EXEC, in do_open_execat()
Dopen.c960 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()