Lines Matching refs:num_aces
152 TYPESAFE_QSORT(the_acl->aces, the_acl->num_aces, ace_compare); in sort_acl()
154 for (i=1;i<the_acl->num_aces;) { in sort_acl()
158 for (j=i; j<the_acl->num_aces-1; j++) { in sort_acl()
161 the_acl->num_aces--; in sort_acl()
407 1+(*the_acl)->num_aces)) == NULL) { in add_ace()
410 memcpy(aces, (*the_acl)->aces, (*the_acl)->num_aces * sizeof(struct security_ace)); in add_ace()
411 memcpy(aces+(*the_acl)->num_aces, ace, sizeof(struct security_ace)); in add_ace()
413 1+(*the_acl)->num_aces, aces); in add_ace()
1040 for (i = 0; sd->dacl && i < sd->dacl->num_aces; i++) { in cacl_get()
1569 old->dacl->num_aces = 0; in cacl_set()
1574 for (i=0;sd->dacl && i<sd->dacl->num_aces;i++) { in cacl_set()
1577 for (j=0;old->dacl && j<old->dacl->num_aces;j++) { in cacl_set()
1581 for (k=j; k<old->dacl->num_aces-1;k++) { in cacl_set()
1585 old->dacl->num_aces--; in cacl_set()
1601 for (i=0;sd->dacl && i<sd->dacl->num_aces;i++) { in cacl_set()
1604 for (j=0;old->dacl && j<old->dacl->num_aces;j++) { in cacl_set()
1624 for (i=0;sd->dacl && i<sd->dacl->num_aces;i++) { in cacl_set()