Lines Matching refs:TAILQ_FIRST

283 	while ((r = TAILQ_FIRST(rs->rules[PF_RULESET_FILTER].inactive.ptr))  in pfctl_optimize_ruleset()
290 if (TAILQ_FIRST(&r->rpool.list) != NULL) { in pfctl_optimize_ruleset()
316 while ((block = TAILQ_FIRST(&superblocks))) { in pfctl_optimize_ruleset()
319 while ((por = TAILQ_FIRST(&block->sb_rules))) { in pfctl_optimize_ruleset()
338 while ((por = TAILQ_FIRST(&opt_queue))) { in pfctl_optimize_ruleset()
352 while ((block = TAILQ_FIRST(&superblocks))) { in pfctl_optimize_ruleset()
401 if (!TAILQ_NEXT(TAILQ_FIRST(&block->sb_rules), por_entry)) in optimize_superblock()
419 TAILQ_FIRST(&block->sb_rules)->por_rule.quick && in optimize_superblock()
450 for (por1 = TAILQ_FIRST(&block->sb_rules); por1; por1 = por_next) { in remove_identical_rules()
560 for (p1 = TAILQ_FIRST(&block->sb_rules); p1; p1 = por_next) { in combine_rules()
678 skiplist = TAILQ_FIRST(&block->sb_skipsteps[i]); in reorder_rules()
705 while ((por = TAILQ_FIRST(&block->sb_rules))) { in reorder_rules()
718 skiplist = TAILQ_FIRST(&block->sb_skipsteps[i]); in reorder_rules()
730 while ((por = TAILQ_FIRST(&head))) { in reorder_rules()
741 skiplist = TAILQ_FIRST(&block->sb_skipsteps[ in reorder_rules()
745 largest, TAILQ_FIRST(&TAILQ_FIRST(&block-> in reorder_rules()
769 TAILQ_FIRST(&skiplist->ps_rules)-> in reorder_rules()
775 while ((por = TAILQ_FIRST(&skiplist->ps_rules))) { in reorder_rules()
795 while ((skiplist = TAILQ_FIRST(&block->sb_skipsteps[i]))) { in reorder_rules()
848 while ((por1 = TAILQ_FIRST(&block->sb_rules)) != NULL) { in block_feedback()
853 while ((por1 = TAILQ_FIRST(&queue)) != NULL) { in block_feedback()
930 block = TAILQ_FIRST(superblocks); in load_feedback_profile()
931 blockcur = TAILQ_FIRST(&prof_superblocks); in load_feedback_profile()
933 comparable_rule(&a, &TAILQ_FIRST(&block->sb_rules)->por_rule, in load_feedback_profile()
935 comparable_rule(&b, &TAILQ_FIRST(&blockcur->sb_rules)->por_rule, in load_feedback_profile()
942 TAILQ_FIRST(&block->sb_rules)->por_rule.nr, in load_feedback_profile()
943 TAILQ_FIRST(&blockcur->sb_rules)->por_rule.nr); in load_feedback_profile()
973 b = &TAILQ_FIRST(&skiplist->ps_rules)->por_rule; in skip_compare()
1013 sk = TAILQ_FIRST(&block->sb_skipsteps[i]); in remove_from_skipsteps()
1338 por = TAILQ_FIRST(opt_queue); in construct_superblocks()
1437 interface_group(TAILQ_FIRST(&block->sb_rules)->por_rule.ifname)) { in superblock_inclusive()
1439 TAILQ_FIRST(&block->sb_rules)->por_rule.ifname) != 0) in superblock_inclusive()
1443 comparable_rule(&a, &TAILQ_FIRST(&block->sb_rules)->por_rule, NOMERGE); in superblock_inclusive()
1626 while ((por = TAILQ_FIRST(&block->sb_rules))) { in superblock_free()