Home
last modified time | relevance | path

Searched refs:matchlen (Results 1 – 2 of 2) sorted by relevance

/kernel/bpf/
Dlpm_trie.c240 size_t matchlen; in trie_lookup_elem() local
246 matchlen = longest_prefix_match(trie, node, key); in trie_lookup_elem()
247 if (matchlen == trie->max_prefixlen) { in trie_lookup_elem()
256 if (matchlen < node->prefixlen) in trie_lookup_elem()
312 size_t matchlen = 0; in trie_update_elem() local
352 matchlen = longest_prefix_match(trie, node, key); in trie_update_elem()
354 if (node->prefixlen != matchlen || in trie_update_elem()
374 if (node->prefixlen == matchlen) { in trie_update_elem()
390 if (matchlen == key->prefixlen) { in trie_update_elem()
391 next_bit = extract_bit(node->data, matchlen); in trie_update_elem()
[all …]
/kernel/debug/kdb/
Dkdb_main.c285 int matchlen = strlen(match); in kdbgetenv() local
294 if ((strncmp(match, e, matchlen) == 0) in kdbgetenv()
295 && ((e[matchlen] == '\0') in kdbgetenv()
296 || (e[matchlen] == '='))) { in kdbgetenv()