Lines Matching refs:TAILQ_FIRST
293 while ((r = TAILQ_FIRST(rs->rules[PF_RULESET_FILTER].inactive.ptr)) in pfctl_optimize_ruleset()
300 if (TAILQ_FIRST(&r->rdr.list) != NULL) { in pfctl_optimize_ruleset()
306 if (TAILQ_FIRST(&r->nat.list) != NULL) { in pfctl_optimize_ruleset()
312 if (TAILQ_FIRST(&r->route.list) != NULL) { in pfctl_optimize_ruleset()
337 while ((block = TAILQ_FIRST(&superblocks))) { in pfctl_optimize_ruleset()
340 while ((por = TAILQ_FIRST(&block->sb_rules))) { in pfctl_optimize_ruleset()
363 while ((por = TAILQ_FIRST(&opt_queue))) { in pfctl_optimize_ruleset()
369 while ((block = TAILQ_FIRST(&superblocks))) { in pfctl_optimize_ruleset()
418 if (!TAILQ_NEXT(TAILQ_FIRST(&block->sb_rules), por_entry)) in optimize_superblock()
436 TAILQ_FIRST(&block->sb_rules)->por_rule.quick && in optimize_superblock()
467 for (por1 = TAILQ_FIRST(&block->sb_rules); por1; por1 = por_next) { in remove_identical_rules()
581 for (p1 = TAILQ_FIRST(&block->sb_rules); p1; p1 = por_next) { in combine_rules()
699 skiplist = TAILQ_FIRST(&block->sb_skipsteps[i]); in reorder_rules()
735 skiplist = TAILQ_FIRST(&block->sb_skipsteps[i]); in reorder_rules()
754 skiplist = TAILQ_FIRST(&block->sb_skipsteps[ in reorder_rules()
758 largest, TAILQ_FIRST(&TAILQ_FIRST(&block-> in reorder_rules()
782 TAILQ_FIRST(&skiplist->ps_rules)-> in reorder_rules()
788 while ((por = TAILQ_FIRST(&skiplist->ps_rules))) { in reorder_rules()
808 while ((skiplist = TAILQ_FIRST(&block->sb_skipsteps[i]))) { in reorder_rules()
860 while ((por1 = TAILQ_FIRST(&queue)) != NULL) { in block_feedback()
945 block = TAILQ_FIRST(superblocks); in load_feedback_profile()
946 blockcur = TAILQ_FIRST(&prof_superblocks); in load_feedback_profile()
948 comparable_rule(&a, &TAILQ_FIRST(&block->sb_rules)->por_rule, in load_feedback_profile()
950 comparable_rule(&b, &TAILQ_FIRST(&blockcur->sb_rules)->por_rule, in load_feedback_profile()
957 TAILQ_FIRST(&block->sb_rules)->por_rule.nr, in load_feedback_profile()
958 TAILQ_FIRST(&blockcur->sb_rules)->por_rule.nr); in load_feedback_profile()
988 b = &TAILQ_FIRST(&skiplist->ps_rules)->por_rule; in skip_compare()
1028 sk = TAILQ_FIRST(&block->sb_skipsteps[i]); in remove_from_skipsteps()
1354 por = TAILQ_FIRST(opt_queue); in construct_superblocks()
1453 interface_group(TAILQ_FIRST(&block->sb_rules)->por_rule.ifname)) { in superblock_inclusive()
1455 TAILQ_FIRST(&block->sb_rules)->por_rule.ifname) != 0) in superblock_inclusive()
1459 comparable_rule(&a, &TAILQ_FIRST(&block->sb_rules)->por_rule, NOMERGE); in superblock_inclusive()
1652 while ((por = TAILQ_FIRST(&block->sb_rules))) { in superblock_free()