Home
last modified time | relevance | path

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

/Linux-v4.19/samples/bpf/
Dtest_lru_dist.c97 struct pfect_lru { struct
108 static void pfect_lru_init(struct pfect_lru *lru, unsigned int lru_size, in pfect_lru_init() argument
126 static void pfect_lru_destroy(struct pfect_lru *lru) in pfect_lru_destroy()
132 static int pfect_lru_lookup_or_insert(struct pfect_lru *lru, in pfect_lru_lookup_or_insert()
275 struct pfect_lru pfect_lru; in do_test_lru_dist() local
283 pfect_lru_init(&pfect_lru, lru_size, dist_key_counts); in do_test_lru_dist()
288 pfect_lru_lookup_or_insert(&pfect_lru, key); in do_test_lru_dist()
303 task, pfect_lru.nr_unique, dist_key_counts, nr_misses, in do_test_lru_dist()
306 task, pfect_lru.nr_unique, pfect_lru.total, in do_test_lru_dist()
307 pfect_lru.nr_misses, pfect_lru.total); in do_test_lru_dist()
[all …]