Lines Matching refs:shadow_ptes
144 u64 *shadow_ptes[RMAP_EXT]; member
505 desc->shadow_ptes[0] = (u64 *)*rmapp; in rmap_add()
506 desc->shadow_ptes[1] = spte; in rmap_add()
511 while (desc->shadow_ptes[RMAP_EXT-1] && desc->more) in rmap_add()
513 if (desc->shadow_ptes[RMAP_EXT-1]) { in rmap_add()
517 for (i = 0; desc->shadow_ptes[i]; ++i) in rmap_add()
519 desc->shadow_ptes[i] = spte; in rmap_add()
530 for (j = RMAP_EXT - 1; !desc->shadow_ptes[j] && j > i; --j) in rmap_desc_remove_entry()
532 desc->shadow_ptes[i] = desc->shadow_ptes[j]; in rmap_desc_remove_entry()
533 desc->shadow_ptes[j] = NULL; in rmap_desc_remove_entry()
537 *rmapp = (unsigned long)desc->shadow_ptes[0]; in rmap_desc_remove_entry()
582 for (i = 0; i < RMAP_EXT && desc->shadow_ptes[i]; ++i) in rmap_remove()
583 if (desc->shadow_ptes[i] == spte) { in rmap_remove()
614 for (i = 0; i < RMAP_EXT && desc->shadow_ptes[i]; ++i) { in rmap_next()
616 return desc->shadow_ptes[i]; in rmap_next()
617 prev_spte = desc->shadow_ptes[i]; in rmap_next()
3079 if (d->shadow_ptes[k]) in count_rmaps()