Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dlpm_trie.c167 const struct bpf_lpm_trie_key_u8 *key) in longest_prefix_match()
173 BUILD_BUG_ON(offsetof(struct bpf_lpm_trie_key_u8, data) % sizeof(u32)); in longest_prefix_match()
232 struct bpf_lpm_trie_key_u8 *key = _key; in trie_lookup_elem()
313 struct bpf_lpm_trie_key_u8 *key = _key; in trie_update_elem()
443 struct bpf_lpm_trie_key_u8 *key = _key; in trie_delete_elem()
544 #define LPM_KEY_SIZE(X) (sizeof(struct bpf_lpm_trie_key_u8) + (X))
573 offsetof(struct bpf_lpm_trie_key_u8, data); in trie_alloc()
624 struct bpf_lpm_trie_key_u8 *key = _key, *next_key = _next_key; in trie_get_next_key()
711 memcpy((void *)next_key + offsetof(struct bpf_lpm_trie_key_u8, data), in trie_get_next_key()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_lpm_map.c214 struct bpf_lpm_trie_key_u8 *key; in test_lpm_map()
334 struct bpf_lpm_trie_key_u8 *key_ipv4; in test_lpm_ipaddr()
335 struct bpf_lpm_trie_key_u8 *key_ipv6; in test_lpm_ipaddr()
426 struct bpf_lpm_trie_key_u8 *key; in test_lpm_delete()
535 struct bpf_lpm_trie_key_u8 *key_p, *next_key_p; in test_lpm_get_next_key()
696 struct bpf_lpm_trie_key_u8 *key_p; in lpm_test_command()
720 struct bpf_lpm_trie_key_u8 *next_key_p = alloca(key_size); in lpm_test_command()
/openbmc/linux/samples/bpf/
H A Dmap_perf_test_user.c373 struct bpf_lpm_trie_key_u8 *key; in fill_lpm_trie()
H A Dxdp_router_ipv4_user.c94 struct bpf_lpm_trie_key_u8 *prefix_key; in read_route()
/openbmc/linux/Documentation/bpf/
H A Dmap_lpm_trie.rst20 operations is a ``struct bpf_lpm_trie_key_u8``, extended by
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h95 struct bpf_lpm_trie_key_u8 { struct
/openbmc/linux/include/uapi/linux/
H A Dbpf.h95 struct bpf_lpm_trie_key_u8 { struct