Lines Matching refs:open_flags

60 			 umode_t mode, int open_flags);
2040 static struct nfs_open_context *create_nfs_open_context(struct dentry *dentry, int open_flags, stru… in create_nfs_open_context() argument
2042 return alloc_nfs_open_context(dentry, flags_to_mode(open_flags), filp); in create_nfs_open_context()
2053 struct file *file, unsigned open_flags) in nfs_finish_open() argument
2069 struct file *file, unsigned open_flags, in nfs_atomic_open() argument
2089 err = nfs_check_flags(open_flags); in nfs_atomic_open()
2094 if ((open_flags & O_DIRECTORY)) { in nfs_atomic_open()
2110 if (open_flags & O_CREAT) { in nfs_atomic_open()
2119 if (open_flags & O_TRUNC) { in nfs_atomic_open()
2124 if (!(open_flags & O_CREAT) && !d_in_lookup(dentry)) { in nfs_atomic_open()
2135 ctx = create_nfs_open_context(dentry, open_flags, file); in nfs_atomic_open()
2140 trace_nfs_atomic_open_enter(dir, ctx, open_flags); in nfs_atomic_open()
2141 inode = NFS_PROTO(dir)->open_context(dir, ctx, open_flags, &attr, &created); in nfs_atomic_open()
2146 trace_nfs_atomic_open_exit(dir, ctx, open_flags, err); in nfs_atomic_open()
2162 if (!(open_flags & O_NOFOLLOW)) in nfs_atomic_open()
2173 err = nfs_finish_open(ctx, ctx->dentry, file, open_flags); in nfs_atomic_open()
2174 trace_nfs_atomic_open_exit(dir, ctx, open_flags, err); in nfs_atomic_open()
2272 struct file *file, unsigned int open_flags, in nfs_atomic_open_v23() argument
2284 if (open_flags & O_CREAT) { in nfs_atomic_open_v23()
2286 error = nfs_do_create(dir, dentry, mode, open_flags); in nfs_atomic_open_v23()
2370 umode_t mode, int open_flags) in nfs_do_create() argument
2375 open_flags |= O_CREAT; in nfs_do_create()
2382 if (open_flags & O_TRUNC) { in nfs_do_create()
2387 trace_nfs_create_enter(dir, dentry, open_flags); in nfs_do_create()
2388 error = NFS_PROTO(dir)->create(dir, dentry, &attr, open_flags); in nfs_do_create()
2389 trace_nfs_create_exit(dir, dentry, open_flags, error); in nfs_do_create()