Lines Matching defs:first
50 * first and second groups match, but the third doesn't. We conclude that the
64 * indicates the first rule index in the next field, and n the amount of
149 * this information as pairs of first rule index, rule count.
1152 * @map: Table of rule maps: array of first rule and amount of rules
1510 * @first: Index of first rule in set of rules mapping to same entry
1515 * the same entry as the rule with index @first, @first rule included.
1534 * Return: Number of rules that originated from the same entry as @first.
1536 static unsigned int pipapo_rules_same_key(struct nft_pipapo_field *f, unsigned int first)
1541 for (r = first; r < f->rules; r++) {
1542 if (r != first && e != f->mt[r].e)
1543 return r - first;
1548 if (r != first)
1549 return r - first;
1611 * @rulemap: Table of rule maps, arrays of first rule and amount of rules
1744 /* And check again current first rule, which is now the
1745 * first we haven't checked.
1903 * subsequent calls, but we would leak all the elements after the first one,
1924 * Given the first rule and amount of rules that originated from the same entry,
2107 * scan that array: there's no need to follow rule mappings from the first