Searched refs:vpmtmr (Results 1 – 4 of 4) sorted by relevance
54 struct vpmtmr { struct62 struct vpmtmr *65 struct vpmtmr *vpmtmr; in vpmtmr_init() local68 vpmtmr = malloc(sizeof(struct vpmtmr), M_VPMTMR, M_WAITOK | M_ZERO); in vpmtmr_init()70 vpmtmr->baseval = 0; in vpmtmr_init()75 return (vpmtmr); in vpmtmr_init()79 vpmtmr_cleanup(struct vpmtmr *vpmtmr) in vpmtmr_cleanup() argument89 struct vpmtmr *vpmtmr; in vpmtmr_handler() local95 vpmtmr = vm_pmtmr(vm); in vpmtmr_handler()105 *val = vpmtmr->baseval + delta / vpmtmr->freq_sbt; in vpmtmr_handler()[all …]
36 struct vpmtmr;39 struct vpmtmr *vpmtmr_init(struct vm *vm);40 void vpmtmr_cleanup(struct vpmtmr *pmtmr);46 int vpmtmr_snapshot(struct vpmtmr *vpmtmr, struct vm_snapshot_meta *meta);
162 struct vpmtmr *vpmtmr; /* (i) virtual ACPI PM timer */ member450 vm->vpmtmr = vpmtmr_init(vm); in vm_init()553 vpmtmr_cleanup(vm->vpmtmr); in vm_cleanup()2607 struct vpmtmr *2611 return (vm->vpmtmr); in vm_pmtmr()
382 struct vpmtmr *vm_pmtmr(struct vm *vm);