Lines Matching defs:rs_cnt
1217 int rs_cnt;
1221 for (rs_cnt = 0; rs_cnt < PF_RULESET_MAX; rs_cnt++) {
1223 if (rs_cnt == PF_RULESET_SCRUB)
1226 if (rs->rules[rs_cnt].inactive.ptr_array)
1227 free(rs->rules[rs_cnt].inactive.ptr_array, M_TEMP);
1228 rs->rules[rs_cnt].inactive.ptr_array = NULL;
1230 if (rs->rules[rs_cnt].inactive.rcount) {
1231 rs->rules[rs_cnt].inactive.ptr_array =
1233 rs->rules[rs_cnt].inactive.rcount,
1236 if (!rs->rules[rs_cnt].inactive.ptr_array)
1240 TAILQ_FOREACH(rule, rs->rules[rs_cnt].inactive.ptr,
1243 (rs->rules[rs_cnt].inactive.ptr_array)[rule->nr] = rule;