Home
last modified time | relevance | path

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

/fs/
Dinternal.h103 struct open_flags { struct
111 const struct open_flags *op); argument
113 const char *, const struct open_flags *);
Dcoredump.c663 int open_flags = O_CREAT | O_RDWR | O_NOFOLLOW | in do_coredump() local
719 cn.corename, open_flags, 0600); in do_coredump()
722 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
Dopen.c934 static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op) in build_open_flags()
1018 struct open_flags op; in file_open_name()
1050 struct open_flags op; in file_open_root()
1080 struct open_flags op; in do_sys_open()
Dnamei.c3089 const struct open_flags *op, in atomic_open()
3166 const struct open_flags *op, in lookup_open()
3295 struct file *file, const struct open_flags *op, in do_last()
3520 const struct open_flags *op, in do_tmpfile()
3569 const struct open_flags *op, unsigned flags) in path_openat()
3627 const struct open_flags *op) in do_filp_open()
3644 const char *name, const struct open_flags *op) in do_file_open_root()
Dexec.c126 static const struct open_flags uselib_flags = { in SYSCALL_DEFINE1()
835 struct open_flags open_exec_flags = { in do_open_execat()
/fs/nfs/
Ddir.c1471 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags, stru… in create_nfs_open_context() argument
1473 return alloc_nfs_open_context(dentry, flags_to_mode(open_flags), filp); in create_nfs_open_context()
1484 struct file *file, unsigned open_flags, in nfs_finish_open() argument
1501 struct file *file, unsigned open_flags, in nfs_atomic_open() argument
1519 err = nfs_check_flags(open_flags); in nfs_atomic_open()
1524 if ((open_flags & O_DIRECTORY)) { in nfs_atomic_open()
1540 if (open_flags & O_CREAT) { in nfs_atomic_open()
1549 if (open_flags & O_TRUNC) { in nfs_atomic_open()
1554 if (!(open_flags & O_CREAT) && !d_in_lookup(dentry)) { in nfs_atomic_open()
1565 ctx = create_nfs_open_context(dentry, open_flags, file); in nfs_atomic_open()
[all …]
Dnfs4proc.c1209 p->o_arg.open_flags = flags; in nfs4_opendata_alloc()
1617 int open_mode = opendata->o_arg.open_flags; in nfs4_try_open_cached()
1842 opendata->o_arg.open_flags = 0; in nfs4_open_recover_helper()
2150 data->o_arg.open_flags, claim)) in nfs4_open_prepare()
2179 if (data->o_arg.open_flags & O_EXCL) { in nfs4_open_prepare()
2381 !(o_arg->open_flags & O_CREAT)) in _nfs4_proc_open()
2388 if (o_arg->open_flags & O_CREAT) { in _nfs4_proc_open()
2389 if (o_arg->open_flags & O_EXCL) in _nfs4_proc_open()
2829 if ((opendata->o_arg.open_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) && in _nfs4_do_open()
3348 int open_flags, struct iattr *attr, int *opened) in nfs4_atomic_open() argument
[all …]
Dnfs4xdr.c1450 switch (arg->open_flags & O_CREAT) { in encode_opentype()
/fs/ocfs2/dlmfs/
Ddlmfs.c116 static int dlmfs_decode_open_flags(int open_flags, in dlmfs_decode_open_flags() argument
120 if (open_flags & (O_WRONLY|O_RDWR)) in dlmfs_decode_open_flags()
126 if (open_flags & O_NONBLOCK) in dlmfs_decode_open_flags()
/fs/overlayfs/
Dsuper.c78 unsigned int open_flags, unsigned int flags) in ovl_d_real() argument
92 if (open_flags) { in ovl_d_real()
93 err = ovl_open_maybe_copy_up(dentry, open_flags); in ovl_d_real()
101 err = ovl_check_append_only(d_inode(real), open_flags); in ovl_d_real()
113 real = d_real(real, inode, open_flags, 0); in ovl_d_real()
/fs/fuse/
Dfile.c128 ff->open_flags = FOPEN_KEEP_CACHE; /* Default for no-open */ in fuse_do_open()
136 ff->open_flags = outarg.open_flags; in fuse_do_open()
147 ff->open_flags &= ~FOPEN_DIRECT_IO; in fuse_do_open()
177 if (ff->open_flags & FOPEN_DIRECT_IO) in fuse_finish_open()
179 if (!(ff->open_flags & FOPEN_KEEP_CACHE)) in fuse_finish_open()
181 if (ff->open_flags & FOPEN_STREAM) in fuse_finish_open()
183 else if (ff->open_flags & FOPEN_NONSEEKABLE) in fuse_finish_open()
Dfuse_i.h145 u32 open_flags; member
Ddir.c513 ff->open_flags = outopen.open_flags; in fuse_create_open()