/systemd-251/src/shared/ |
D | watchdog.c | 122 int sec = 0; in watchdog_get_timeout() local 126 if (ioctl(watchdog_fd, WDIOC_GETTIMEOUT, &sec) < 0) in watchdog_get_timeout() 129 assert(sec > 0); in watchdog_get_timeout() 130 watchdog_timeout = sec * USEC_PER_SEC; in watchdog_get_timeout() 136 int sec; in watchdog_set_timeout() local 141 sec = saturated_usec_to_sec(watchdog_timeout); in watchdog_set_timeout() 143 if (ioctl(watchdog_fd, WDIOC_SETTIMEOUT, &sec) < 0) in watchdog_set_timeout() 146 assert(sec > 0); /* buggy driver ? */ in watchdog_set_timeout() 147 watchdog_timeout = sec * USEC_PER_SEC; in watchdog_set_timeout() 153 int sec = 0; in watchdog_get_pretimeout() local [all …]
|
D | efi-loader.c | 195 uint64_t sec; in efi_loader_get_config_timeout_one_shot() local 213 r = safe_atou64(v, &sec); in efi_loader_get_config_timeout_one_shot() 216 if (sec > USEC_INFINITY / USEC_PER_SEC) in efi_loader_get_config_timeout_one_shot() 220 *ret = cache = sec * USEC_PER_SEC; /* return in µs */ in efi_loader_get_config_timeout_one_shot()
|
D | conf-parser.c | 772 DEFINE_PARSER(sec, usec_t, parse_sec);
|
D | btrfs-util.c | 499 ret->otime = (usec_t) le64toh(ri->otime.sec) * USEC_PER_SEC + in btrfs_subvol_get_info_fd()
|
/systemd-251/src/timesync/ |
D | timesyncd-ntp-message.h | 24 be32_t sec; member 29 be16_t sec; member
|
D | timesyncd-manager.c | 69 return be16toh(ts->sec) + (be16toh(ts->frac) / 65536.0); in ntp_ts_short_to_d() 73 return be32toh(ts->sec) + ((double)be32toh(ts->frac) / UINT_MAX); in ntp_ts_to_d() 136 ntpmsg.trans_time.sec = htobe32(graceful_add_offset_1900_1970(m->trans_time.tv_sec)); in manager_send_request() 464 … if (be32toh(ntpmsg.origin_time.sec) != graceful_add_offset_1900_1970(m->trans_time.tv_sec) || in manager_receive_response() 472 if (be32toh(ntpmsg.recv_time.sec) < TIME_EPOCH + OFFSET_1900_1970 || in manager_receive_response() 473 be32toh(ntpmsg.trans_time.sec) < TIME_EPOCH + OFFSET_1900_1970) { in manager_receive_response()
|
D | timesyncd-bus.c | 159 … return be16toh(ts->sec) * USEC_PER_SEC + (be16toh(ts->frac) * USEC_PER_SEC) / (usec_t) 0x10000ULL; in ntp_ts_short_to_usec() 163 …return (be32toh(ts->sec) - OFFSET_1900_1970) * USEC_PER_SEC + (be32toh(ts->frac) * USEC_PER_SEC) /… in ntp_ts_to_usec()
|
/systemd-251/src/network/tc/ |
D | fq.c | 308 usec_t sec; in config_parse_fair_queueing_usec() local 334 r = parse_sec(rvalue, &sec); in config_parse_fair_queueing_usec() 341 if (sec > UINT32_MAX) { in config_parse_fair_queueing_usec() 348 fq->ce_threshold_usec = sec; in config_parse_fair_queueing_usec()
|
/systemd-251/src/timedate/ |
D | timedatectl.c | 58 time_t sec; in print_status_info() local 90 sec = (time_t) (i->time / USEC_PER_SEC); in print_status_info() 93 sec = time(NULL); in print_status_info() 98 … n = have_time ? strftime(a, sizeof a, "%a %Y-%m-%d %H:%M:%S %Z", localtime_r(&sec, &tm)) : 0; in print_status_info() 105 n = have_time ? strftime(a, sizeof a, "%a %Y-%m-%d %H:%M:%S UTC", gmtime_r(&sec, &tm)) : 0; in print_status_info() 129 n = have_time ? strftime(a, sizeof a, "%Z, %z", localtime_r(&sec, &tm)) : 0; in print_status_info()
|
/systemd-251/src/libsystemd-network/ |
D | sd-dhcp6-lease.c | 38 static usec_t sec2usec(uint32_t sec) { in sec2usec() argument 39 return sec == UINT32_MAX ? USEC_INFINITY : sec * USEC_PER_SEC; in sec2usec()
|
/systemd-251/test/test-network/conf/ |
D | 25-qdisc-clsact-and-htb.network | 131 PerturbPeriodSec=5sec
|
/systemd-251/shell-completion/zsh/ |
D | _systemd | 10 '--timeout=[Timeout in sec]:timeout (seconds):' \
|
/systemd-251/src/basic/ |
D | time-util.c | 311 time_t sec; in format_timestamp_style() local 361 sec = (time_t) (t / USEC_PER_SEC); /* Round down */ in format_timestamp_style() 363 if (!localtime_or_gmtime_r(&sec, &tm, utc)) in format_timestamp_style()
|
/systemd-251/src/basic/linux/ |
D | btrfs_tree.h | 578 __le64 sec; member
|
D | btrfs.h | 740 __u64 sec; member
|
/systemd-251/src/resolve/ |
D | resolved-dns-rr.c | 737 static int format_timestamp_dns(char *buf, size_t l, time_t sec) { in format_timestamp_dns() argument 743 if (!gmtime_r(&sec, &tm)) in format_timestamp_dns()
|
/systemd-251/hwdb.d/ |
D | ma-small.txt | 409 8F-2, #75, sec 1, Hsin Tai Wu Rd., Hsi Chih District 13507 5F-1 No18.-1, sec.3 , Ren-Ai Rd.
|
D | ma-large.txt | 50788 8F, No.128, sec. 4 Chung Hsiao E. RD., 95017 3fl,-1 no 13,lane 120,nei-hu road sec.1, 172726 19fl-4, no.77, Hsin Tai Wu Rd., sec.1, Hsin-Chih 178120 10F,no.285 sec.2 ,Ti-Ding Ave,NaiHu.Taip
|