Lines Matching refs:parents

1566 #define for_each_sp(pvec, sp, parents, i)			\  argument
1567 for (i = mmu_pages_next(&pvec, &parents, -1), \
1570 i = mmu_pages_next(&pvec, &parents, i))
1573 struct mmu_page_path *parents, in mmu_pages_next() argument
1582 parents->idx[0] = pvec->page[n].idx; in mmu_pages_next()
1586 parents->parent[sp->role.level-2] = sp; in mmu_pages_next()
1587 parents->idx[sp->role.level-1] = pvec->page[n].idx; in mmu_pages_next()
1593 static void mmu_pages_clear_parents(struct mmu_page_path *parents) in mmu_pages_clear_parents() argument
1599 unsigned int idx = parents->idx[level]; in mmu_pages_clear_parents()
1601 sp = parents->parent[level]; in mmu_pages_clear_parents()
1613 struct mmu_page_path *parents, in kvm_mmu_pages_init() argument
1616 parents->parent[parent->role.level-1] = NULL; in kvm_mmu_pages_init()
1625 struct mmu_page_path parents; in mmu_sync_children() local
1629 kvm_mmu_pages_init(parent, &parents, &pages); in mmu_sync_children()
1633 for_each_sp(pages, sp, parents, i) in mmu_sync_children()
1639 for_each_sp(pages, sp, parents, i) { in mmu_sync_children()
1641 mmu_pages_clear_parents(&parents); in mmu_sync_children()
1645 kvm_mmu_pages_init(parent, &parents, &pages); in mmu_sync_children()
1879 struct mmu_page_path parents; in mmu_zap_unsync_children() local
1885 kvm_mmu_pages_init(parent, &parents, &pages); in mmu_zap_unsync_children()
1889 for_each_sp(pages, sp, parents, i) { in mmu_zap_unsync_children()
1891 mmu_pages_clear_parents(&parents); in mmu_zap_unsync_children()
1894 kvm_mmu_pages_init(parent, &parents, &pages); in mmu_zap_unsync_children()