Lines Matching refs:parents

1395 #define for_each_sp(pvec, sp, parents, i)			\  argument
1396 for (i = mmu_pages_next(&pvec, &parents, -1), \
1399 i = mmu_pages_next(&pvec, &parents, i))
1402 struct mmu_page_path *parents, in mmu_pages_next() argument
1411 parents->idx[0] = pvec->page[n].idx; in mmu_pages_next()
1415 parents->parent[sp->role.level-2] = sp; in mmu_pages_next()
1416 parents->idx[sp->role.level-1] = pvec->page[n].idx; in mmu_pages_next()
1422 static void mmu_pages_clear_parents(struct mmu_page_path *parents) in mmu_pages_clear_parents() argument
1428 unsigned int idx = parents->idx[level]; in mmu_pages_clear_parents()
1430 sp = parents->parent[level]; in mmu_pages_clear_parents()
1442 struct mmu_page_path *parents, in kvm_mmu_pages_init() argument
1445 parents->parent[parent->role.level-1] = NULL; in kvm_mmu_pages_init()
1454 struct mmu_page_path parents; in mmu_sync_children() local
1458 kvm_mmu_pages_init(parent, &parents, &pages); in mmu_sync_children()
1462 for_each_sp(pages, sp, parents, i) in mmu_sync_children()
1468 for_each_sp(pages, sp, parents, i) { in mmu_sync_children()
1470 mmu_pages_clear_parents(&parents); in mmu_sync_children()
1474 kvm_mmu_pages_init(parent, &parents, &pages); in mmu_sync_children()
1698 struct mmu_page_path parents; in mmu_zap_unsync_children() local
1704 kvm_mmu_pages_init(parent, &parents, &pages); in mmu_zap_unsync_children()
1708 for_each_sp(pages, sp, parents, i) { in mmu_zap_unsync_children()
1710 mmu_pages_clear_parents(&parents); in mmu_zap_unsync_children()
1713 kvm_mmu_pages_init(parent, &parents, &pages); in mmu_zap_unsync_children()