Lines Matching refs:rvsap

2048 	vsecattr_t *rvsap;  in nfs4_acl_fill_cache()  local
2054 rvsap = rp->r_secattr; in nfs4_acl_fill_cache()
2056 rvsap = kmem_zalloc(sizeof (*rvsap), KM_NOSLEEP); in nfs4_acl_fill_cache()
2057 if (rvsap == NULL) { in nfs4_acl_fill_cache()
2061 rp->r_secattr = rvsap; in nfs4_acl_fill_cache()
2065 if (rvsap->vsa_aclentp != NULL) { in nfs4_acl_fill_cache()
2066 if (rvsap->vsa_aclcnt != vsap->vsa_aclcnt) { in nfs4_acl_fill_cache()
2067 vs_ace4_destroy(rvsap); in nfs4_acl_fill_cache()
2068 rvsap->vsa_aclentp = NULL; in nfs4_acl_fill_cache()
2080 ace4 = (nfsace4 *) rvsap->vsa_aclentp; in nfs4_acl_fill_cache()
2081 for (i = 0; i < rvsap->vsa_aclcnt; i++) { in nfs4_acl_fill_cache()
2092 if (rvsap->vsa_aclentp == NULL) { in nfs4_acl_fill_cache()
2093 rvsap->vsa_aclentp = kmem_alloc(aclsize, in nfs4_acl_fill_cache()
2097 bcopy(vsap->vsa_aclentp, rvsap->vsa_aclentp, aclsize); in nfs4_acl_fill_cache()
2100 ace4 = (nfsace4 *) rvsap->vsa_aclentp; in nfs4_acl_fill_cache()
2106 rvsap->vsa_aclcnt = vsap->vsa_aclcnt; in nfs4_acl_fill_cache()
2107 rvsap->vsa_mask |= VSA_ACE | VSA_ACECNT; in nfs4_acl_fill_cache()
2110 if (rvsap->vsa_aclentp != NULL) { in nfs4_acl_fill_cache()
2117 rvsap->vsa_aclcnt != vsap->vsa_aclcnt) { in nfs4_acl_fill_cache()
2118 vs_ace4_destroy(rvsap); in nfs4_acl_fill_cache()
2119 rvsap->vsa_aclentp = NULL; in nfs4_acl_fill_cache()
2120 rvsap->vsa_mask &= ~VSA_ACE; in nfs4_acl_fill_cache()
2123 rvsap->vsa_aclcnt = vsap->vsa_aclcnt; in nfs4_acl_fill_cache()
2124 rvsap->vsa_mask |= VSA_ACECNT; in nfs4_acl_fill_cache()