Lines Matching defs:pat
1048 /* Perform a ternary match on a 1-byte pattern (@pat) given @key and @key_inv
1057 static bool ice_ternary_match_byte(u8 key, u8 key_inv, u8 pat)
1065 bit_pat = pat & BIT(i);
1078 const u8 *pat, int len)
1083 if (!ice_ternary_match_byte(key[i], key_inv[i], pat[i]))
1410 * @pat: pattern to match
1415 ice_bst_tcam_match(struct ice_bst_tcam_item *tcam_table, u8 *pat)
1424 if (ice_ternary_match(item->key, item->key_inv, pat,
1488 * @pat: pattern to match
1495 u8 *pat, int len)
1502 if (ice_ternary_match(item->key, item->key_inv, pat, len))