Searched refs:pgt_parents (Results 1 – 1 of 1) sorted by relevance
346 static struct pgt_parent pgt_parents[PGT_CACHE_SIZE / PGT_NUM_PGT_PER_PAGE]; variable394 for (n = 0; n < ARRAY_SIZE(pgt_parents); n++) { in pgt_init()397 SLIST_INIT(&pgt_parents[n].pgt_cache); in pgt_init()403 p->parent = &pgt_parents[n]; in pgt_init()404 SLIST_INSERT_HEAD(&pgt_parents[n].pgt_cache, p, link); in pgt_init()460 for (n = 0; n < ARRAY_SIZE(pgt_parents); n++) { in pop_from_free_list()461 struct pgt *p = SLIST_FIRST(&pgt_parents[n].pgt_cache); in pop_from_free_list()464 SLIST_REMOVE_HEAD(&pgt_parents[n].pgt_cache, link); in pop_from_free_list()465 pgt_parents[n].num_used++; in pop_from_free_list()