Home
last modified time | relevance | path

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

/fs/
Dinternal.h88 struct open_flags { struct
95 const struct open_flags *op, int lookup_flags); argument
97 const char *, const struct open_flags *, int lookup_flags);
Dopen.c880 static inline int build_open_flags(int flags, umode_t mode, struct open_flags *op) in build_open_flags()
954 struct open_flags op; in filp_open()
963 struct open_flags op; in file_open_root()
976 struct open_flags op; in do_sys_open()
Dnamei.c2175 const struct open_flags *op, const char *pathname) in do_last()
2380 struct nameidata *nd, const struct open_flags *op, int flags) in path_openat()
2438 const struct open_flags *op, int flags) in do_filp_open()
2452 const char *name, const struct open_flags *op, int flags) in do_file_open_root()
Dexec.c124 static const struct open_flags uselib_flags = { in SYSCALL_DEFINE1()
772 static const struct open_flags open_exec_flags = { in open_exec()
/fs/nfs/
Ddir.c1372 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags) in create_nfs_open_context() argument
1374 return alloc_nfs_open_context(dentry, flags_to_mode(open_flags)); in create_nfs_open_context()
1412 int open_flags; in nfs_atomic_lookup() local
1434 open_flags = nd->intent.open.flags; in nfs_atomic_lookup()
1437 ctx = create_nfs_open_context(dentry, open_flags); in nfs_atomic_lookup()
1447 open_flags &= ~(O_EXCL | O_CREAT); in nfs_atomic_lookup()
1449 if (open_flags & O_TRUNC) { in nfs_atomic_lookup()
1456 inode = NFS_PROTO(dir)->open_context(dir, ctx, open_flags, &attr); in nfs_atomic_lookup()
1598 int open_flags = O_CREAT|O_EXCL; in nfs_open_create() local
1607 open_flags = nd->intent.open.flags; in nfs_open_create()
[all …]
Dnfs4proc.c839 p->o_arg.open_flags = flags; in nfs4_opendata_alloc()
1056 int open_mode = opendata->o_arg.open_flags; in nfs4_try_open_cached()
1188 opendata->o_arg.open_flags = 0; in nfs4_open_recover_helper()
1468 if (can_open_cached(data->state, data->o_arg.fmode, data->o_arg.open_flags)) in nfs4_open_prepare()
1650 !(o_arg->open_flags & O_CREAT)) in _nfs4_proc_open()
1657 if (o_arg->open_flags & O_CREAT) { in _nfs4_proc_open()
1771 int open_flags = (1 << NFS_O_RDONLY_STATE) | (1 << NFS_O_WRONLY_STATE) | (1 << NFS_O_RDWR_STATE); in nfs41_open_expired() local
1774 open_status = nfs41_check_expired_stateid(state, &state->open_stateid, open_flags); in nfs41_open_expired()
1840 if (opendata->o_arg.open_flags & O_EXCL) { in _nfs4_do_open()
2193 nfs4_atomic_open(struct inode *dir, struct nfs_open_context *ctx, int open_flags, struct iattr *att… in nfs4_atomic_open() argument
[all …]
Dnfs4xdr.c1358 switch(arg->open_flags & O_EXCL) { in encode_createmode()
1389 switch (arg->open_flags & O_CREAT) { in encode_opentype()
/fs/ocfs2/dlmfs/
Ddlmfs.c117 static int dlmfs_decode_open_flags(int open_flags, in dlmfs_decode_open_flags() argument
121 if (open_flags & (O_WRONLY|O_RDWR)) in dlmfs_decode_open_flags()
127 if (open_flags & O_NONBLOCK) in dlmfs_decode_open_flags()
/fs/fuse/
Dfile.c159 outarg.open_flags &= ~FOPEN_DIRECT_IO; in fuse_do_open()
163 ff->open_flags = outarg.open_flags; in fuse_do_open()
175 if (ff->open_flags & FOPEN_DIRECT_IO) in fuse_finish_open()
177 if (!(ff->open_flags & FOPEN_KEEP_CACHE)) in fuse_finish_open()
179 if (ff->open_flags & FOPEN_NONSEEKABLE) in fuse_finish_open()
Dfuse_i.h131 u32 open_flags; member
Ddir.c444 ff->open_flags = outopen.open_flags; in fuse_create_open()