Lines Matching refs:res
56 struct nfs3_getaclres res = { in nfs3_get_acl() local
61 .rpc_resp = &res, in nfs3_get_acl()
87 res.fattr = nfs_alloc_fattr(); in nfs3_get_acl()
88 if (res.fattr == NULL) in nfs3_get_acl()
105 status = nfs_refresh_inode(inode, res.fattr); in nfs3_get_acl()
117 if ((args.mask & res.mask) != args.mask) { in nfs3_get_acl()
122 if (res.acl_access != NULL) { in nfs3_get_acl()
123 if ((posix_acl_equiv_mode(res.acl_access, NULL) == 0) || in nfs3_get_acl()
124 res.acl_access->a_count == 0) { in nfs3_get_acl()
125 posix_acl_release(res.acl_access); in nfs3_get_acl()
126 res.acl_access = NULL; in nfs3_get_acl()
130 if (res.mask & NFS_ACL) in nfs3_get_acl()
131 nfs3_complete_get_acl(&inode->i_acl, res.acl_access); in nfs3_get_acl()
135 if (res.mask & NFS_DFACL) in nfs3_get_acl()
136 nfs3_complete_get_acl(&inode->i_default_acl, res.acl_default); in nfs3_get_acl()
140 nfs_free_fattr(res.fattr); in nfs3_get_acl()
142 posix_acl_release(res.acl_default); in nfs3_get_acl()
143 return res.acl_access; in nfs3_get_acl()
145 posix_acl_release(res.acl_access); in nfs3_get_acl()
146 return res.acl_default; in nfs3_get_acl()
152 posix_acl_release(res.acl_access); in nfs3_get_acl()
153 posix_acl_release(res.acl_default); in nfs3_get_acl()
154 nfs_free_fattr(res.fattr); in nfs3_get_acl()