Home
last modified time | relevance | path

Searched refs:vsa_dfaclcnt (Results 1 – 17 of 17) sorted by relevance

/titanic_44/usr/src/uts/common/syscall/
H A Dacl.c153 *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 Dnfs_acl_vnops.c696 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 Dnfs_acl_srv.c139 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 Dnfs_acl_xdr.c110 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 Dnfs4_acl.c296 (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 Dnfs4_vnops.c12750 vsap->vsa_dfaclcnt * sizeof (aclent_t)); in nfs4_create_getsecattr_return()
/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_acl.c531 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 Dfs_subr.c550 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 Dvnode.c1370 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 Dcachefs_dlog.c664 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 Dcachefs_vnops.c9271 ((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 Dcachefs_ioctl.c2181 vsec.vsa_dfaclcnt = ssap->sc_dfaclcnt; in cachefs_io_setsecattr()
/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()
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 Dzfs_context.h449 int vsa_dfaclcnt; /* default ACL entry count */ member
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c1074 vsecattr->vsa_dfaclcnt = 0; /* Default ACLs are not fabricated */ in fop_getsecattr()
/titanic_44/usr/src/lib/smbsrv/libfksmbsrv/common/sys/
H A Dvnode.h754 int vsa_dfaclcnt; /* default ACL entry count */ member
/titanic_44/usr/src/uts/common/sys/
H A Dvnode.h759 int vsa_dfaclcnt; /* default ACL entry count */ member