Searched refs:lru_size (Results 1 – 2 of 2) sorted by relevance
92 unsigned int lru_size; member99 static void pfect_lru_init(struct pfect_lru *lru, unsigned int lru_size, in pfect_lru_init() argument108 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() local277 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() argument318 nr_cpus * lru_size); in test_parallel_lru_dist()321 nr_tasks * lru_size); in test_parallel_lru_dist()[all …]
1280 unsigned long *lru_size; in mem_cgroup_update_lru_size() 1287 lru_size = &mz->lru_zone_size[zid][lru];1290 *lru_size += nr_pages;1292 size = *lru_size; in mem_cgroup_margin() 1294 "%s(%p, %d, %d): lru_size %ld\n", in mem_cgroup_margin() 1297 *lru_size = 0; in mem_cgroup_margin() 1301 *lru_size += nr_pages; in mem_cgroup_margin() 1261 unsigned long *lru_size; mem_cgroup_update_lru_size() local