Lines Matching refs:num_aces
135 for (i = 0; sd->dacl && i < sd->dacl->num_aces; i++) {
331 if (!(aces = SMB_CALLOC_ARRAY(SEC_ACE, 1+(*the_acl)->num_aces))) {
334 memcpy(aces, (*the_acl)->aces, (*the_acl)->num_aces * sizeof(SEC_ACE));
335 memcpy(aces+(*the_acl)->num_aces, ace, sizeof(SEC_ACE));
336 new_ace = make_sec_acl(mem_ctx,(*the_acl)->revision,1+(*the_acl)->num_aces, aces);
375 qsort(the_acl->aces, the_acl->num_aces, sizeof(the_acl->aces[0]), QSORT_CAST ace_compare);
377 for (i=1;i<the_acl->num_aces;) {
380 for (j=i; j<the_acl->num_aces-1; j++) {
383 the_acl->num_aces--;
415 for (i=0;sd->dacl && i<sd->dacl->num_aces;i++) {
418 for (j=0;old->dacl && j<old->dacl->num_aces;j++) {
421 for (k=j; k<old->dacl->num_aces-1;k++) {
424 old->dacl->num_aces--;
439 for (i=0;sd->dacl && i<sd->dacl->num_aces;i++) {
442 for (j=0;old->dacl && j<old->dacl->num_aces;j++) {
464 for (i=0;sd->dacl && i<sd->dacl->num_aces;i++) {