/titanic_44/usr/src/uts/common/syscall/ |
H A D | acl.c | 153 *rv = vsecattr.vsa_aclcnt + vsecattr.vsa_dfaclcnt; in cacl() 158 if (vsecattr.vsa_dfaclcnt && vsecattr.vsa_dfaclentp) { in cacl() 160 vsecattr.vsa_dfaclcnt * entry_size); in cacl() 180 numacls = vsecattr.vsa_aclcnt + vsecattr.vsa_dfaclcnt; in cacl() 182 dfaclbsize = vsecattr.vsa_dfaclcnt * sizeof (aclent_t); in cacl() 191 if (vsecattr.vsa_dfaclcnt > 1) in cacl() 193 vsecattr.vsa_dfaclcnt, sizeof (aclent_t), cmp2acls); in cacl() 216 if (vsecattr.vsa_dfaclcnt) { in cacl() 218 vsecattr.vsa_dfaclcnt * sizeof (aclent_t)); in cacl() 289 vsecattr.vsa_dfaclcnt = nentries - numacls; in cacl() [all …]
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs_acl_vnops.c | 696 kmem_free(vsp->vsa_dfaclentp, vsp->vsa_dfaclcnt * in nfs_acl_free() 720 aclsize = rvsp->vsa_dfaclcnt * sizeof (aclent_t); in nfs_acl_dup_cache() 725 vsp->vsa_dfaclcnt = rvsp->vsa_dfaclcnt; in nfs_acl_dup_cache() 779 rvsp->vsa_dfaclcnt != vsp->vsa_dfaclcnt) { in nfs_acl_dup_res_impl() 780 aclsize = rvsp->vsa_dfaclcnt * sizeof (aclent_t); in nfs_acl_dup_res_impl() 784 if (vsp->vsa_dfaclcnt > 0) { in nfs_acl_dup_res_impl() 785 aclsize = vsp->vsa_dfaclcnt * sizeof (aclent_t); in nfs_acl_dup_res_impl() 792 rvsp->vsa_dfaclcnt = vsp->vsa_dfaclcnt; in nfs_acl_dup_res_impl() 797 rvsp->vsa_dfaclcnt != vsp->vsa_dfaclcnt) { in nfs_acl_dup_res_impl() 798 aclsize = rvsp->vsa_dfaclcnt * sizeof (aclent_t); in nfs_acl_dup_res_impl() [all …]
|
H A D | nfs_acl_srv.c | 139 if (resp->resok.acl.vsa_dfaclcnt > 0 && in acl2_getacl() 142 resp->resok.acl.vsa_dfaclcnt * sizeof (aclent_t)); in acl2_getacl() 157 if (resp->resok.acl.vsa_dfaclcnt > 0 && in acl2_getacl() 160 resp->resok.acl.vsa_dfaclcnt * sizeof (aclent_t)); in acl2_getacl() 183 if (resp->resok.acl.vsa_dfaclcnt > 0 && in acl2_getacl_free() 186 resp->resok.acl.vsa_dfaclcnt * sizeof (aclent_t)); in acl2_getacl_free() 511 if (resp->resok.acl.vsa_dfaclcnt > 0 && in acl3_getacl() 514 resp->resok.acl.vsa_dfaclcnt * sizeof (aclent_t)); in acl3_getacl() 549 if (resp->resok.acl.vsa_dfaclcnt > 0 && in acl3_getacl_free() 552 resp->resok.acl.vsa_dfaclcnt * sizeof (aclent_t)); in acl3_getacl_free()
|
H A D | nfs_acl_xdr.c | 110 if (!xdr_int(xdrs, &objp->vsa_dfaclcnt)) in xdr_secattr() 113 count = (uint_t)objp->vsa_dfaclcnt; in xdr_secattr() 119 if (count != 0 && count != (uint_t)objp->vsa_dfaclcnt) { in xdr_secattr() 124 objp->vsa_dfaclcnt = (int)count; in xdr_secattr()
|
H A D | nfs4_acl.c | 296 (vsp->vsa_dfaclcnt > 0) && in vs_aent_destroy() 300 vsp->vsa_dfaclcnt * sizeof (aclent_t)); in vs_aent_destroy() 818 vs_ace4->vsa_dfaclcnt = 0; in vs_aent_to_ace4() 838 if ((aclentacl->vsa_dfaclcnt != 0) && (aclentacl->vsa_dfaclcnt < 3) && in vs_aent_to_ace4() 842 aclentacl->vsa_dfaclcnt)); in vs_aent_to_ace4() 853 if (aclentacl->vsa_dfaclcnt > 0) { in vs_aent_to_ace4() 855 aclentacl->vsa_dfaclcnt, &dfacebuf, &dfacecnt, isdir, in vs_aent_to_ace4() 1596 (aclent_t **)&vs_aent->vsa_dfaclentp, &vs_aent->vsa_dfaclcnt, in vs_ace4_to_aent() 1602 if ((vs_aent->vsa_aclcnt == 0) && (vs_aent->vsa_dfaclcnt == 0)) { in vs_ace4_to_aent()
|
H A D | nfs4_vnops.c | 12750 vsap->vsa_dfaclcnt * sizeof (aclent_t)); in nfs4_create_getsecattr_return()
|
/titanic_44/usr/src/uts/common/fs/ufs/ |
H A D | ufs_acl.c | 531 numacls = vsecattr.vsa_dfaclcnt = in ufs_si_load() 557 ksort((caddr_t)vsecattr.vsa_dfaclentp, vsecattr.vsa_dfaclcnt, in ufs_si_load() 560 vsecattr.vsa_dfaclcnt, DEF_ACL_CHECK)) != 0) { in ufs_si_load() 619 vsecattr.vsa_dfaclcnt * sizeof (aclent_t)); in ufs_si_load() 734 vsap->vsa_dfaclcnt = 0; /* Default ACLs are not fabricated */ in ufs_acl_get() 1013 ksort((caddr_t)vsap->vsa_dfaclentp, vsap->vsa_dfaclcnt, in vsecattr2aclentry() 1019 vsap->vsa_dfaclcnt, DEF_ACL_CHECK)) != 0) in vsecattr2aclentry() 1063 aclentp = aclp + vsap->vsa_dfaclcnt - 1; in vsecattr2aclentry() 1064 for (i = 0; i < vsap->vsa_dfaclcnt; i++) { in vsecattr2aclentry() 1192 vsap->vsa_dfaclcnt = numacls; in aclentry2vsecattr() [all …]
|
/titanic_44/usr/src/uts/common/fs/ |
H A D | fs_subr.c | 550 vsecattr->vsa_dfaclcnt = 0; /* Default ACLs are not fabricated */ in fs_fab_acl() 707 vsecattr.vsa_dfaclcnt = 0; in fs_acl_nontrivial() 741 if (vsecattr.vsa_dfaclcnt && vsecattr.vsa_dfaclentp != NULL) in fs_acl_nontrivial() 743 vsecattr.vsa_dfaclcnt * sizeof (aclent_t)); in fs_acl_nontrivial()
|
H A D | vnode.c | 1370 vsec.vsa_dfaclcnt = 0; in vn_createat() 1389 if (vsec.vsa_dfaclcnt == 0) in vn_createat() 1400 if (vsec.vsa_dfaclcnt && vsec.vsa_dfaclentp != NULL) in vn_createat() 1402 vsec.vsa_dfaclcnt * sizeof (aclent_t)); in vn_createat()
|
/titanic_44/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_dlog.c | 664 ASSERT((vsec->vsa_mask & VSA_DFACL) || (vsec->vsa_dfaclcnt == 0)); in cachefs_dlog_setsecattr() 668 vsec->vsa_dfaclcnt = 0; in cachefs_dlog_setsecattr() 671 alen = sizeof (aclent_t) * (vsec->vsa_aclcnt + vsec->vsa_dfaclcnt); in cachefs_dlog_setsecattr() 710 up->dl_dfaclcnt = vsec->vsa_dfaclcnt; in cachefs_dlog_setsecattr() 719 if (vsec->vsa_dfaclcnt > 0) { in cachefs_dlog_setsecattr() 721 vsec->vsa_dfaclcnt * sizeof (aclent_t)); in cachefs_dlog_setsecattr()
|
H A D | cachefs_vnops.c | 9271 ((vsecp->vsa_aclcnt + vsecp->vsa_dfaclcnt) in cachefs_cacheacl() 9287 if (vsecp->vsa_dfaclcnt > 0) { in cachefs_cacheacl() 9335 if (vsec.vsa_dfaclcnt) in cachefs_cacheacl() 9337 vsec.vsa_dfaclcnt * sizeof (aclent_t)); in cachefs_cacheacl() 9678 if ((vsec.vsa_dfaclcnt > 0) && (vsec.vsa_dfaclentp != NULL)) { in cachefs_createacl() 9683 vsec.vsa_aclcnt = vsec.vsa_dfaclcnt; in cachefs_createacl() 9685 vsec.vsa_dfaclcnt = 0; in cachefs_createacl() 9691 vsec.vsa_dfaclcnt = vsec.vsa_aclcnt; in cachefs_createacl() 9773 if ((vsec.vsa_dfaclcnt > 0) && (vsec.vsa_dfaclentp != NULL)) in cachefs_createacl() 9775 vsec.vsa_dfaclcnt * sizeof (aclent_t)); in cachefs_createacl() [all …]
|
H A D | cachefs_ioctl.c | 2181 vsec.vsa_dfaclcnt = ssap->sc_dfaclcnt; in cachefs_io_setsecattr()
|
/titanic_44/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_acl.c | 869 numacls = vsecattr->vsa_aclcnt + vsecattr->vsa_dfaclcnt; in smb_fsacl_from_vsa() 871 dfaclbsize = vsecattr->vsa_dfaclcnt * sizeof (aclent_t); in smb_fsacl_from_vsa() 973 vsecattr->vsa_dfaclcnt = vsecattr->vsa_aclcnt - numacls; in smb_fsacl_to_vsa() 985 if (vsecattr->vsa_dfaclcnt && in smb_fsacl_to_vsa()
|
/titanic_44/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 449 int vsa_dfaclcnt; /* default ACL entry count */ member
|
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 1074 vsecattr->vsa_dfaclcnt = 0; /* Default ACLs are not fabricated */ in fop_getsecattr()
|
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/sys/ |
H A D | vnode.h | 754 int vsa_dfaclcnt; /* default ACL entry count */ member
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | vnode.h | 759 int vsa_dfaclcnt; /* default ACL entry count */ member
|