Home
last modified time | relevance | path

Searched refs:open_flags (Results 1 – 13 of 13) sorted by relevance

/fs/
Dinternal.h114 struct open_flags { struct
122 const struct open_flags *op); argument
124 const char *, const struct open_flags *);
Dcoredump.c696 int open_flags = O_CREAT | O_RDWR | O_NOFOLLOW | in do_coredump() local
747 cn.corename, open_flags, 0600); in do_coredump()
750 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
Dopen.c970 static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op) in build_open_flags()
1054 struct open_flags op; in file_open_name()
1086 struct open_flags op; in file_open_root()
1096 struct open_flags op; in do_sys_open()
Dnamei.c3165 const struct open_flags *op, in atomic_open()
3237 const struct open_flags *op, in lookup_open()
3366 struct file *file, const struct open_flags *op) in do_last()
3586 const struct open_flags *op, in do_tmpfile()
3630 const struct open_flags *op, unsigned flags) in path_openat()
3669 const struct open_flags *op) in do_filp_open()
3686 const char *name, const struct open_flags *op) in do_file_open_root()
Dexec.c127 static const struct open_flags uselib_flags = { in SYSCALL_DEFINE1()
843 struct open_flags open_exec_flags = { in do_open_execat()
/fs/nfs/
Ddir.c1467 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags, stru… in create_nfs_open_context() argument
1469 return alloc_nfs_open_context(dentry, flags_to_mode(open_flags), filp); in create_nfs_open_context()
1480 struct file *file, unsigned open_flags) in nfs_finish_open() argument
1496 struct file *file, unsigned open_flags, in nfs_atomic_open() argument
1515 err = nfs_check_flags(open_flags); in nfs_atomic_open()
1520 if ((open_flags & O_DIRECTORY)) { in nfs_atomic_open()
1536 if (open_flags & O_CREAT) { in nfs_atomic_open()
1545 if (open_flags & O_TRUNC) { in nfs_atomic_open()
1550 if (!(open_flags & O_CREAT) && !d_in_lookup(dentry)) { in nfs_atomic_open()
1561 ctx = create_nfs_open_context(dentry, open_flags, file); in nfs_atomic_open()
[all …]
Dnfs4proc.c1301 p->o_arg.open_flags = flags; in nfs4_opendata_alloc()
1822 int open_mode = opendata->o_arg.open_flags; in nfs4_try_open_cached()
2077 opendata->o_arg.open_flags = 0; in nfs4_open_recover_helper()
2377 data->o_arg.open_flags, claim)) in nfs4_open_prepare()
2407 if (data->o_arg.open_flags & O_EXCL) { in nfs4_open_prepare()
2614 !(o_arg->open_flags & O_CREAT)) in _nfs4_proc_open()
2621 if (o_arg->open_flags & O_CREAT) { in _nfs4_proc_open()
2622 if (o_arg->open_flags & O_EXCL) in _nfs4_proc_open()
3087 if ((opendata->o_arg.open_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) && in _nfs4_do_open()
3678 int open_flags, struct iattr *attr, int *opened) in nfs4_atomic_open() argument
[all …]
Dnfs4xdr.c1452 switch (arg->open_flags & O_CREAT) { in encode_opentype()
/fs/ocfs2/dlmfs/
Ddlmfs.c102 static int dlmfs_decode_open_flags(int open_flags, in dlmfs_decode_open_flags() argument
106 if (open_flags & (O_WRONLY|O_RDWR)) in dlmfs_decode_open_flags()
112 if (open_flags & O_NONBLOCK) in dlmfs_decode_open_flags()
/fs/fuse/
Dreaddir.c117 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_emit()
354 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_readdir_uncached()
577 if (ff->open_flags & FOPEN_CACHE_DIR) in fuse_readdir()
Dfile.c144 ff->open_flags = FOPEN_KEEP_CACHE | (isdir ? FOPEN_CACHE_DIR : 0); in fuse_do_open()
152 ff->open_flags = outarg.open_flags; in fuse_do_open()
166 ff->open_flags &= ~FOPEN_DIRECT_IO; in fuse_do_open()
195 if (!(ff->open_flags & FOPEN_KEEP_CACHE)) in fuse_finish_open()
197 if (ff->open_flags & FOPEN_STREAM) in fuse_finish_open()
199 else if (ff->open_flags & FOPEN_NONSEEKABLE) in fuse_finish_open()
1558 if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_read_iter()
1572 if (!(ff->open_flags & FOPEN_DIRECT_IO)) in fuse_file_write_iter()
2288 if (ff->open_flags & FOPEN_DIRECT_IO) { in fuse_file_mmap()
Dfuse_i.h187 u32 open_flags; member
Ddir.c491 ff->open_flags = outopen.open_flags; in fuse_create_open()