Lines Matching refs:cr3

1651     } cr3;  member
1876 } cr3; member
1889 struct cr3_value_struct *cr3; member
2492 void interval_cr3_value_check(struct cr3_value_struct *cr3) { in interval_cr3_value_check() argument
2497 if(cr3->gmfn == opt.interval.array.values[i]) { in interval_cr3_value_check()
2500 cr3->gmfn); in interval_cr3_value_check()
2504 __func__, cr3->gmfn); in interval_cr3_value_check()
2506 P.interval.array.values[i] = &cr3->total_time.interval; in interval_cr3_value_check()
2511 snprintf(desc, 32, "%llx", cr3->gmfn); in interval_cr3_value_check()
2512 interval_list_add(&cr3->total_time.interval, desc); in interval_cr3_value_check()
2515 if(cr3->gmfn == opt.interval.array.values[0]) in interval_cr3_value_check()
2516 P.interval.cr3 = cr3; in interval_cr3_value_check()
2544 for(p=P.cr3.head; p; p=p->gnext) in interval_cr3_schedule_ordered_output()
2552 for(i=0, p=P.cr3.head; p; p=p->gnext, i++) in interval_cr3_schedule_ordered_output()
2589 if(P.interval.cr3) { in interval_cr3_short_summary_output()
2590 struct cr3_value_struct *p = P.interval.cr3; in interval_cr3_short_summary_output()
2932 if(v->cr3.data) in hvm_update_short_summary()
2933 update_cycles(&v->cr3.data->hvm.s[element], h->arc_cycles); in hvm_update_short_summary()
3896 if(v->cr3.data) { in cr3_switch()
3897 struct cr3_value_struct *cur = v->cr3.data; in cr3_switch()
3898 unsigned long long cycles = now - v->cr3.start_time; in cr3_switch()
3924 p->cr3_id = P.cr3.id; in cr3_switch()
3931 if(P.cr3.head) in cr3_switch()
3932 *P.cr3.tail = p; in cr3_switch()
3934 P.cr3.head = p; in cr3_switch()
3935 P.cr3.tail = &p->gnext; in cr3_switch()
3937 P.cr3.id++; in cr3_switch()
3953 v->cr3.start_time = now; in cr3_switch()
3957 v->cr3.data = p; in cr3_switch()
3959 v->cr3.data = NULL; in cr3_switch()
3964 v->cr3.data ? (v->cr3.data->cr3_id) : 0); in cr3_switch()
3971 v->cr3.val = val; in cr3_switch()
3975 struct cr3_value_struct *cr3; in cr3_prealloc_unpin() local
3978 for(cr3 = v->d->cr3_value_head; cr3; cr3=cr3->next) in cr3_prealloc_unpin()
3979 if(cr3->gmfn == gmfn) in cr3_prealloc_unpin()
3982 if(!cr3) in cr3_prealloc_unpin()
3985 if(cr3->prealloc_unpin.now) in cr3_prealloc_unpin()
3989 cr3->prealloc_unpin.now = 1; in cr3_prealloc_unpin()
3990 cr3->prealloc_unpin.count++; in cr3_prealloc_unpin()
3994 gmfn, cr3->prealloc_unpin.count); in cr3_prealloc_unpin()
4101 if(v->cr3.val) { in hvm_cr_write_postprocess()
4102 oval = v->cr3.val; in hvm_cr_write_postprocess()
4105 if(v->cr3.data) { in hvm_cr_write_postprocess()
4106 v->cr3.data->flush_count++; in hvm_cr_write_postprocess()
4107 if(v->cr3.data->destroy.callback) in hvm_cr_write_postprocess()
4108 v->cr3.data->destroy.flush_count++; in hvm_cr_write_postprocess()
4208 if(cr == 3 && h->v->cr3.val) { in hvm_cr_write_process()
4212 h->v->cr3.val, in hvm_cr_write_process()
4213 (h->v->cr3.val == val)?"flush":"switch"); in hvm_cr_write_process()
4768 if(h->v->cr3.data) { in hvm_handler_process()
4769 struct cr3_value_struct *cur = h->v->cr3.data; in hvm_handler_process()
4780 ri->t.s, ri->t.ns, pcpu_string(ri->cpu), h->v->cr3.val); in hvm_handler_process()
5125 if(h->v->cr3.data && h->entry_tsc) { in hvm_vmexit_process()
5126 update_cycles(&h->v->cr3.data->guest_time, in hvm_vmexit_process()
5128 h->v->cr3.data->run_time += (ri->tsc - h->entry_tsc); in hvm_vmexit_process()
5195 if(h->v->cr3.data) { in hvm_close_vmexit()
5196 h->v->cr3.data->run_time += h->arc_cycles; in hvm_close_vmexit()
5199 update_cycles(&h->v->cr3.data->hv_time, in hvm_close_vmexit()
5458 if(h->v->cr3.data) in shadow_emulate_postprocess()
5459 scatterplot_vs_time(h->exit_tsc, h->v->cr3.data->cr3_id); in shadow_emulate_postprocess()
5768 if(h->v->cr3.data) in shadow_fixup_postprocess()
5769 scatterplot_vs_time(h->exit_tsc, h->v->cr3.data->cr3_id); in shadow_fixup_postprocess()