Lines Matching refs:lru_size
92 unsigned int lru_size; member
99 static void pfect_lru_init(struct pfect_lru *lru, unsigned int lru_size, in pfect_lru_init() argument
108 lru->free_nodes = malloc(lru_size * sizeof(struct pfect_lru_node)); in pfect_lru_init()
113 lru->lru_size = lru_size; in pfect_lru_init()
138 if (lru->cur_size < lru->lru_size) { in pfect_lru_lookup_or_insert()
274 unsigned int lru_size = ((unsigned int *)data)[1]; in do_test_lru_dist() local
277 pfect_lru_init(&pfect_lru, lru_size, dist_key_counts); in do_test_lru_dist()
308 int nr_tasks, unsigned int lru_size) in test_parallel_lru_dist() argument
318 nr_cpus * lru_size); in test_parallel_lru_dist()
321 nr_tasks * lru_size); in test_parallel_lru_dist()
325 child_data[1] = lru_size; in test_parallel_lru_dist()
492 int lru_size; in main() local
502 lru_size = atoi(argv[2]); in main()
527 nr_tasks, lru_size); in main()