Lines Matching refs:res
23 struct nfs3_getaclres res = { in nfs3_get_acl() local
28 .rpc_resp = &res, in nfs3_get_acl()
54 res.fattr = nfs_alloc_fattr(); in nfs3_get_acl()
55 if (res.fattr == NULL) in nfs3_get_acl()
67 status = nfs_refresh_inode(inode, res.fattr); in nfs3_get_acl()
78 if ((args.mask & res.mask) != args.mask) { in nfs3_get_acl()
83 if (res.acl_access != NULL) { in nfs3_get_acl()
84 if ((posix_acl_equiv_mode(res.acl_access, NULL) == 0) || in nfs3_get_acl()
85 res.acl_access->a_count == 0) { in nfs3_get_acl()
86 posix_acl_release(res.acl_access); in nfs3_get_acl()
87 res.acl_access = NULL; in nfs3_get_acl()
91 if (res.mask & NFS_ACL) in nfs3_get_acl()
92 set_cached_acl(inode, ACL_TYPE_ACCESS, res.acl_access); in nfs3_get_acl()
96 if (res.mask & NFS_DFACL) in nfs3_get_acl()
97 set_cached_acl(inode, ACL_TYPE_DEFAULT, res.acl_default); in nfs3_get_acl()
101 nfs_free_fattr(res.fattr); in nfs3_get_acl()
103 posix_acl_release(res.acl_default); in nfs3_get_acl()
104 return res.acl_access; in nfs3_get_acl()
106 posix_acl_release(res.acl_access); in nfs3_get_acl()
107 return res.acl_default; in nfs3_get_acl()
111 posix_acl_release(res.acl_access); in nfs3_get_acl()
112 posix_acl_release(res.acl_default); in nfs3_get_acl()
113 nfs_free_fattr(res.fattr); in nfs3_get_acl()