Lines Matching refs:acl_cnt

141 		acl_info->acl_cnt = acl(fname, cntcmd, 0, NULL);
143 acl_info->acl_cnt = facl(fd, cntcmd, 0, NULL);
147 if (acl_info->acl_cnt < 0) {
153 if (acl_info->acl_cnt == 0) {
160 malloc(acl_info->acl_cnt * acl_info->acl_entry_size);
171 error = acl(fname, getcmd, acl_info->acl_cnt,
175 error = facl(fd, getcmd, acl_info->acl_cnt,
195 if (acl_info->acl_cnt <= MIN_ACL_ENTRIES)
199 if (ace_trivial(acl_info->acl_aclp, acl_info->acl_cnt) == 0)
288 aclp->acl_cnt, aclp->acl_aclp);
292 aclp->acl_cnt, aclp->acl_aclp);
319 acl_cnt(acl_t *aclp)
321 return (aclp->acl_cnt);
339 newaclp->acl_aclp = malloc(aclp->acl_entry_size * aclp->acl_cnt);
346 aclp->acl_aclp, aclp->acl_entry_size * aclp->acl_cnt);
347 newaclp->acl_cnt = aclp->acl_cnt;
378 aclp->acl_cnt = count;
504 i != removeacl->acl_cnt; i++) {
515 if (acl->acl_cnt == (j + 1)) {
516 acl->acl_cnt--;
524 (acl->acl_cnt-- - (j + 1)));
535 if (++j >= acl->acl_cnt) {
565 if (where < 0 || where >= acl1->acl_cnt)
573 slots_left = acl1->acl_cnt - slot + 1;
574 if (slots_left < newentries->acl_cnt) {
575 slots_needed = newentries->acl_cnt - slots_left;
576 newsize = (acl1->acl_entry_size * acl1->acl_cnt) +
584 newentries->acl_entry_size * newentries->acl_cnt);
590 if ((slot + newentries->acl_cnt) > acl1->acl_cnt) {
591 acl1->acl_cnt = slot + newentries->acl_cnt;
620 if (where < 0 || where > acl1->acl_cnt)
623 newsize = (acl2->acl_entry_size * acl2->acl_cnt) +
624 (acl1->acl_entry_size * acl1->acl_cnt);
634 ((where + acl2->acl_cnt) * acl1->acl_entry_size));
639 if (where < acl1->acl_cnt) {
640 len = (acl1->acl_cnt - where) * acl1->acl_entry_size;
649 acl2->acl_cnt * acl2->acl_entry_size);
651 acl1->acl_cnt += acl2->acl_cnt;