Lines Matching defs:args
155 void *args)
157 struct bounds_expand_args *a = (struct bounds_expand_args *)args;
193 struct bounds_expand_args args;
200 args.handle = handle;
201 args.p = p;
202 args.avtab = global_avtab;
203 args.parent = parent;
204 rc = avtab_map(&p->te_avtab, bounds_expand_rule_callback, &args);
363 void *args)
365 struct bounds_check_args *a = (struct bounds_check_args *)args;
382 struct bounds_check_args args;
385 args.handle = handle;
386 args.p = p;
387 args.cur_avtab = global_avtab;
388 args.child = child;
389 args.parent = parent;
390 args.bad = NULL;
391 args.numbad = 0;
392 rc = avtab_map(&p->te_avtab, bounds_check_rule_callback, &args);
400 &args.bad, &args.numbad);
406 &args.bad, &args.numbad);
410 *numbad += args.numbad;
411 *bad = args.bad;
471 hashtab_datum_t d, void *args)
474 struct bounds_args *a = (struct bounds_args *)args;
494 struct bounds_args args;
496 args.handle = handle;
497 args.p = p;
498 args.numbad = 0;
500 rc = hashtab_map(p->p_types.table, bounds_check_type_callback, &args);
503 if (args.numbad > 0) {
505 args.numbad);
517 hashtab_datum_t d, void *args)
519 struct bounds_args *a = (struct bounds_args *)args;
539 struct bounds_args args;
541 args.handle = handle;
542 args.p = p;
543 args.numbad = 0;
545 hashtab_map(p->p_roles.table, bounds_check_role_callback, &args);
547 if (args.numbad > 0) {
549 args.numbad);
560 hashtab_datum_t d, void *args)
562 struct bounds_args *a = (struct bounds_args *)args;
582 struct bounds_args args;
584 args.handle = handle;
585 args.p = p;
586 args.numbad = 0;
588 hashtab_map(p->p_users.table, bounds_check_user_callback, &args);
590 if (args.numbad > 0) {
592 args.numbad);
601 hashtab_datum_t d, void *args) \
603 struct bounds_args *a = (struct bounds_args *)args; \
648 struct bounds_args args;
650 args.handle = handle;
651 args.p = p;
652 args.numbad = 0;
654 rc = hashtab_map(p->p_users.table, hierarchy_add_user_callback, &args);
657 rc = hashtab_map(p->p_roles.table, hierarchy_add_role_callback, &args);
660 rc = hashtab_map(p->p_types.table, hierarchy_add_type_callback, &args);
663 if (args.numbad > 0) {
665 args.numbad);