Lines Matching refs:aclcnt
673 convert_aent_to_ace(aclent_t *aclentp, int aclcnt, boolean_t isdir,
687 ksort((caddr_t)aclentp, aclcnt, sizeof (aclent_t), cmp2acls);
689 for (i = 0, aclp = aclentp; i < aclcnt; aclp++, i++) {
694 if (i < aclcnt) {
696 dfaclcnt = aclcnt - i;
1086 ace_list_to_aent(ace_list_t *list, aclent_t **aclentp, int *aclcnt,
1207 *aclcnt = resultcount;
1266 aclent_t **aclentp, int *aclcnt, aclent_t **dfaclentp, int *dfaclcnt,
1277 *aclcnt = 0;
1438 error = ace_list_to_aent(normacl, aclentp, aclcnt,
1467 int aclcnt, dfaclcnt;
1471 &aclentp, &aclcnt, &dfaclentp, &dfaclcnt, isdir);
1481 aclsz = sizeof (aclent_t) * aclcnt;
1485 (void) memcpy(aclentp + aclcnt, dfaclentp, dfaclsz);
1493 *retaclcnt = aclcnt + dfaclcnt;
1507 int aclcnt;
1527 aclp->acl_cnt, isdir, (ace_t **)&acldata, &aclcnt);
1534 isdir, owner, group, (aclent_t **)&acldata, &aclcnt);
1547 aclp->acl_cnt = aclcnt;
1690 ace_trivial_common(void *acep, int aclcnt,
1691 uint64_t (*walk)(void *, uint64_t, int aclcnt,
1699 while (cookie = walk(acep, cookie, aclcnt, &flags, &type, &mask)) {
1752 ace_walk(void *datap, uint64_t cookie, int aclcnt, uint16_t *flags,
1757 if (cookie >= aclcnt)
1768 ace_trivial(ace_t *acep, int aclcnt)
1770 return (ace_trivial_common(acep, aclcnt, ace_walk));