/kernel/linux/common_modules/tzdriver/core/ |
H A D | cmdmonitor.c | 167 struct time_spec nowtime; in send_memstat_packet() local 169 get_time_spec(&nowtime); in send_memstat_packet() 182 result |= (uint32_t)imonitor_set_time(memstat, nowtime.ts.tv_sec); in send_memstat_packet() 204 struct time_spec nowtime; in report_imonitor() local 205 get_time_spec(&nowtime); in report_imonitor() 227 result |= (uint32_t)imonitor_set_time(pamemobj, nowtime.ts.tv_sec); in report_imonitor() 300 struct time_spec nowtime; in auto_report_memstat() local 301 get_time_spec(&nowtime); in auto_report_memstat() 304 * get time value D (timedif=nowtime-sendtime), in auto_report_memstat() 309 timedif = S_TO_MS * (nowtime in auto_report_memstat() 333 struct time_spec nowtime; show_timeout_cmd_info() local 548 struct time_spec nowtime; cmd_monitor_logend() local [all...] |
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
H A D | mc146818-time.h | 23 * called 500 ms after the second nowtime has started, because when 24 * nowtime is written into the registers of the CMOS clock, it will 31 static inline int mc146818_set_rtc_mmss(unsigned long nowtime) in mc146818_set_rtc_mmss() argument 55 real_seconds = nowtime % 60; in mc146818_set_rtc_mmss() 56 real_minutes = nowtime / 60; in mc146818_set_rtc_mmss()
|
/kernel/linux/linux-6.6/arch/mips/include/asm/ |
H A D | mc146818-time.h | 23 * called 500 ms after the second nowtime has started, because when 24 * nowtime is written into the registers of the CMOS clock, it will 31 static inline int mc146818_set_rtc_mmss(unsigned long nowtime) in mc146818_set_rtc_mmss() argument 55 real_seconds = nowtime % 60; in mc146818_set_rtc_mmss() 56 real_minutes = nowtime / 60; in mc146818_set_rtc_mmss()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | rtc.c | 31 * called 500 ms after the second nowtime has started, because when 32 * nowtime is written into the registers of the CMOS clock, it will 38 unsigned long long nowtime = now->tv_sec; in mach_set_cmos_time() local 42 rtc_time64_to_tm(nowtime, &tm); in mach_set_cmos_time() 51 __func__, nowtime); in mach_set_cmos_time()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | rtc.c | 37 * called 500 ms after the second nowtime has started, because when 38 * nowtime is written into the registers of the CMOS clock, it will 44 unsigned long long nowtime = now->tv_sec; in mach_set_rtc_mmss() local 48 rtc_time64_to_tm(nowtime, &tm); in mach_set_rtc_mmss() 57 __func__, nowtime); in mach_set_rtc_mmss()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | rtas-proc.c | 286 time64_t nowtime; in ppc_rtas_poweron_write() local 287 int error = parse_number(buf, count, &nowtime); in ppc_rtas_poweron_write() 291 power_on_time = nowtime; /* save the time */ in ppc_rtas_poweron_write() 293 rtc_time64_to_tm(nowtime, &tm); in ppc_rtas_poweron_write() 352 time64_t nowtime; in ppc_rtas_clock_write() local 353 int error = parse_number(buf, count, &nowtime); in ppc_rtas_clock_write() 357 rtc_time64_to_tm(nowtime, &tm); in ppc_rtas_clock_write()
|
/kernel/linux/linux-6.6/arch/powerpc/kernel/ |
H A D | rtas-proc.c | 281 time64_t nowtime; in ppc_rtas_poweron_write() local 282 int error = parse_number(buf, count, &nowtime); in ppc_rtas_poweron_write() 286 power_on_time = nowtime; /* save the time */ in ppc_rtas_poweron_write() 288 rtc_time64_to_tm(nowtime, &tm); in ppc_rtas_poweron_write() 347 time64_t nowtime; in ppc_rtas_clock_write() local 348 int error = parse_number(buf, count, &nowtime); in ppc_rtas_clock_write() 352 rtc_time64_to_tm(nowtime, &tm); in ppc_rtas_clock_write()
|
/kernel/linux/linux-5.10/arch/mips/dec/ |
H A D | time.c | 63 * be called 500 ms after the second nowtime has started, because when 64 * nowtime is written into the registers of the CMOS clock, it will 70 time64_t nowtime = now.tv_sec; in update_persistent_clock64() local 95 real_minutes = div_s64_rem(nowtime, 60, &real_seconds); in update_persistent_clock64()
|
/kernel/linux/linux-6.6/arch/mips/dec/ |
H A D | time.c | 63 * be called 500 ms after the second nowtime has started, because when 64 * nowtime is written into the registers of the CMOS clock, it will 70 time64_t nowtime = now.tv_sec; in update_persistent_clock64() local 95 real_minutes = div_s64_rem(nowtime, 60, &real_seconds); in update_persistent_clock64()
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
H A D | transport.c | 801 unsigned long nowtime = jiffies; in tcp_send_message() local 833 if (nowtime - connect->stat.rekey_time >= REKEY_LIFETIME && in tcp_send_message() 840 connect->stat.rekey_time = nowtime; in tcp_send_message() 1146 unsigned long nowtime = jiffies; in alloc_conn_tcp() local 1160 tcp_conn->stat.rekey_time = nowtime; in alloc_conn_tcp()
|
/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | transport.c | 801 unsigned long nowtime = jiffies; in tcp_send_message() local 833 if (nowtime - connect->stat.rekey_time >= REKEY_LIFETIME && in tcp_send_message() 840 connect->stat.rekey_time = nowtime; in tcp_send_message() 1146 unsigned long nowtime = jiffies; in alloc_conn_tcp() local 1160 tcp_conn->stat.rekey_time = nowtime; in alloc_conn_tcp()
|
/kernel/linux/linux-5.10/tools/power/pm-graph/ |
H A D | sleepgraph.py | 481 nowtime = open(self.rtcpath+'/since_epoch', 'r').read().strip() 482 if nowtime: 483 nowtime = int(nowtime) 486 nowtime = int(datetime.now().strftime('%s')) 487 alarm = nowtime + self.rtcwaketime
|
/kernel/linux/linux-6.6/tools/power/pm-graph/ |
H A D | sleepgraph.py | 523 nowtime = open(self.rtcpath+'/since_epoch', 'r').read().strip() 524 if nowtime: 525 nowtime = int(nowtime) 528 nowtime = int(datetime.now().strftime('%s')) 529 alarm = nowtime + self.rtcwaketime
|