Home
last modified time | relevance | path

Searched refs:vsa_aclcnt (Results 1 – 25 of 27) sorted by relevance

12

/titanic_44/usr/src/uts/common/syscall/
H A Dacl.c153 *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 Dnfs4_acl.c241 (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 Dnfs_acl_vnops.c692 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 Dnfs_acl_srv.c134 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 Dnfs_acl_xdr.c93 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 Dnfs4_attr.c215 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 Dnfs4_srv_attr.c953 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 Dnfs_srv.c2901 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 Dnfs4_xdr.c1010 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 Dfs_subr.c547 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 Dvnode.c1368 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 Dsmb_acl.c869 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 Dufs_acl.c516 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 Dcachefs_dlog.c663 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 Dcachefs_vnops.c8900 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 Dcachefs_ioctl.c2180 vsec.vsa_aclcnt = ssap->sc_aclcnt; in cachefs_io_setsecattr()
/titanic_44/usr/src/uts/common/fs/zfs/
H A Dzfs_replay.c343 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 Dzfs_log.c316 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 Dzfs_acl.c1820 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 Dsmbfs_acl.c475 vsa->vsa_aclcnt = np->r_secattr.vsa_aclcnt; in smbfs_acl_getvsa()
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c1071 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 Dsmbfs_ntacl.c1121 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 Dzfs_context.h447 int vsa_aclcnt; /* ACL entry count */ member
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h752 int vsa_aclcnt; /* ACL entry count */ member
/titanic_44/usr/src/uts/common/sys/
H A Dvnode.h757 int vsa_aclcnt; /* ACL entry count */ member

12