Lines Matching refs:TAILQ_FIRST

286 	while ((r = TAILQ_FIRST(rs->rules[PF_RULESET_FILTER].inactive.ptr))  in pfctl_optimize_ruleset()
293 if (TAILQ_FIRST(&r->rpool.list) != NULL) { in pfctl_optimize_ruleset()
319 while ((block = TAILQ_FIRST(&superblocks))) { in pfctl_optimize_ruleset()
322 while ((por = TAILQ_FIRST(&block->sb_rules))) { in pfctl_optimize_ruleset()
341 while ((por = TAILQ_FIRST(&opt_queue))) { in pfctl_optimize_ruleset()
355 while ((block = TAILQ_FIRST(&superblocks))) { in pfctl_optimize_ruleset()
404 if (!TAILQ_NEXT(TAILQ_FIRST(&block->sb_rules), por_entry)) in optimize_superblock()
422 TAILQ_FIRST(&block->sb_rules)->por_rule.quick && in optimize_superblock()
453 for (por1 = TAILQ_FIRST(&block->sb_rules); por1; por1 = por_next) { in remove_identical_rules()
563 for (p1 = TAILQ_FIRST(&block->sb_rules); p1; p1 = por_next) { in combine_rules()
681 skiplist = TAILQ_FIRST(&block->sb_skipsteps[i]); in reorder_rules()
708 while ((por = TAILQ_FIRST(&block->sb_rules))) { in reorder_rules()
721 skiplist = TAILQ_FIRST(&block->sb_skipsteps[i]); in reorder_rules()
733 while ((por = TAILQ_FIRST(&head))) { in reorder_rules()
744 skiplist = TAILQ_FIRST(&block->sb_skipsteps[ in reorder_rules()
748 largest, TAILQ_FIRST(&TAILQ_FIRST(&block-> in reorder_rules()
772 TAILQ_FIRST(&skiplist->ps_rules)-> in reorder_rules()
778 while ((por = TAILQ_FIRST(&skiplist->ps_rules))) { in reorder_rules()
798 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()
934 block = TAILQ_FIRST(superblocks); in load_feedback_profile()
935 blockcur = TAILQ_FIRST(&prof_superblocks); in load_feedback_profile()
937 comparable_rule(&a, &TAILQ_FIRST(&block->sb_rules)->por_rule, in load_feedback_profile()
939 comparable_rule(&b, &TAILQ_FIRST(&blockcur->sb_rules)->por_rule, in load_feedback_profile()
946 TAILQ_FIRST(&block->sb_rules)->por_rule.nr, in load_feedback_profile()
947 TAILQ_FIRST(&blockcur->sb_rules)->por_rule.nr); in load_feedback_profile()
977 b = &TAILQ_FIRST(&skiplist->ps_rules)->por_rule; in skip_compare()
1017 sk = TAILQ_FIRST(&block->sb_skipsteps[i]); in remove_from_skipsteps()
1342 por = TAILQ_FIRST(opt_queue); in construct_superblocks()
1441 interface_group(TAILQ_FIRST(&block->sb_rules)->por_rule.ifname)) { in superblock_inclusive()
1443 TAILQ_FIRST(&block->sb_rules)->por_rule.ifname) != 0) in superblock_inclusive()
1447 comparable_rule(&a, &TAILQ_FIRST(&block->sb_rules)->por_rule, NOMERGE); in superblock_inclusive()
1640 while ((por = TAILQ_FIRST(&block->sb_rules))) { in superblock_free()