Home
last modified time | relevance | path

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

/fs/
Dinternal.h97 struct open_flags { struct
105 const struct open_flags *op); argument
107 const char *, const struct open_flags *);
Dcoredump.c636 int open_flags = O_CREAT | O_RDWR | O_NOFOLLOW | in do_coredump() local
692 cn.corename, open_flags, 0600); in do_coredump()
695 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
Dopen.c915 static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op) in build_open_flags()
1002 struct open_flags op; in file_open_name()
1034 struct open_flags op; in file_open_root()
1044 struct open_flags op; in do_sys_open()
Dnamei.c2860 const struct open_flags *op, in atomic_open()
3020 const struct open_flags *op, in lookup_open()
3091 struct file *file, const struct open_flags *op, in do_last()
3327 const struct open_flags *op, in do_tmpfile()
3385 const struct open_flags *op, unsigned flags) in path_openat()
3436 const struct open_flags *op) in do_filp_open()
3453 const char *name, const struct open_flags *op) in do_file_open_root()
Dexec.c121 static const struct open_flags uselib_flags = { in SYSCALL_DEFINE1()
791 struct open_flags open_exec_flags = { in do_open_execat()
/fs/nfs/
Ddir.c1465 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags) in create_nfs_open_context() argument
1467 return alloc_nfs_open_context(dentry, flags_to_mode(open_flags)); in create_nfs_open_context()
1478 struct file *file, unsigned open_flags, in nfs_finish_open() argument
1493 struct file *file, unsigned open_flags, in nfs_atomic_open() argument
1509 err = nfs_check_flags(open_flags); in nfs_atomic_open()
1514 if ((open_flags & O_DIRECTORY)) { in nfs_atomic_open()
1530 if (open_flags & O_CREAT) { in nfs_atomic_open()
1534 if (open_flags & O_TRUNC) { in nfs_atomic_open()
1539 ctx = create_nfs_open_context(dentry, open_flags); in nfs_atomic_open()
1544 trace_nfs_atomic_open_enter(dir, ctx, open_flags); in nfs_atomic_open()
[all …]
Dnfs4proc.c1107 p->o_arg.open_flags = flags; in nfs4_opendata_alloc()
1475 int open_mode = opendata->o_arg.open_flags; in nfs4_try_open_cached()
1671 opendata->o_arg.open_flags = 0; in nfs4_open_recover_helper()
1978 if (can_open_cached(data->state, data->o_arg.fmode, data->o_arg.open_flags)) in nfs4_open_prepare()
2008 if (data->o_arg.open_flags & O_EXCL) { in nfs4_open_prepare()
2209 !(o_arg->open_flags & O_CREAT)) in _nfs4_proc_open()
2216 if (o_arg->open_flags & O_CREAT) { in _nfs4_proc_open()
2218 if (o_arg->open_flags & O_EXCL) in _nfs4_proc_open()
2551 if ((opendata->o_arg.open_flags & (O_CREAT|O_EXCL)) == (O_CREAT|O_EXCL) && in _nfs4_do_open()
2995 int open_flags, struct iattr *attr, int *opened) in nfs4_atomic_open() argument
[all …]
Dnfs4xdr.c1428 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/fuse/
Dfile.c129 ff->open_flags = FOPEN_KEEP_CACHE; /* Default for no-open */ in fuse_do_open()
137 ff->open_flags = outarg.open_flags; in fuse_do_open()
148 ff->open_flags &= ~FOPEN_DIRECT_IO; in fuse_do_open()
178 if (ff->open_flags & FOPEN_DIRECT_IO) in fuse_finish_open()
180 if (!(ff->open_flags & FOPEN_KEEP_CACHE)) in fuse_finish_open()
182 if (ff->open_flags & FOPEN_STREAM) in fuse_finish_open()
184 else if (ff->open_flags & FOPEN_NONSEEKABLE) in fuse_finish_open()
Dfuse_i.h148 u32 open_flags; member
Ddir.c494 ff->open_flags = outopen.open_flags; in fuse_create_open()