Lines Matching refs:role

142 	int err, c, ipset, role;  local
147 role = IPL_LOGIPF;
185 role = getrole(optarg);
186 if (role == IPL_LOGNONE)
222 int type, role, c, err; local
228 role = 0;
231 role = IPL_LOGIPF;
252 role = getrole(optarg);
253 if (role == IPL_LOGNONE) {
290 iph.iph_unit = role;
294 pool.ipo_unit = role;
384 int c, role, type, live_kernel; local
396 role = IPL_LOGALL;
419 role = getrole(optarg);
420 if (role == IPL_LOGNONE) {
464 op.iplo_unit = role;
467 poollist_dead(role, poolname, type, kernel, core);
479 if (role != IPL_LOGALL) {
480 op.iplo_unit = role;
488 showpools_live(fd, role, &plstat, poolname, opts);
490 for (role = 0; role <= IPL_LOGMAX; role++) {
491 op.iplo_unit = role;
499 showpools_live(fd, role, &plstat, poolname, opts);
502 role = IPL_LOGALL;
513 if (role != IPL_LOGALL) {
514 op.iplo_unit = role;
521 showhashs_live(fd, role, &htstat, poolname, opts);
523 for (role = 0; role <= IPL_LOGMAX; role++) {
525 op.iplo_unit = role;
532 showhashs_live(fd, role, &htstat, poolname, opts);
539 void poollist_dead(role, poolname, type, kernel, core) in poollist_dead() argument
540 int role, type; in poollist_dead()
560 if (role != IPL_LOGALL) {
561 ptr = pools[role];
567 for (role = 0; role <= IPL_LOGMAX; role++) {
568 ptr = pools[role];
574 role = IPL_LOGALL;
588 if (role != IPL_LOGALL) {
589 hptr = tables[role];
595 for (role = 0; role <= IPL_LOGMAX; role++) {
596 hptr = tables[role];
608 showpools_live(fd, role, plstp, poolname, opts) in showpools_live() argument
609 int fd, role; in showpools_live()
627 iter.ili_unit = role;
630 while (plstp->ipls_list[role] != NULL) {
637 plstp->ipls_list[role] = pool.ipo_next;
645 int c, type, role, live_kernel; local
655 role = IPL_LOGALL;
677 role = getrole(optarg);
678 if (role == IPL_LOGNONE) {
753 int c, role, type, arg; local
758 role = IPL_LOGALL;
767 role = getrole(optarg);
768 if (role == IPL_LOGNONE) {
806 flush.iplf_unit = role;
826 int role; local
829 role = IPL_LOGIPF;
832 role = IPL_LOGNAT;
834 role = IPL_LOGSTATE;
836 role = IPL_LOGAUTH;
838 role = IPL_LOGSYNC;
840 role = IPL_LOGSCAN;
842 role = IPL_LOGLOOKUP;
844 role = IPL_LOGCOUNT;
847 role = IPL_LOGNONE;
850 return role;
876 void showhashs_live(fd, role, htstp, poolname, opts) in showhashs_live() argument
877 int fd, role; in showhashs_live()
895 iter.ili_unit = role;