Home
last modified time | relevance | path

Searched refs:st_time (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/kvm/
Dsteal_time.c111 #define STEAL_TIME_SIZE ((sizeof(struct st_time) + 63) & ~63)
117 struct st_time { struct
120 uint64_t st_time; argument
138 static void check_status(struct st_time *st) in check_status()
146 struct st_time *st; in guest_code()
160 st = (struct st_time *)status; in guest_code()
164 WRITE_ONCE(guest_stolen_time[cpu], st->st_time); in guest_code()
168 WRITE_ONCE(guest_stolen_time[cpu], st->st_time); in guest_code()
212 struct st_time *st = addr_gva2hva(vm, (ulong)st_gva[vcpuid]); in steal_time_dump()
217 pr_info(" st_time: %ld\n", st->st_time); in steal_time_dump()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-pl031.c116 struct rtc_time *tm, unsigned long *st_time, in pl031_stv2_tm_to_time() argument
136 *st_time = ((tm->tm_mon + 1) << RTC_MON_SHIFT) in pl031_stv2_tm_to_time()
149 static int pl031_stv2_time_to_tm(unsigned long st_time, unsigned long bcd_year, in pl031_stv2_time_to_tm() argument
153 tm->tm_mon = ((st_time & RTC_MON_MASK) >> RTC_MON_SHIFT) - 1; in pl031_stv2_time_to_tm()
154 tm->tm_mday = ((st_time & RTC_MDAY_MASK) >> RTC_MDAY_SHIFT); in pl031_stv2_time_to_tm()
155 tm->tm_wday = ((st_time & RTC_WDAY_MASK) >> RTC_WDAY_SHIFT) - 1; in pl031_stv2_time_to_tm()
156 tm->tm_hour = ((st_time & RTC_HOUR_MASK) >> RTC_HOUR_SHIFT); in pl031_stv2_time_to_tm()
157 tm->tm_min = ((st_time & RTC_MIN_MASK) >> RTC_MIN_SHIFT); in pl031_stv2_time_to_tm()
158 tm->tm_sec = ((st_time & RTC_SEC_MASK) >> RTC_SEC_SHIFT); in pl031_stv2_time_to_tm()
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dsnic_scsi.c2442 u64 st_time = 0; in snic_scsi_cleanup() local
2485 st_time = rqi->start_time; in snic_scsi_cleanup()
2498 jiffies_to_msecs(jiffies - st_time)); in snic_scsi_cleanup()
2505 jiffies_to_msecs(jiffies - st_time), 0, in snic_scsi_cleanup()