Searched refs:lru_map (Results 1 - 3 of 3) sorted by relevance
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | lru_bug.c | 15 } lru_map SEC(".maps"); 26 bpf_map_update_elem(&lru_map, &(int){0}, &v, 0); 36 bpf_map_update_elem(&lru_map, &(int){0}, &val, 0); 37 v = bpf_map_lookup_elem(&lru_map, &(int){0}); 40 bpf_map_delete_elem(&lru_map, &(int){0});
|
H A D | test_xdp_noinline.c | 524 bool is_ipv6, void *lru_map) 568 bpf_map_update_elem(lru_map, &pckt->flow, &new_dst_lru, 0); 576 void *lru_map) 583 dst_lru = bpf_map_lookup_elem(lru_map, &pckt->flow); 673 void *lru_map = &lru_cache; local 729 connection_table_lookup(&dst, &pckt, lru_map); 743 if (!get_packet_dst(&dst, &pckt, vip_info, is_ipv6, lru_map)) 521 get_packet_dst(struct real_definition **real, struct packet_description *pckt, struct vip_meta *vip_info, bool is_ipv6, void *lru_map) argument 574 connection_table_lookup(struct real_definition **real, struct packet_description *pckt, void *lru_map) argument
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_lru_map.c | 116 static int map_equal(int lru_map, int expected) argument 118 return map_subset(lru_map, expected) && map_subset(expected, lru_map);
|
Completed in 150 milliseconds