Searched refs:lru_map (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.10/tools/testing/selftests/bpf/progs/ |
| D | test_xdp_noinline.c | 551 bool is_ipv6, void *lru_map) in get_packet_dst() argument 595 bpf_map_update_elem(lru_map, &pckt->flow, &new_dst_lru, 0); in get_packet_dst() 603 void *lru_map) in connection_table_lookup() argument 610 dst_lru = bpf_map_lookup_elem(lru_map, &pckt->flow); in connection_table_lookup() 700 void *lru_map = &lru_cache; in process_packet() local 756 connection_table_lookup(&dst, &pckt, lru_map); in process_packet() 770 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6, lru_map)) in process_packet()
|
| /Linux-v5.10/tools/testing/selftests/bpf/ |
| D | test_lru_map.c | 127 static int map_equal(int lru_map, int expected) in map_equal() argument 129 return map_subset(lru_map, expected) && map_subset(expected, lru_map); in map_equal()
|