Searched refs:lru_map (Results 1 – 2 of 2) sorted by relevance
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_xdp_noinline.c | 562 bool is_ipv6, void *lru_map) in get_packet_dst() argument 606 bpf_map_update_elem(lru_map, &pckt->flow, &new_dst_lru, 0); in get_packet_dst() 614 void *lru_map) in connection_table_lookup() argument 621 dst_lru = bpf_map_lookup_elem(lru_map, &pckt->flow); in connection_table_lookup() 711 void *lru_map = &lru_cache; in process_packet() local 767 connection_table_lookup(&dst, &pckt, lru_map); in process_packet() 781 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6, lru_map)) in process_packet()
|
D | test_lru_map.c | 66 static int map_equal(int lru_map, int expected) in map_equal() argument 68 return map_subset(lru_map, expected) && map_subset(expected, lru_map); in map_equal()
|