Lines Matching refs:vsecattr
420 vsecattr_t vsecattr = {
504 * Result is a vsecattr struct which we then convert to the
507 bzero((caddr_t)&vsecattr, sizeof (vsecattr_t));
516 numacls = vsecattr.vsa_aclcnt =
519 aclp = vsecattr.vsa_aclentp =
531 numacls = vsecattr.vsa_dfaclcnt =
534 aclp = vsecattr.vsa_dfaclentp =
548 if (vsecattr.vsa_aclentp) {
549 ksort((caddr_t)vsecattr.vsa_aclentp, vsecattr.vsa_aclcnt,
551 if ((err = acl_validate(vsecattr.vsa_aclentp,
552 vsecattr.vsa_aclcnt, ACL_CHECK)) != 0) {
556 if (vsecattr.vsa_dfaclentp) {
557 ksort((caddr_t)vsecattr.vsa_dfaclentp, vsecattr.vsa_dfaclcnt,
559 if ((err = acl_validate(vsecattr.vsa_dfaclentp,
560 vsecattr.vsa_dfaclcnt, DEF_ACL_CHECK)) != 0) {
566 if (!vsecattr.vsa_aclentp && !vsecattr.vsa_dfaclentp) {
571 /* Convert from vsecattr struct to ufs_acl_entry struct */
572 if ((err = vsecattr2aclentry(&vsecattr, &sp)) != 0) {
614 if (vsecattr.vsa_aclentp)
615 kmem_free(vsecattr.vsa_aclentp,
616 vsecattr.vsa_aclcnt * sizeof (aclent_t));
617 if (vsecattr.vsa_dfaclentp)
618 kmem_free(vsecattr.vsa_dfaclentp,
619 vsecattr.vsa_dfaclcnt * sizeof (aclent_t));
794 /* Convert from vsecattr struct to ufs_acl_entry struct */
992 * Convert from the vsecattr struct, used by the VOP interface, to
1117 * to the vsecattr struct, used by the VOP interface.
1121 * vsap - Ptr to a vsecattr struct which will take the results.