Lines Matching defs:matches
405 int matches = 0;
412 /* Verify the net_device matches the IP address, as
421 ++matches;
428 matches += ipoib_match_gid_pkey_addr(child_priv, gid,
432 if (matches > 1)
437 return matches;
442 * reference to the net_device, if the number of matches >= 1 */
450 int matches = 0;
458 matches += ipoib_match_gid_pkey_addr(priv, gid, pkey_index,
460 if (matches > 1)
464 return matches;
475 int matches;
486 matches = __ipoib_get_net_dev_by_params(dev_list, port, pkey_index,
489 switch (matches) {
500 matches = __ipoib_get_net_dev_by_params(dev_list, port, pkey_index,
502 switch (matches) {