Home
last modified time | relevance | path

Searched refs:bpf_lpm_trie_key (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/kernel/bpf/
Dlpm_trie.c166 const struct bpf_lpm_trie_key *key) in longest_prefix_match()
172 BUILD_BUG_ON(offsetof(struct bpf_lpm_trie_key, data) % sizeof(u32)); in longest_prefix_match()
231 struct bpf_lpm_trie_key *key = _key; in trie_lookup_elem()
306 struct bpf_lpm_trie_key *key = _key; in trie_update_elem()
434 struct bpf_lpm_trie_key *key = _key; in trie_delete_elem()
533 #define LPM_KEY_SIZE(X) (sizeof(struct bpf_lpm_trie_key) + (X))
567 offsetof(struct bpf_lpm_trie_key, data); in trie_alloc()
629 struct bpf_lpm_trie_key *key = _key, *next_key = _next_key; in trie_get_next_key()
716 memcpy((void *)next_key + offsetof(struct bpf_lpm_trie_key, data), in trie_get_next_key()
/Linux-v5.10/tools/testing/selftests/bpf/
Dtest_lpm_map.c213 struct bpf_lpm_trie_key *key; in test_lpm_map()
332 struct bpf_lpm_trie_key *key_ipv4; in test_lpm_ipaddr()
333 struct bpf_lpm_trie_key *key_ipv6; in test_lpm_ipaddr()
426 struct bpf_lpm_trie_key *key; in test_lpm_delete()
538 struct bpf_lpm_trie_key *key_p, *next_key_p; in test_lpm_get_next_key()
706 struct bpf_lpm_trie_key *key_p; in lpm_test_command()
708 key_size = sizeof(struct bpf_lpm_trie_key) + sizeof(__u32); in lpm_test_command()
730 struct bpf_lpm_trie_key *next_key_p = alloca(key_size); in lpm_test_command()
764 key_size = sizeof(struct bpf_lpm_trie_key) + value_size; in test_lpm_multi_thread()
/Linux-v5.10/samples/bpf/
Dmap_perf_test_user.c371 struct bpf_lpm_trie_key *key; in fill_lpm_trie()
Dxdp_router_ipv4_user.c125 struct bpf_lpm_trie_key *prefix_key; in read_route()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dmap_ptr_kern.c320 struct bpf_lpm_trie_key trie_key;
/Linux-v5.10/tools/include/uapi/linux/
Dbpf.h74 struct bpf_lpm_trie_key { struct
/Linux-v5.10/include/uapi/linux/
Dbpf.h74 struct bpf_lpm_trie_key { struct