Lines Matching refs:num_aces
328 aces = calloc(1+(*the_acl)->num_aces,sizeof(SEC_ACE));
329 memcpy(aces, (*the_acl)->ace, (*the_acl)->num_aces * sizeof(SEC_ACE));
330 memcpy(aces+(*the_acl)->num_aces, ace, sizeof(SEC_ACE));
331 new = make_sec_acl(ctx,(*the_acl)->revision,1+(*the_acl)->num_aces, aces);
429 for (i = 0; sd->dacl && i < sd->dacl->num_aces; i++) {
562 qsort(the_acl->ace, the_acl->num_aces, sizeof(the_acl->ace[0]), QSORT_CAST ace_compare);
564 for (i=1;i<the_acl->num_aces;) {
567 for (j=i; j<the_acl->num_aces-1; j++) {
570 the_acl->num_aces--;
616 for (i=0;sd->dacl && i<sd->dacl->num_aces;i++) {
619 for (j=0;old->dacl && j<old->dacl->num_aces;j++) {
623 for (k=j; k<old->dacl->num_aces-1;k++) {
626 old->dacl->num_aces--;
627 if (old->dacl->num_aces == 0) {
646 for (i=0;sd->dacl && i<sd->dacl->num_aces;i++) {
649 for (j=0;old->dacl && j<old->dacl->num_aces;j++) {
668 for (i=0;sd->dacl && i<sd->dacl->num_aces;i++) {