Searched refs:tv_sec (Results 1 – 17 of 17) sorted by relevance
/systemd-251/src/basic/ |
D | stat-util.c | 365 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()
|
D | time-util.c | 208 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 …]
|
D | xattr-util.c | 167 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()
|
D | missing_stat.h | 40 __s64 tv_sec; member
|
D | missing_syscall.h | 435 .tv_sec = timeout->tv_sec, in missing_epoll_pwait2()
|
/systemd-251/src/journal/ |
D | journald-console.c | 43 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()
|
D | journald-syslog.c | 145 t = tv ? tv->tv_sec : ((time_t) (now(CLOCK_REALTIME) / USEC_PER_SEC)); in server_forward_syslog()
|
/systemd-251/src/timesync/ |
D | timesyncd-manager.c | 77 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/ |
D | timedated.c | 717 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/ |
D | journal-iterate-poll.c | 19 n = (uint64_t) ts.tv_sec * 1000000 + ts.tv_nsec / 1000; in wait_for_changes()
|
/systemd-251/src/shared/ |
D | clock-util.c | 103 assert_se(localtime_r(&ts.tv_sec, &tm)); in clock_set_timezone()
|
D | condition.c | 756 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()
|
D | utmp-wtmp.c | 71 store->ut_tv.tv_sec = t / USEC_PER_SEC; in init_timestamp()
|
/systemd-251/src/udev/ |
D | udevadm-monitor.c | 46 ts.tv_sec, (nsec_t)ts.tv_nsec/1000, in device_monitor_handler()
|
/systemd-251/src/udev/scsi_id/ |
D | scsi_serial.c | 799 duration.tv_sec = 0; in scsi_get_serial()
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 489 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/ |
D | sd-event.c | 3110 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()
|