/titanic_44/usr/src/uts/common/syscall/ |
H A D | acl.c | 154 if (vsecattr.vsa_aclcnt && vsecattr.vsa_aclentp) { in cacl() 155 kmem_free(vsecattr.vsa_aclentp, in cacl() 189 ksort((caddr_t)vsecattr.vsa_aclentp, in cacl() 197 if (copyout(vsecattr.vsa_aclentp, uaddrp, aclbsize)) { in cacl() 213 kmem_free(vsecattr.vsa_aclentp, in cacl() 237 if ((error = copyout(vsecattr.vsa_aclentp, in cacl() 245 kmem_free(vsecattr.vsa_aclentp, vsecattr.vsa_aclentsz); in cacl() 266 vsecattr.vsa_aclentp = kmem_alloc(aclbsize, KM_SLEEP); in cacl() 267 aaclp = vsecattr.vsa_aclentp; in cacl() 270 if (copyin(uaddrp, vsecattr.vsa_aclentp, aclbsize)) { in cacl() [all …]
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_acl.c | 240 if ((vsp->vsa_aclentp != NULL) && in vs_acet_destroy() 244 kmem_free(vsp->vsa_aclentp, in vs_acet_destroy() 247 vsp->vsa_aclentp = NULL; in vs_acet_destroy() 260 if ((vsp->vsa_aclentp != NULL) && in vs_ace4_destroy() 265 ace4 = (nfsace4 *)vsp->vsa_aclentp + i; in vs_ace4_destroy() 275 kmem_free(vsp->vsa_aclentp, in vs_ace4_destroy() 279 vsp->vsa_aclentp = NULL; in vs_ace4_destroy() 289 if ((vsp->vsa_aclentp != NULL) && in vs_aent_destroy() 293 kmem_free(vsp->vsa_aclentp, in vs_aent_destroy() 302 vsp->vsa_aclentp = NULL; in vs_aent_destroy() [all …]
|
H A D | nfs_acl_vnops.c | 159 res.resok.acl.vsa_aclentp = NULL; in acl_getacl2() 539 res.resok.acl.vsa_aclentp = NULL; in acl_getacl3() 691 if (vsp->vsa_aclentp != NULL) { in nfs_acl_free() 692 kmem_free(vsp->vsa_aclentp, vsp->vsa_aclcnt * in nfs_acl_free() 713 vsp->vsa_aclentp = kmem_alloc(aclsize, KM_SLEEP); in nfs_acl_dup_cache() 714 bcopy(rvsp->vsa_aclentp, vsp->vsa_aclentp, aclsize); in nfs_acl_dup_cache() 749 if (rvsp->vsa_aclentp != NULL && in nfs_acl_dup_res_impl() 752 kmem_free(rvsp->vsa_aclentp, aclsize); in nfs_acl_dup_res_impl() 753 rvsp->vsa_aclentp = NULL; in nfs_acl_dup_res_impl() 757 if (rvsp->vsa_aclentp == NULL) { in nfs_acl_dup_res_impl() [all …]
|
H A D | nfs_acl_srv.c | 135 resp->resok.acl.vsa_aclentp != NULL) { in acl2_getacl() 136 kmem_free((caddr_t)resp->resok.acl.vsa_aclentp, in acl2_getacl() 150 resp->resok.acl.vsa_aclentp != NULL) { in acl2_getacl() 151 kmem_free((caddr_t)resp->resok.acl.vsa_aclentp, in acl2_getacl() 154 resp->resok.acl.vsa_aclentp = NULL; in acl2_getacl() 179 resp->resok.acl.vsa_aclentp != NULL) { in acl2_getacl_free() 180 kmem_free((caddr_t)resp->resok.acl.vsa_aclentp, in acl2_getacl_free() 504 resp->resok.acl.vsa_aclentp != NULL) { in acl3_getacl() 505 kmem_free((caddr_t)resp->resok.acl.vsa_aclentp, in acl3_getacl() 508 resp->resok.acl.vsa_aclentp = NULL; in acl3_getacl() [all …]
|
H A D | nfs_acl_xdr.c | 95 if (objp->vsa_aclentp != NULL) in xdr_secattr() 99 if (!xdr_array(xdrs, (char **)&objp->vsa_aclentp, &count, in xdr_secattr()
|
H A D | nfs4_attr.c | 216 nap->acl.fattr4_acl_val = vsap->vsa_aclentp; in nfs4_set_fattr4_attr() 365 nfsace4 *tmpacl = (nfsace4 *)vsap->vsa_aclentp; in vattr_to_fattr4()
|
H A D | nfs4_srv_attr.c | 955 na->acl.fattr4_acl_val = vs_ace4.vsa_aclentp; in rfs4_fattr4_acl() 960 vs_ace4.vsa_aclentp, in rfs4_fattr4_acl() 977 vs_ace4.vsa_aclentp = na->acl.fattr4_acl_val; in rfs4_fattr4_acl() 1047 vs_ace4.vsa_aclentp = na->acl.fattr4_acl_val; in rfs4_fattr4_acl()
|
H A D | nfs_srv.c | 2904 aclentp = vsa.vsa_aclentp; in acl_perm() 2976 kmem_free(vsa.vsa_aclentp, in acl_perm()
|
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_acl.c | 366 ASSERT(vsa.vsa_aclentp != NULL); in smbfs_acl_refresh() 385 if (ovsa.vsa_aclentp != NULL) in smbfs_acl_refresh() 386 kmem_free(ovsa.vsa_aclentp, ovsa.vsa_aclentsz); in smbfs_acl_refresh() 457 if (np->r_secattr.vsa_aclentp == NULL || in smbfs_acl_getvsa() 468 ASSERT(np->r_secattr.vsa_aclentp != NULL); in smbfs_acl_getvsa() 479 vsa->vsa_aclentp = kmem_alloc(vsa->vsa_aclentsz, KM_SLEEP); in smbfs_acl_getvsa() 480 bcopy(np->r_secattr.vsa_aclentp, vsa->vsa_aclentp, in smbfs_acl_getvsa()
|
H A D | smbfs_subr2.c | 182 if (ovsa.vsa_aclentp != NULL) in sn_inactive() 183 kmem_free(ovsa.vsa_aclentp, ovsa.vsa_aclentsz); in sn_inactive() 1025 ASSERT(np->r_secattr.vsa_aclentp == NULL); in sn_destroy_node()
|
/titanic_44/usr/src/uts/common/fs/ |
H A D | fs_subr.c | 549 vsecattr->vsa_aclentp = NULL; in fs_fab_acl() 560 vsecattr->vsa_aclentp = kmem_zalloc(aclsize, KM_SLEEP); in fs_fab_acl() 561 aclentp = vsecattr->vsa_aclentp; in fs_fab_acl() 583 (vp->v_type == VDIR), (ace_t **)&vsecattr->vsa_aclentp, in fs_fab_acl() 704 vsecattr.vsa_aclentp = NULL; in fs_acl_nontrivial() 738 if (vsecattr.vsa_aclcnt && vsecattr.vsa_aclentp != NULL) in fs_acl_nontrivial() 739 kmem_free(vsecattr.vsa_aclentp, in fs_acl_nontrivial() 746 isnontrivial = ace_trivial(vsecattr.vsa_aclentp, in fs_acl_nontrivial() 749 if (vsecattr.vsa_aclcnt && vsecattr.vsa_aclentp != NULL) in fs_acl_nontrivial() 750 kmem_free(vsecattr.vsa_aclentp, in fs_acl_nontrivial()
|
H A D | vnode.c | 1369 vsec.vsa_aclentp = NULL; in vn_createat() 1397 if (vsec.vsa_aclcnt && vsec.vsa_aclentp != NULL) in vn_createat() 1398 kmem_free((caddr_t)vsec.vsa_aclentp, in vn_createat()
|
/titanic_44/usr/src/uts/common/fs/ufs/ |
H A D | ufs_acl.c | 519 aclp = vsecattr.vsa_aclentp = in ufs_si_load() 548 if (vsecattr.vsa_aclentp) { in ufs_si_load() 549 ksort((caddr_t)vsecattr.vsa_aclentp, vsecattr.vsa_aclcnt, in ufs_si_load() 551 if ((err = acl_validate(vsecattr.vsa_aclentp, in ufs_si_load() 566 if (!vsecattr.vsa_aclentp && !vsecattr.vsa_dfaclentp) { in ufs_si_load() 614 if (vsecattr.vsa_aclentp) in ufs_si_load() 615 kmem_free(vsecattr.vsa_aclentp, in ufs_si_load() 733 vsap->vsa_aclentp = NULL; in ufs_acl_get() 741 vsap->vsa_aclentp = kmem_zalloc(4 * sizeof (aclent_t), in ufs_acl_get() 743 if (vsap->vsa_aclentp == NULL) in ufs_acl_get() [all …]
|
/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_acl.c | 876 (void) memcpy(acl_info->acl_aclp, vsecattr->vsa_aclentp, in smb_fsacl_from_vsa() 891 (void) memcpy(acl_info->acl_aclp, vsecattr->vsa_aclentp, in smb_fsacl_from_vsa() 903 if (aclbsize && vsecattr->vsa_aclentp) in smb_fsacl_from_vsa() 904 kmem_free(vsecattr->vsa_aclentp, aclbsize); in smb_fsacl_from_vsa() 954 vsecattr->vsa_aclentp = kmem_alloc(*aclbsize, KM_SLEEP); in smb_fsacl_to_vsa() 955 (void) memcpy(vsecattr->vsa_aclentp, acl_info->acl_aclp, in smb_fsacl_to_vsa() 959 ksort((caddr_t)vsecattr->vsa_aclentp, in smb_fsacl_to_vsa() 963 for (numacls = 0, aclp = vsecattr->vsa_aclentp; in smb_fsacl_to_vsa() 981 vsecattr->vsa_aclentp = NULL; in smb_fsacl_to_vsa() 1004 vsecattr->vsa_aclentp = kmem_alloc(*aclbsize, KM_SLEEP); in smb_fsacl_to_vsa() [all …]
|
H A D | smb_vops.c | 1243 if (aclbsize && vsecattr.vsa_aclentp) in smb_vop_acl_write() 1244 kmem_free(vsecattr.vsa_aclentp, aclbsize); in smb_vop_acl_write()
|
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 1073 vsecattr->vsa_aclentp = NULL; in fop_getsecattr() 1083 vsecattr->vsa_aclentp = kmem_zalloc(aclsize, KM_SLEEP); in fop_getsecattr() 1084 aclentp = vsecattr->vsa_aclentp; in fop_getsecattr() 1099 vsecattr->vsa_aclentp = (void *)acl; in fop_getsecattr()
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | zfs_replay.c | 342 vsec.vsa_aclentp = (caddr_t)(lracl + 1) + xvatlen; in zfs_replay_create_acl() 373 vsec.vsa_aclentp = (caddr_t)(lracl + 1) + xvatlen; in zfs_replay_create_acl() 836 vsa.vsa_aclentp = ace; in zfs_replay_acl_v0() 883 vsa.vsa_aclentp = ace; in zfs_replay_acl()
|
H A D | zfs_log.c | 325 bcopy(vsecp->vsa_aclentp, end, aclsize); in zfs_log_create() 696 bcopy(vsecp->vsa_aclentp, (ace_t *)(lrv0 + 1), aclbytes); in zfs_log_acl() 700 bcopy(vsecp->vsa_aclentp, start, aclbytes); in zfs_log_acl()
|
H A D | zfs_acl.c | 1834 vsecp->vsa_aclentp = kmem_alloc(aclsz, KM_SLEEP); in zfs_getacl() 1839 vsecp->vsa_aclentp, !(mask & VSA_ACE_ALLTYPES)); in zfs_getacl() 1842 void *start = vsecp->vsa_aclentp; in zfs_getacl() 1850 ASSERT((caddr_t)start - (caddr_t)vsecp->vsa_aclentp == in zfs_getacl() 1887 (ace_t *)vsecp->vsa_aclentp, aclnode->z_acldata, in zfs_vsec_2_aclp() 1895 vsecp->vsa_aclentp, aclnode->z_acldata, aclcnt, in zfs_vsec_2_aclp()
|
/titanic_44/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_vnops.c | 8901 aclp = ((aclent_t *)vsec->vsa_aclentp) + i; in cachefs_acl2perm() 9231 aclkeep = vsecp->vsa_aclentp; in cachefs_cacheacl() 9232 vsecp->vsa_aclentp = cachefs_kmem_alloc(vsecp->vsa_aclcnt * in cachefs_cacheacl() 9234 bcopy(aclkeep, vsecp->vsa_aclentp, vsecp->vsa_aclcnt * in cachefs_cacheacl() 9249 aclp = ((aclent_t *)vsecp->vsa_aclentp) + i; in cachefs_cacheacl() 9333 kmem_free(vsec.vsa_aclentp, in cachefs_cacheacl() 9339 cachefs_kmem_free(vsecp->vsa_aclentp, in cachefs_cacheacl() 9341 vsecp->vsa_aclentp = aclkeep; in cachefs_cacheacl() 9432 ASSERT(vsec->vsa_aclentp == NULL); in cachefs_getaclfromcache() 9460 vsec->vsa_aclentp = in cachefs_getaclfromcache() [all …]
|
H A D | cachefs_dlog.c | 715 bcopy(vsec->vsa_aclentp, aclp, in cachefs_dlog_setsecattr()
|
/titanic_44/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 1122 acl_info->vsa_aclentp = zacep0; in smbfs_acl_sd2zfs() 1462 zacevec = acl_info->vsa_aclentp; in smbfs_acl_zfs2sd()
|
/titanic_44/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 448 void *vsa_aclentp; /* pointer to ACL entries */ member
|
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/sys/ |
H A D | vnode.h | 753 void *vsa_aclentp; /* pointer to ACL entries */ member
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | vnode.h | 758 void *vsa_aclentp; /* pointer to ACL entries */ member
|