Home
last modified time | relevance | path

Searched refs:tv_nsec (Results 1 – 14 of 14) sorted by relevance

/systemd-251/src/basic/
Dstat-util.c366 a->st_mtim.tv_nsec == b->st_mtim.tv_nsec && in stat_inode_unmodified()
417 .stx_atime.tv_nsec = st.st_atim.tv_nsec, in statx_fallback()
419 .stx_mtime.tv_nsec = st.st_mtim.tv_nsec, in statx_fallback()
421 .stx_ctime.tv_nsec = st.st_ctim.tv_nsec, 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()
216 (usec_t) ts->tv_nsec / NSEC_PER_USEC; 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()
237 ts->tv_nsec = -1L; in timespec_store()
242 ts->tv_nsec = (long) ((u % USEC_PER_SEC) * NSEC_PER_USEC); in timespec_store()
253 ts->tv_nsec = -1L; in timespec_store_nsec()
258 ts->tv_nsec = (long) (n % NSEC_PER_SEC); in timespec_store_nsec()
Defivars.c242 { .tv_nsec = UTIME_NOW }, in efi_set_variable()
243 { .tv_nsec = UTIME_NOW } in efi_set_variable()
Dmissing_stat.h41 __u32 tv_nsec; member
Dmissing_syscall.h436 .tv_nsec = timeout->tv_nsec, in missing_epoll_pwait2()
Dxattr-util.c169 (usec_t) sx.stx_btime.tv_nsec / NSEC_PER_USEC; in fd_getcrtime_at()
/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()
61 (nsec_t)ts.tv_nsec / 1000); in server_forward_console()
/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/
Dcondition.c767 if (usr.st_mtim.tv_nsec == 0 || other.st_mtim.tv_nsec > 0) in condition_test_needs_update()
768 return usr.st_mtim.tv_nsec > other.st_mtim.tv_nsec; in condition_test_needs_update()
/systemd-251/src/udev/
Dudevadm-monitor.c46 ts.tv_sec, (nsec_t)ts.tv_nsec/1000, in device_monitor_handler()
/systemd-251/src/timesync/
Dtimesyncd-manager.c77 return ts->tv_sec + (1.0e-9 * ts->tv_nsec); in ts_to_d()
137 ntpmsg.trans_time.frac = htobe32(m->trans_time.tv_nsec); in manager_send_request()
465 be32toh(ntpmsg.origin_time.frac) != (unsigned long) m->trans_time.tv_nsec) { in manager_receive_response()
/systemd-251/src/udev/scsi_id/
Dscsi_serial.c800 duration.tv_nsec = (200 * 1000 * 1000) + (rand() % 100 * 1000 * 1000); in scsi_get_serial()
/systemd-251/src/libsystemd/sd-event/
Dsd-event.c3111 its.it_value.tv_nsec = 1; in event_arm_timer()
3786 if (its.it_value.tv_sec == 0 && its.it_value.tv_nsec == 0) in arm_watchdog()
3787 its.it_value.tv_nsec = 1; in arm_watchdog()
/systemd-251/src/tmpfiles/
Dtmpfiles.c492 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()