/illumos-gate/usr/src/uts/common/syscall/ |
H A D | acl.c | 153 if (vsecattr.vsa_aclcnt && vsecattr.vsa_aclentp) { in cacl() 154 kmem_free(vsecattr.vsa_aclentp, in cacl() 188 ksort((caddr_t)vsecattr.vsa_aclentp, in cacl() 196 if (copyout(vsecattr.vsa_aclentp, uaddrp, aclbsize)) { in cacl() 212 kmem_free(vsecattr.vsa_aclentp, in cacl() 236 if ((error = copyout(vsecattr.vsa_aclentp, in cacl() 244 kmem_free(vsecattr.vsa_aclentp, vsecattr.vsa_aclentsz); in cacl() 265 vsecattr.vsa_aclentp = kmem_alloc(aclbsize, KM_SLEEP); in cacl() 266 aaclp = vsecattr.vsa_aclentp; in cacl() 269 if (copyin(uaddrp, vsecattr.vsa_aclentp, aclbsize)) { in cacl() [all …]
|
/illumos-gate/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 | 157 res.resok.acl.vsa_aclentp = NULL; in acl_getacl2() 537 res.resok.acl.vsa_aclentp = NULL; in acl_getacl3() 689 if (vsp->vsa_aclentp != NULL) { in nfs_acl_free() 690 kmem_free(vsp->vsa_aclentp, vsp->vsa_aclcnt * in nfs_acl_free() 711 vsp->vsa_aclentp = kmem_alloc(aclsize, KM_SLEEP); in nfs_acl_dup_cache() 712 bcopy(rvsp->vsa_aclentp, vsp->vsa_aclentp, aclsize); in nfs_acl_dup_cache() 747 if (rvsp->vsa_aclentp != NULL && in nfs_acl_dup_res_impl() 750 kmem_free(rvsp->vsa_aclentp, aclsize); in nfs_acl_dup_res_impl() 751 rvsp->vsa_aclentp = NULL; in nfs_acl_dup_res_impl() 755 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() 503 resp->resok.acl.vsa_aclentp != NULL) { in acl3_getacl() 504 kmem_free((caddr_t)resp->resok.acl.vsa_aclentp, in acl3_getacl() 507 resp->resok.acl.vsa_aclentp = NULL; in acl3_getacl() [all …]
|
H A D | nfs_acl_xdr.c | 92 if (objp->vsa_aclentp != NULL) in xdr_secattr() 96 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 | 983 na->acl.fattr4_acl_val = vs_ace4.vsa_aclentp; in rfs4_fattr4_acl() 988 vs_ace4.vsa_aclentp, in rfs4_fattr4_acl() 1005 vs_ace4.vsa_aclentp = na->acl.fattr4_acl_val; in rfs4_fattr4_acl() 1075 vs_ace4.vsa_aclentp = na->acl.fattr4_acl_val; in rfs4_fattr4_acl()
|
H A D | nfs_srv.c | 3031 aclentp = vsa.vsa_aclentp; in acl_perm() 3103 kmem_free(vsa.vsa_aclentp, in acl_perm()
|
H A D | nfs4_vnops.c | 12501 if (vsap->vsa_aclentp != NULL) { in nfs4_create_getsecattr_return() 12502 kmem_free(vsap->vsa_aclentp, in nfs4_create_getsecattr_return() 12504 vsap->vsa_aclentp = NULL; in nfs4_create_getsecattr_return() 12523 if (vsap->vsa_aclentp != NULL) { in nfs4_create_getsecattr_return() 12524 kmem_free(vsap->vsa_aclentp, in nfs4_create_getsecattr_return() 12526 vsap->vsa_aclentp = NULL; in nfs4_create_getsecattr_return()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_acl.c | 354 ASSERT(vsa.vsa_aclentp != NULL); in smbfs_acl_refresh() 373 if (ovsa.vsa_aclentp != NULL) in smbfs_acl_refresh() 374 kmem_free(ovsa.vsa_aclentp, ovsa.vsa_aclentsz); in smbfs_acl_refresh() 445 if (np->r_secattr.vsa_aclentp == NULL || in smbfs_acl_getvsa() 456 ASSERT(np->r_secattr.vsa_aclentp != NULL); in smbfs_acl_getvsa() 467 vsa->vsa_aclentp = kmem_alloc(vsa->vsa_aclentsz, KM_SLEEP); in smbfs_acl_getvsa() 468 bcopy(np->r_secattr.vsa_aclentp, vsa->vsa_aclentp, in smbfs_acl_getvsa()
|
H A D | smbfs_subr2.c | 196 if (ovsa.vsa_aclentp != NULL) in sn_inactive() 197 kmem_free(ovsa.vsa_aclentp, ovsa.vsa_aclentsz); in sn_inactive() 1028 ASSERT(np->r_secattr.vsa_aclentp == NULL); in sn_destroy_node()
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_acl.c | 514 aclp = vsecattr.vsa_aclentp = in ufs_si_load() 543 if (vsecattr.vsa_aclentp) { in ufs_si_load() 544 ksort((caddr_t)vsecattr.vsa_aclentp, vsecattr.vsa_aclcnt, in ufs_si_load() 546 if ((err = acl_validate(vsecattr.vsa_aclentp, in ufs_si_load() 561 if (!vsecattr.vsa_aclentp && !vsecattr.vsa_dfaclentp) { in ufs_si_load() 609 if (vsecattr.vsa_aclentp) in ufs_si_load() 610 kmem_free(vsecattr.vsa_aclentp, in ufs_si_load() 727 vsap->vsa_aclentp = NULL; in ufs_acl_get() 735 vsap->vsa_aclentp = kmem_zalloc(4 * sizeof (aclent_t), in ufs_acl_get() 737 if (vsap->vsa_aclentp == NULL) in ufs_acl_get() [all …]
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fs_subr.c | 622 vsecattr->vsa_aclentp = NULL; in fs_fab_acl() 633 vsecattr->vsa_aclentp = kmem_zalloc(aclsize, KM_SLEEP); in fs_fab_acl() 634 aclentp = vsecattr->vsa_aclentp; in fs_fab_acl() 656 (vp->v_type == VDIR), (ace_t **)&vsecattr->vsa_aclentp, in fs_fab_acl() 777 vsecattr.vsa_aclentp = NULL; in fs_acl_nontrivial() 811 if (vsecattr.vsa_aclcnt && vsecattr.vsa_aclentp != NULL) in fs_acl_nontrivial() 812 kmem_free(vsecattr.vsa_aclentp, in fs_acl_nontrivial() 819 isnontrivial = ace_trivial(vsecattr.vsa_aclentp, in fs_acl_nontrivial() 822 if (vsecattr.vsa_aclcnt && vsecattr.vsa_aclentp != NULL) in fs_acl_nontrivial() 823 kmem_free(vsecattr.vsa_aclentp, in fs_acl_nontrivial()
|
H A D | vnode.c | 1420 vsec.vsa_aclentp = NULL; in vn_createat() 1448 if (vsec.vsa_aclcnt && vsec.vsa_aclentp != NULL) in vn_createat() 1449 kmem_free((caddr_t)vsec.vsa_aclentp, in vn_createat()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_acl.c | 926 (void) memcpy(acl_info->acl_aclp, vsecattr->vsa_aclentp, in smb_fsacl_from_vsa() 941 (void) memcpy(acl_info->acl_aclp, vsecattr->vsa_aclentp, in smb_fsacl_from_vsa() 953 if (aclbsize && vsecattr->vsa_aclentp) in smb_fsacl_from_vsa() 954 kmem_free(vsecattr->vsa_aclentp, aclbsize); in smb_fsacl_from_vsa() 1004 vsecattr->vsa_aclentp = kmem_alloc(*aclbsize, KM_SLEEP); in smb_fsacl_to_vsa() 1005 (void) memcpy(vsecattr->vsa_aclentp, acl_info->acl_aclp, in smb_fsacl_to_vsa() 1009 ksort((caddr_t)vsecattr->vsa_aclentp, in smb_fsacl_to_vsa() 1013 for (numacls = 0, aclp = vsecattr->vsa_aclentp; in smb_fsacl_to_vsa() 1031 vsecattr->vsa_aclentp = NULL; in smb_fsacl_to_vsa() 1054 vsecattr->vsa_aclentp = kmem_alloc(*aclbsize, KM_SLEEP); in smb_fsacl_to_vsa() [all …]
|
H A D | smb_vops.c | 1441 if (aclbsize && vsecattr.vsa_aclentp) in smb_vop_acl_write() 1442 kmem_free(vsecattr.vsa_aclentp, aclbsize); in smb_vop_acl_write()
|
H A D | smb_fsops.c | 189 kmem_free(vsap->vsa_aclentp, aclbsize); in smb_fsop_create_with_sd()
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_fssub.c | 301 vsecattr->vsa_aclentp = NULL; in fs_fab_acl() 315 (vp->v_type == VDIR), (ace_t **)&vsecattr->vsa_aclentp, in fs_fab_acl()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_log.c | 340 bcopy(vsecp->vsa_aclentp, end, aclsize); in zfs_log_create() 680 bcopy(vsecp->vsa_aclentp, (ace_t *)(lrv0 + 1), aclbytes); in zfs_log_acl() 684 bcopy(vsecp->vsa_aclentp, start, aclbytes); in zfs_log_acl()
|
H A D | zfs_replay.c | 361 vsec.vsa_aclentp = (caddr_t)(lracl + 1) + xvatlen; in zfs_replay_create_acl() 392 vsec.vsa_aclentp = (caddr_t)(lracl + 1) + xvatlen; in zfs_replay_create_acl() 878 vsa.vsa_aclentp = ace; in zfs_replay_acl_v0() 927 vsa.vsa_aclentp = ace; in zfs_replay_acl()
|
H A D | zfs_acl.c | 1898 vsecp->vsa_aclentp = kmem_alloc(aclsz, KM_SLEEP); in zfs_getacl() 1903 vsecp->vsa_aclentp, !(mask & VSA_ACE_ALLTYPES)); in zfs_getacl() 1906 void *start = vsecp->vsa_aclentp; in zfs_getacl() 1914 ASSERT((caddr_t)start - (caddr_t)vsecp->vsa_aclentp == in zfs_getacl() 1951 (ace_t *)vsecp->vsa_aclentp, aclnode->z_acldata, in zfs_vsec_2_aclp() 1959 vsecp->vsa_aclentp, aclnode->z_acldata, aclcnt, in zfs_vsec_2_aclp()
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 1329 vsecattr->vsa_aclentp = NULL; in fop_getsecattr() 1339 vsecattr->vsa_aclentp = kmem_zalloc(aclsize, KM_SLEEP); in fop_getsecattr() 1340 aclentp = vsecattr->vsa_aclentp; in fop_getsecattr() 1355 vsecattr->vsa_aclentp = (void *)acl; in fop_getsecattr()
|
/illumos-gate/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 225 void *vsa_aclentp; /* pointer to ACL entries */ member
|
/illumos-gate/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 1125 acl_info->vsa_aclentp = zacep0; in smbfs_acl_sd2zfs() 1465 zacevec = acl_info->vsa_aclentp; in smbfs_acl_zfs2sd()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vnode.h | 840 void *vsa_aclentp; /* pointer to ACL entries */ member
|