/titanic_44/usr/src/uts/common/syscall/ |
H A D | acl.c | 153 *rv = vsecattr.vsa_aclcnt + vsecattr.vsa_dfaclcnt; in cacl() 154 if (vsecattr.vsa_aclcnt && vsecattr.vsa_aclentp) { in cacl() 156 vsecattr.vsa_aclcnt * entry_size); in cacl() 180 numacls = vsecattr.vsa_aclcnt + vsecattr.vsa_dfaclcnt; in cacl() 181 aclbsize = vsecattr.vsa_aclcnt * sizeof (aclent_t); in cacl() 188 if (vsecattr.vsa_aclcnt > 1) in cacl() 190 vsecattr.vsa_aclcnt, sizeof (aclent_t), cmp2acls); in cacl() 212 if (vsecattr.vsa_aclcnt) { in cacl() 214 vsecattr.vsa_aclcnt * sizeof (aclent_t)); in cacl() 230 aclbsize = vsecattr.vsa_aclcnt * sizeof (ace_t); in cacl() [all …]
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_acl.c | 241 (vsp->vsa_aclcnt > 0) && in vs_acet_destroy() 245 vsp->vsa_aclcnt * sizeof (ace_t)); in vs_acet_destroy() 248 vsp->vsa_aclcnt = 0; in vs_acet_destroy() 261 (vsp->vsa_aclcnt > 0) && in vs_ace4_destroy() 264 for (i = 0; i < vsp->vsa_aclcnt; i++) { in vs_ace4_destroy() 276 vsp->vsa_aclcnt * sizeof (nfsace4)); in vs_ace4_destroy() 280 vsp->vsa_aclcnt = 0; in vs_ace4_destroy() 290 (vsp->vsa_aclcnt > 0) && in vs_aent_destroy() 294 vsp->vsa_aclcnt * sizeof (aclent_t)); in vs_aent_destroy() 303 vsp->vsa_aclcnt = 0; in vs_aent_destroy() [all …]
|
H A D | nfs_acl_vnops.c | 692 kmem_free(vsp->vsa_aclentp, vsp->vsa_aclcnt * in nfs_acl_free() 712 aclsize = rvsp->vsa_aclcnt * sizeof (aclent_t); in nfs_acl_dup_cache() 717 vsp->vsa_aclcnt = rvsp->vsa_aclcnt; in nfs_acl_dup_cache() 750 rvsp->vsa_aclcnt != vsp->vsa_aclcnt) { in nfs_acl_dup_res_impl() 751 aclsize = rvsp->vsa_aclcnt * sizeof (aclent_t); in nfs_acl_dup_res_impl() 755 if (vsp->vsa_aclcnt > 0) { in nfs_acl_dup_res_impl() 756 aclsize = vsp->vsa_aclcnt * sizeof (aclent_t); in nfs_acl_dup_res_impl() 763 rvsp->vsa_aclcnt = vsp->vsa_aclcnt; in nfs_acl_dup_res_impl() 768 rvsp->vsa_aclcnt != vsp->vsa_aclcnt) { in nfs_acl_dup_res_impl() 769 aclsize = rvsp->vsa_aclcnt * sizeof (aclent_t); in nfs_acl_dup_res_impl() [all …]
|
H A D | nfs_acl_srv.c | 134 if (resp->resok.acl.vsa_aclcnt > 0 && in acl2_getacl() 137 resp->resok.acl.vsa_aclcnt * sizeof (aclent_t)); in acl2_getacl() 149 if (resp->resok.acl.vsa_aclcnt > 0 && in acl2_getacl() 152 resp->resok.acl.vsa_aclcnt * sizeof (aclent_t)); in acl2_getacl() 178 if (resp->resok.acl.vsa_aclcnt > 0 && in acl2_getacl_free() 181 resp->resok.acl.vsa_aclcnt * sizeof (aclent_t)); in acl2_getacl_free() 503 if (resp->resok.acl.vsa_aclcnt > 0 && in acl3_getacl() 506 resp->resok.acl.vsa_aclcnt * sizeof (aclent_t)); in acl3_getacl() 544 if (resp->resok.acl.vsa_aclcnt > 0 && in acl3_getacl_free() 547 resp->resok.acl.vsa_aclcnt * sizeof (aclent_t)); in acl3_getacl_free()
|
H A D | nfs_acl_xdr.c | 93 if (!xdr_int(xdrs, &objp->vsa_aclcnt)) in xdr_secattr() 96 count = (uint_t)objp->vsa_aclcnt; in xdr_secattr() 102 if (count != 0 && count != (uint_t)objp->vsa_aclcnt) { in xdr_secattr() 107 objp->vsa_aclcnt = (int)count; in xdr_secattr()
|
H A D | nfs4_attr.c | 215 nap->acl.fattr4_acl_len = vsap->vsa_aclcnt; in nfs4_set_fattr4_attr() 371 xdr_size += RNDUP((vsap->vsa_aclcnt * in vattr_to_fattr4() 375 for (j = 0; j < vsap->vsa_aclcnt; j++) { in vattr_to_fattr4()
|
H A D | nfs4_srv_attr.c | 953 na->acl.fattr4_acl_len = vs_ace4.vsa_aclcnt; in rfs4_fattr4_acl() 957 if (na->acl.fattr4_acl_len != vs_ace4.vsa_aclcnt) in rfs4_fattr4_acl() 961 vs_ace4.vsa_aclcnt) != 0) in rfs4_fattr4_acl() 976 vs_ace4.vsa_aclcnt = na->acl.fattr4_acl_len; in rfs4_fattr4_acl() 978 vs_ace4.vsa_aclentsz = vs_ace4.vsa_aclcnt * sizeof (ace_t); in rfs4_fattr4_acl() 1046 vs_ace4.vsa_aclcnt = na->acl.fattr4_acl_len; in rfs4_fattr4_acl()
|
H A D | nfs_srv.c | 2901 aclcnt = vsa.vsa_aclcnt; in acl_perm() 2975 if (vsa.vsa_aclcnt) in acl_perm() 2977 vsa.vsa_aclcnt * sizeof (aclent_t)); in acl_perm()
|
H A D | nfs4_xdr.c | 1010 vsap->vsa_aclcnt = acl.fattr4_acl_len; in xdr_ga_fattr_res() 1013 vsap->vsa_aclentsz = vsap->vsa_aclcnt * sizeof (ace_t); in xdr_ga_fattr_res()
|
/titanic_44/usr/src/uts/common/fs/ |
H A D | fs_subr.c | 547 vsecattr->vsa_aclcnt = 0; in fs_fab_acl() 559 vsecattr->vsa_aclcnt = 4; /* USER, GROUP, OTHER, and CLASS */ in fs_fab_acl() 584 &vsecattr->vsa_aclcnt)); in fs_fab_acl() 585 vsecattr->vsa_aclentsz = vsecattr->vsa_aclcnt * sizeof (ace_t); in fs_fab_acl() 706 vsecattr.vsa_aclcnt = 0; in fs_acl_nontrivial() 736 if (vsecattr.vsa_aclcnt > MIN_ACL_ENTRIES) in fs_acl_nontrivial() 738 if (vsecattr.vsa_aclcnt && vsecattr.vsa_aclentp != NULL) in fs_acl_nontrivial() 740 vsecattr.vsa_aclcnt * sizeof (aclent_t)); in fs_acl_nontrivial() 747 vsecattr.vsa_aclcnt); in fs_acl_nontrivial() 749 if (vsecattr.vsa_aclcnt && vsecattr.vsa_aclentp != NULL) in fs_acl_nontrivial() [all …]
|
H A D | vnode.c | 1368 vsec.vsa_aclcnt = 0; in vn_createat() 1397 if (vsec.vsa_aclcnt && vsec.vsa_aclentp != NULL) in vn_createat() 1399 vsec.vsa_aclcnt * sizeof (aclent_t)); in vn_createat()
|
/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() 870 aclbsize = vsecattr->vsa_aclcnt * sizeof (aclent_t); in smb_fsacl_from_vsa() 887 aclbsize = vsecattr->vsa_aclcnt * sizeof (ace_t); in smb_fsacl_from_vsa() 888 acl_info->acl_cnt = vsecattr->vsa_aclcnt; in smb_fsacl_from_vsa() 952 vsecattr->vsa_aclcnt = numacls; in smb_fsacl_to_vsa() 960 vsecattr->vsa_aclcnt, sizeof (aclent_t), cmp2acls); in smb_fsacl_to_vsa() 964 numacls < vsecattr->vsa_aclcnt; in smb_fsacl_to_vsa() 971 if (numacls < vsecattr->vsa_aclcnt) { in smb_fsacl_to_vsa() 973 vsecattr->vsa_dfaclcnt = vsecattr->vsa_aclcnt - numacls; in smb_fsacl_to_vsa() 975 vsecattr->vsa_aclcnt = numacls; in smb_fsacl_to_vsa() [all …]
|
/titanic_44/usr/src/uts/common/fs/ufs/ |
H A D | ufs_acl.c | 516 numacls = vsecattr.vsa_aclcnt = in ufs_si_load() 549 ksort((caddr_t)vsecattr.vsa_aclentp, vsecattr.vsa_aclcnt, in ufs_si_load() 552 vsecattr.vsa_aclcnt, ACL_CHECK)) != 0) { in ufs_si_load() 616 vsecattr.vsa_aclcnt * sizeof (aclent_t)); in ufs_si_load() 732 vsap->vsa_aclcnt = 0; in ufs_acl_get() 738 vsap->vsa_aclcnt = 4; /* USER, GROUP, OTHER, and CLASS */ in ufs_acl_get() 769 ksort((caddr_t)vsap->vsa_aclentp, vsap->vsa_aclcnt, in ufs_acl_get() 1011 ksort((caddr_t)vsap->vsa_aclentp, vsap->vsa_aclcnt, in vsecattr2aclentry() 1016 vsap->vsa_aclcnt, ACL_CHECK)) != 0) in vsecattr2aclentry() 1028 aclentp = aclp + vsap->vsa_aclcnt - 1; in vsecattr2aclentry() [all …]
|
/titanic_44/usr/src/uts/common/fs/cachefs/ |
H A D | cachefs_dlog.c | 663 ASSERT((vsec->vsa_mask & VSA_ACL) || (vsec->vsa_aclcnt == 0)); in cachefs_dlog_setsecattr() 666 vsec->vsa_aclcnt = 0; in cachefs_dlog_setsecattr() 671 alen = sizeof (aclent_t) * (vsec->vsa_aclcnt + vsec->vsa_dfaclcnt); in cachefs_dlog_setsecattr() 709 up->dl_aclcnt = vsec->vsa_aclcnt; in cachefs_dlog_setsecattr() 714 if (vsec->vsa_aclcnt > 0) { in cachefs_dlog_setsecattr() 716 vsec->vsa_aclcnt * sizeof (aclent_t)); in cachefs_dlog_setsecattr() 717 aclp += vsec->vsa_aclcnt; in cachefs_dlog_setsecattr()
|
H A D | cachefs_vnops.c | 8900 for (i = 0; i < vsec->vsa_aclcnt; i++) { in cachefs_acl2perm() 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() 9248 for (i = 0; i < vsecp->vsa_aclcnt; i++) { in cachefs_cacheacl() 9271 ((vsecp->vsa_aclcnt + vsecp->vsa_dfaclcnt) in cachefs_cacheacl() 9332 if (vsec.vsa_aclcnt) in cachefs_cacheacl() 9334 vsec.vsa_aclcnt * sizeof (aclent_t)); in cachefs_cacheacl() 9340 vsecp->vsa_aclcnt * sizeof (aclent_t)); in cachefs_cacheacl() 9457 vsec->vsa_aclcnt = MIN_ACL_ENTRIES; in cachefs_getaclfromcache() 9490 for (i = 0; i < vsec->vsa_aclcnt; i++) { in cachefs_getaclfromcache() [all …]
|
H A D | cachefs_ioctl.c | 2180 vsec.vsa_aclcnt = ssap->sc_aclcnt; in cachefs_io_setsecattr()
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | zfs_replay.c | 343 vsec.vsa_aclcnt = lracl->lr_aclcnt; in zfs_replay_create_acl() 374 vsec.vsa_aclcnt = lracl->lr_aclcnt; in zfs_replay_create_acl() 833 vsa.vsa_aclcnt = lr->lr_aclcnt; in zfs_replay_acl_v0() 834 vsa.vsa_aclentsz = sizeof (ace_t) * vsa.vsa_aclcnt; in zfs_replay_acl_v0() 882 vsa.vsa_aclcnt = lr->lr_aclcnt; in zfs_replay_acl()
|
H A D | zfs_log.c | 316 lracl->lr_aclcnt = vsecp->vsa_aclcnt; in zfs_log_create() 692 lr->lr_aclcnt = (uint64_t)vsecp->vsa_aclcnt; in zfs_log_acl()
|
H A D | zfs_acl.c | 1820 vsecp->vsa_aclcnt = count; in zfs_getacl() 1825 vsecp->vsa_aclcnt = count; in zfs_getacl() 1875 int aclcnt = vsecp->vsa_aclcnt; in zfs_vsec_2_aclp() 1878 if (vsecp->vsa_aclcnt > MAX_ACL_ENTRIES || vsecp->vsa_aclcnt <= 0) in zfs_vsec_2_aclp()
|
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_acl.c | 475 vsa->vsa_aclcnt = np->r_secattr.vsa_aclcnt; in smbfs_acl_getvsa()
|
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fake_vop.c | 1071 vsecattr->vsa_aclcnt = 0; in fop_getsecattr() 1082 vsecattr->vsa_aclcnt = 1; in fop_getsecattr() 1100 vsecattr->vsa_aclcnt = 1; in fop_getsecattr()
|
/titanic_44/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 1121 acl_info->vsa_aclcnt = zacecnt; in smbfs_acl_sd2zfs() 1461 zacecnt = acl_info->vsa_aclcnt; in smbfs_acl_zfs2sd()
|
/titanic_44/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 447 int vsa_aclcnt; /* ACL entry count */ member
|
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/sys/ |
H A D | vnode.h | 752 int vsa_aclcnt; /* ACL entry count */ member
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | vnode.h | 757 int vsa_aclcnt; /* ACL entry count */ member
|