Lines Matching defs:nmatches
226 static int link_tree(struct rtnl_ematch *index[], int nmatches, int pos,
232 for (i = pos; i < nmatches; i++) {
238 link_tree(index, nmatches, container_ref(ematch),
265 int nmatches = 0, err, remaining;
277 if (thdr->nmatches == 0)
283 if (thdr->nmatches > (nla_len(tb[TCA_EMATCH_TREE_LIST]) /
287 if (!(index = calloc(thdr->nmatches, sizeof(struct rtnl_ematch *))))
307 if (nmatches >= thdr->nmatches) {
335 container_ref(ematch) >= thdr->nmatches) {
340 index[nmatches++] = ematch;
343 if (nmatches != thdr->nmatches) {
348 err = link_tree(index, nmatches, 0, &tree->et_list);