Searched refs:rtctime (Results 1 – 1 of 1) sorted by relevance
2065 struct vm_rtc_time rtctime; in vm_rtc_settime() local2068 bzero(&rtctime, sizeof(struct vm_rtc_time)); in vm_rtc_settime()2069 rtctime.secs = secs; in vm_rtc_settime()2070 error = ioctl(ctx->fd, VM_RTC_SETTIME, &rtctime); in vm_rtc_settime()2077 struct vm_rtc_time rtctime; in vm_rtc_gettime() local2080 bzero(&rtctime, sizeof(struct vm_rtc_time)); in vm_rtc_gettime()2081 error = ioctl(ctx->fd, VM_RTC_GETTIME, &rtctime); in vm_rtc_gettime()2083 *secs = rtctime.secs; in vm_rtc_gettime()