Lines Matching refs:dirty_vram
71 struct sh_dirty_vram *dirty_vram; in hap_track_dirty_vram() local
92 dirty_vram = d->arch.hvm_domain.dirty_vram; in hap_track_dirty_vram()
93 if ( !dirty_vram ) in hap_track_dirty_vram()
96 if ( (dirty_vram = xzalloc(struct sh_dirty_vram)) == NULL ) in hap_track_dirty_vram()
102 d->arch.hvm_domain.dirty_vram = dirty_vram; in hap_track_dirty_vram()
105 if ( begin_pfn != dirty_vram->begin_pfn || in hap_track_dirty_vram()
106 begin_pfn + nr != dirty_vram->end_pfn ) in hap_track_dirty_vram()
108 unsigned long ostart = dirty_vram->begin_pfn; in hap_track_dirty_vram()
109 unsigned long oend = dirty_vram->end_pfn; in hap_track_dirty_vram()
111 dirty_vram->begin_pfn = begin_pfn; in hap_track_dirty_vram()
112 dirty_vram->end_pfn = begin_pfn + nr; in hap_track_dirty_vram()
154 dirty_vram = d->arch.hvm_domain.dirty_vram; in hap_track_dirty_vram()
155 if ( dirty_vram ) in hap_track_dirty_vram()
161 begin_pfn = dirty_vram->begin_pfn; in hap_track_dirty_vram()
162 nr = dirty_vram->end_pfn - dirty_vram->begin_pfn; in hap_track_dirty_vram()
163 xfree(dirty_vram); in hap_track_dirty_vram()
164 d->arch.hvm_domain.dirty_vram = NULL; in hap_track_dirty_vram()
588 xfree(d->arch.hvm_domain.dirty_vram); in hap_teardown()
589 d->arch.hvm_domain.dirty_vram = NULL; in hap_teardown()