Home
last modified time | relevance | path

Searched refs:tv_sec (Results 1 – 17 of 17) sorted by relevance

/systemd-251/src/basic/
Dstat-util.c365 a->st_mtim.tv_sec == b->st_mtim.tv_sec && in stat_inode_unmodified()
416 .stx_atime.tv_sec = st.st_atim.tv_sec, in statx_fallback()
418 .stx_mtime.tv_sec = st.st_mtim.tv_sec, in statx_fallback()
420 .stx_ctime.tv_sec = st.st_ctim.tv_sec, in statx_fallback()
Dtime-util.c208 if (ts->tv_sec < 0 || ts->tv_nsec < 0) in timespec_load()
211 if ((usec_t) ts->tv_sec > (UINT64_MAX - (ts->tv_nsec / NSEC_PER_USEC)) / USEC_PER_SEC) in timespec_load()
215 (usec_t) ts->tv_sec * USEC_PER_SEC + in timespec_load()
222 if (ts->tv_sec < 0 || ts->tv_nsec < 0) in timespec_load_nsec()
225 if ((nsec_t) ts->tv_sec >= (UINT64_MAX - ts->tv_nsec) / NSEC_PER_SEC) in timespec_load_nsec()
228 return (nsec_t) ts->tv_sec * NSEC_PER_SEC + (nsec_t) ts->tv_nsec; in timespec_load_nsec()
236 ts->tv_sec = (time_t) -1; in timespec_store()
241 ts->tv_sec = (time_t) (u / USEC_PER_SEC); in timespec_store()
252 ts->tv_sec = (time_t) -1; in timespec_store_nsec()
257 ts->tv_sec = (time_t) (n / NSEC_PER_SEC); in timespec_store_nsec()
[all …]
Dxattr-util.c167 sx.stx_btime.tv_sec != 0) in fd_getcrtime_at()
168 a = (usec_t) sx.stx_btime.tv_sec * USEC_PER_SEC + in fd_getcrtime_at()
Dmissing_stat.h40 __s64 tv_sec; member
Dmissing_syscall.h435 .tv_sec = timeout->tv_sec, in missing_epoll_pwait2()
/systemd-251/src/journal/
Djournald-console.c43 char tbuf[STRLEN("[] ") + DECIMAL_STR_MAX(ts.tv_sec) + DECIMAL_STR_MAX(ts.tv_nsec)-3 + 1]; in server_forward_console()
60 ts.tv_sec, in server_forward_console()
Djournald-syslog.c145 t = tv ? tv->tv_sec : ((time_t) (now(CLOCK_REALTIME) / USEC_PER_SEC)); in server_forward_syslog()
/systemd-251/src/timesync/
Dtimesyncd-manager.c77 return ts->tv_sec + (1.0e-9 * ts->tv_nsec); in ts_to_d()
136 ntpmsg.trans_time.sec = htobe32(graceful_add_offset_1900_1970(m->trans_time.tv_sec)); in manager_send_request()
266 .time.tv_sec = (long)offset, in manager_adjust_clock()
272 tmx.time.tv_sec -= 1; in manager_adjust_clock()
308 tmx.time.tv_sec, tmx.time.tv_usec / NSEC_PER_MSEC, in manager_adjust_clock()
464 … if (be32toh(ntpmsg.origin_time.sec) != graceful_add_offset_1900_1970(m->trans_time.tv_sec) || in manager_receive_response()
/systemd-251/src/timedate/
Dtimedated.c717 assert_se(localtime_r(&ts.tv_sec, &tm)); in method_set_timezone()
791 localtime_or_gmtime_r(&ts.tv_sec, &tm, !c->local_rtc); in method_set_local_rtc()
799 ts.tv_sec = mktime_or_timegm(&tm, !c->local_rtc); in method_set_local_rtc()
809 localtime_or_gmtime_r(&ts.tv_sec, &tm, !c->local_rtc); in method_set_local_rtc()
904 localtime_or_gmtime_r(&ts.tv_sec, &tm, !c->local_rtc); in method_set_time()
/systemd-251/man/
Djournal-iterate-poll.c19 n = (uint64_t) ts.tv_sec * 1000000 + ts.tv_nsec / 1000; in wait_for_changes()
/systemd-251/src/shared/
Dclock-util.c103 assert_se(localtime_r(&ts.tv_sec, &tm)); in clock_set_timezone()
Dcondition.c756 if (usr.st_mtim.tv_sec != other.st_mtim.tv_sec) in condition_test_needs_update()
757 return usr.st_mtim.tv_sec > other.st_mtim.tv_sec; in condition_test_needs_update()
Dutmp-wtmp.c71 store->ut_tv.tv_sec = t / USEC_PER_SEC; in init_timestamp()
/systemd-251/src/udev/
Dudevadm-monitor.c46 ts.tv_sec, (nsec_t)ts.tv_nsec/1000, in device_monitor_handler()
/systemd-251/src/udev/scsi_id/
Dscsi_serial.c799 duration.tv_sec = 0; in scsi_get_serial()
/systemd-251/src/tmpfiles/
Dtmpfiles.c489 if (ts->tv_sec < 0) in load_statx_timestamp_nsec()
492 if ((nsec_t) ts->tv_sec >= (UINT64_MAX - ts->tv_nsec) / NSEC_PER_SEC) in load_statx_timestamp_nsec()
495 return ts->tv_sec * NSEC_PER_SEC + ts->tv_nsec; in load_statx_timestamp_nsec()
/systemd-251/src/libsystemd/sd-event/
Dsd-event.c3110 its.it_value.tv_sec = 0; in event_arm_timer()
3786 if (its.it_value.tv_sec == 0 && its.it_value.tv_nsec == 0) in arm_watchdog()