Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A Dtest_lru_dist.c88 struct pfect_lru { struct
99 static void pfect_lru_init(struct pfect_lru *lru, unsigned int lru_size, in pfect_lru_init() argument
117 static void pfect_lru_destroy(struct pfect_lru *lru) in pfect_lru_destroy()
123 static int pfect_lru_lookup_or_insert(struct pfect_lru *lru, in pfect_lru_lookup_or_insert()
269 struct pfect_lru pfect_lru; in do_test_lru_dist() local
277 pfect_lru_init(&pfect_lru, lru_size, dist_key_counts); in do_test_lru_dist()
282 pfect_lru_lookup_or_insert(&pfect_lru, key); in do_test_lru_dist()
297 task, pfect_lru.nr_unique, dist_key_counts, nr_misses, in do_test_lru_dist()
300 task, pfect_lru.nr_unique, pfect_lru.total, in do_test_lru_dist()
301 pfect_lru.nr_misses, pfect_lru.total); in do_test_lru_dist()
[all …]