Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/bpf/
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A 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()
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dmap_perf_test_user.c371 struct bpf_lpm_trie_key *key; in fill_lpm_trie()
H A Dxdp_router_ipv4_user.c125 struct bpf_lpm_trie_key *prefix_key; in read_route()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dbpf.h73 struct bpf_lpm_trie_key { struct
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dbpf.h73 struct bpf_lpm_trie_key { struct
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c320 struct bpf_lpm_trie_key trie_key;
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h74 struct bpf_lpm_trie_key { struct
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h74 struct bpf_lpm_trie_key { struct