Lines Matching refs:open_flags
1372 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()
1609 ctx = create_nfs_open_context(dentry, open_flags); in nfs_open_create()
1614 error = NFS_PROTO(dir)->create(dir, dentry, &attr, open_flags, ctx); in nfs_open_create()
1688 int open_flags = O_CREAT|O_EXCL; in nfs_create() local
1697 open_flags = nd->intent.open.flags; in nfs_create()
1699 error = NFS_PROTO(dir)->create(dir, dentry, &attr, open_flags, NULL); in nfs_create()