Home
last modified time | relevance | path

Searched refs:vsa_aclentp (Results 1 – 25 of 31) sorted by relevance

12

/titanic_44/usr/src/uts/common/syscall/
H A Dacl.c154 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 Dnfs4_acl.c240 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 Dnfs_acl_vnops.c159 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 Dnfs_acl_srv.c135 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 Dnfs_acl_xdr.c95 if (objp->vsa_aclentp != NULL) in xdr_secattr()
99 if (!xdr_array(xdrs, (char **)&objp->vsa_aclentp, &count, in xdr_secattr()
H A Dnfs4_attr.c216 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 Dnfs4_srv_attr.c955 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 Dnfs_srv.c2904 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 Dsmbfs_acl.c366 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 Dsmbfs_subr2.c182 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 Dfs_subr.c549 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 Dvnode.c1369 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 Dufs_acl.c519 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 Dsmb_acl.c876 (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 Dsmb_vops.c1243 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 Dfake_vop.c1073 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 Dzfs_replay.c342 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 Dzfs_log.c325 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 Dzfs_acl.c1834 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 Dcachefs_vnops.c8901 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 Dcachefs_dlog.c715 bcopy(vsec->vsa_aclentp, aclp, in cachefs_dlog_setsecattr()
/titanic_44/usr/src/common/smbclnt/
H A Dsmbfs_ntacl.c1122 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 Dzfs_context.h448 void *vsa_aclentp; /* pointer to ACL entries */ member
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h753 void *vsa_aclentp; /* pointer to ACL entries */ member
/titanic_44/usr/src/uts/common/sys/
H A Dvnode.h758 void *vsa_aclentp; /* pointer to ACL entries */ member

12