Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dlpm_trie.c167 const struct bpf_lpm_trie_key *key) in longest_prefix_match()
173 BUILD_BUG_ON(offsetof(struct bpf_lpm_trie_key, data) % sizeof(u32)); in longest_prefix_match()
232 struct bpf_lpm_trie_key *key = _key; in trie_lookup_elem()
312 struct bpf_lpm_trie_key *key = _key; in trie_update_elem()
440 struct bpf_lpm_trie_key *key = _key; in trie_delete_elem()
539 #define LPM_KEY_SIZE(X) (sizeof(struct bpf_lpm_trie_key) + (X))
568 offsetof(struct bpf_lpm_trie_key, data); in trie_alloc()
619 struct bpf_lpm_trie_key *key = _key, *next_key = _next_key; in trie_get_next_key()
706 memcpy((void *)next_key + offsetof(struct bpf_lpm_trie_key, data), in trie_get_next_key()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c214 struct bpf_lpm_trie_key *key; in test_lpm_map()
334 struct bpf_lpm_trie_key *key_ipv4; in test_lpm_ipaddr()
335 struct bpf_lpm_trie_key *key_ipv6; in test_lpm_ipaddr()
426 struct bpf_lpm_trie_key *key; in test_lpm_delete()
535 struct bpf_lpm_trie_key *key_p, *next_key_p; in test_lpm_get_next_key()
696 struct bpf_lpm_trie_key *key_p; in lpm_test_command()
698 key_size = sizeof(struct bpf_lpm_trie_key) + sizeof(__u32); in lpm_test_command()
720 struct bpf_lpm_trie_key *next_key_p = alloca(key_size); in lpm_test_command()
755 key_size = sizeof(struct bpf_lpm_trie_key) + value_size; in test_lpm_multi_thread()
/openbmc/linux/samples/bpf/
H A Dmap_perf_test_user.c373 struct bpf_lpm_trie_key *key; in fill_lpm_trie()
H A Dxdp_router_ipv4_user.c94 struct bpf_lpm_trie_key *prefix_key; in read_route()
/openbmc/linux/Documentation/bpf/
H A Dmap_lpm_trie.rst20 operations is a ``struct bpf_lpm_trie_key``, extended by
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dmap_ptr_kern.c319 struct bpf_lpm_trie_key trie_key;
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h81 struct bpf_lpm_trie_key { struct
/openbmc/linux/include/uapi/linux/
H A Dbpf.h81 struct bpf_lpm_trie_key { struct