Home
last modified time | relevance | path

Searched defs:trie (Results 1 – 5 of 5) sorted by relevance

/linux/kernel/bpf/
H A Dlpm_trie.c168 size_t __longest_prefix_match(const struct lpm_trie *trie, in __longest_prefix_match()
230 static size_t longest_prefix_match(const struct lpm_trie *trie, in longest_prefix_match()
240 struct lpm_trie *trie = container_of(map, struct lpm_trie, map); in trie_lookup_elem() local
292 static struct lpm_trie_node *lpm_trie_node_alloc(struct lpm_trie *trie, in lpm_trie_node_alloc()
311 static int trie_check_add_elem(struct lpm_trie *trie, u64 flags) in trie_check_add_elem()
325 struct lpm_trie *trie = container_of(map, struct lpm_trie, map); in trie_update_elem() local
459 struct lpm_trie *trie = container_of(map, struct lpm_trie, map); in trie_delete_elem() local
573 struct lpm_trie *trie; in trie_alloc() local
615 struct lpm_trie *trie = container_of(map, struct lpm_trie, map); in trie_free() local
659 struct lpm_trie *trie = container_of(map, struct lpm_trie, map); in trie_get_next_key() local
[all …]
/linux/drivers/net/wireguard/
H A Dallowedips.c111 static struct allowedips_node *find_node(struct allowedips_node *trie, u8 bits, in find_node()
149 static bool node_placement(struct allowedips_node __rcu *trie, const u8 *key, in node_placement()
181 static int add(struct allowedips_node __rcu **trie, u8 bits, const u8 *key, in add()
283 static int remove(struct allowedips_node __rcu **trie, u8 bits, const u8 *key, in remove()
/linux/fs/unicode/
H A Dutf8-norm.c306 utf8trie_t *trie = um->tables->utf8data + um->ntab[n]->offset; in utf8nlookup() local
H A Dmkutf8data.c2709 utf8trie_t *trie; in utf8nlookup() local
/linux/net/ipv4/
H A Dfib_trie.c167 struct trie { struct
170 struct trie_use_stats __percpu *stats; argument
174 static struct key_vector *resize(struct trie *t, struct key_vector *tn); argument