Home
last modified time | relevance | path

Searched refs:lpm_trie (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/kernel/bpf/
H A Dlpm_trie.c32 struct lpm_trie { struct
165 static size_t longest_prefix_match(const struct lpm_trie *trie, in longest_prefix_match()
230 struct lpm_trie *trie = container_of(map, struct lpm_trie, map); in trie_lookup_elem()
282 static struct lpm_trie_node *lpm_trie_node_alloc(const struct lpm_trie *trie, in lpm_trie_node_alloc()
309 struct lpm_trie *trie = container_of(map, struct lpm_trie, map); in trie_update_elem()
439 struct lpm_trie *trie = container_of(map, struct lpm_trie, map); in trie_delete_elem()
548 struct lpm_trie *tri in trie_alloc()
[all...]
H A DMakefile11 obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o percpu_freelist.o bpf_lru_list.o lpm_trie.o map_in_map.o bloom_filter.o
/kernel/linux/linux-5.10/kernel/bpf/
H A Dlpm_trie.c31 struct lpm_trie { struct
164 static size_t longest_prefix_match(const struct lpm_trie *trie, in longest_prefix_match()
229 struct lpm_trie *trie = container_of(map, struct lpm_trie, map); in trie_lookup_elem()
279 static struct lpm_trie_node *lpm_trie_node_alloc(const struct lpm_trie *trie, in lpm_trie_node_alloc()
306 struct lpm_trie *trie = container_of(map, struct lpm_trie, map); in trie_update_elem()
436 struct lpm_trie *trie = container_of(map, struct lpm_trie, map); in trie_delete_elem()
545 struct lpm_trie *tri in trie_alloc()
[all...]
H A DMakefile10 obj-$(CONFIG_BPF_SYSCALL) += hashtab.o arraymap.o percpu_freelist.o bpf_lru_list.o lpm_trie.o map_in_map.o
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c315 struct lpm_trie { struct
334 struct lpm_trie *lpm_trie = (struct lpm_trie *)&m_lpm_trie; in check_lpm_trie() local
337 VERIFY(check(&lpm_trie->map, map, sizeof(struct lpm_key), sizeof(__u32), in check_lpm_trie()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c314 struct lpm_trie { struct
333 struct lpm_trie *lpm_trie = (struct lpm_trie *)&m_lpm_trie; in check_lpm_trie() local
336 VERIFY(check(&lpm_trie->map, map, sizeof(struct lpm_key), sizeof(__u32), in check_lpm_trie()

Completed in 6 milliseconds