Lines Matching refs:args

153 				       void *args)
155 struct bounds_expand_args *a = (struct bounds_expand_args *)args;
191 struct bounds_expand_args args;
198 args.handle = handle;
199 args.p = p;
200 args.avtab = global_avtab;
201 args.parent = parent;
202 rc = avtab_map(&p->te_avtab, bounds_expand_rule_callback, &args);
359 void *args)
361 struct bounds_check_args *a = (struct bounds_check_args *)args;
378 struct bounds_check_args args;
381 args.handle = handle;
382 args.p = p;
383 args.cur_avtab = global_avtab;
384 args.child = child;
385 args.parent = parent;
386 args.bad = NULL;
387 args.numbad = 0;
388 rc = avtab_map(&p->te_avtab, bounds_check_rule_callback, &args);
396 &args.bad, &args.numbad);
402 &args.bad, &args.numbad);
406 *numbad += args.numbad;
407 *bad = args.bad;
467 hashtab_datum_t d, void *args)
470 struct bounds_args *a = (struct bounds_args *)args;
490 struct bounds_args args;
492 args.handle = handle;
493 args.p = p;
494 args.numbad = 0;
496 rc = hashtab_map(p->p_types.table, bounds_check_type_callback, &args);
499 if (args.numbad > 0) {
501 args.numbad);
513 hashtab_datum_t d, void *args)
515 struct bounds_args *a = (struct bounds_args *)args;
535 struct bounds_args args;
537 args.handle = handle;
538 args.p = p;
539 args.numbad = 0;
541 hashtab_map(p->p_roles.table, bounds_check_role_callback, &args);
543 if (args.numbad > 0) {
545 args.numbad);
556 hashtab_datum_t d, void *args)
558 struct bounds_args *a = (struct bounds_args *)args;
578 struct bounds_args args;
580 args.handle = handle;
581 args.p = p;
582 args.numbad = 0;
584 hashtab_map(p->p_users.table, bounds_check_user_callback, &args);
586 if (args.numbad > 0) {
588 args.numbad);
597 hashtab_datum_t d, void *args) \
599 struct bounds_args *a = (struct bounds_args *)args; \
644 struct bounds_args args;
646 args.handle = handle;
647 args.p = p;
648 args.numbad = 0;
650 rc = hashtab_map(p->p_users.table, hierarchy_add_user_callback, &args);
653 rc = hashtab_map(p->p_roles.table, hierarchy_add_role_callback, &args);
656 rc = hashtab_map(p->p_types.table, hierarchy_add_type_callback, &args);
659 if (args.numbad > 0) {
661 args.numbad);