/systemd-251/test/units/ |
D | testsuite-64.sh | 112 udevadm wait --settle --timeout=30 "${part_links[@]}" 143 udevadm wait --settle --timeout=30 "${part_links[@]}" 184 udevadm wait --settle --timeout=30 "$blockdev" 212 udevadm wait --settle --timeout=30 "/dev/$vgroup/mypart1" "/dev/$vgroup/mypart2" 214 udevadm wait --settle --timeout=30 "/dev/disk/by-label/mylvpart1" 219 udevadm wait --settle --timeout=30 --removed "/dev/$vgroup" "/dev/disk/by-label/mylvpart1" 224 …udevadm wait --settle --timeout=30 "/dev/$vgroup/mypart1" "/dev/$vgroup/mypart2" "/dev/disk/by-lab… 233 …udevadm wait --settle --timeout=30 "/dev/$vgroup/mypart1" "/dev/$vgroup/mypart2" "/dev/disk/by-lab… 240 udevadm wait --settle --timeout=30 --removed "/dev/$vgroup/mypart1" 241 udevadm wait --timeout=0 "/dev/$vgroup/mypart2" [all …]
|
D | testsuite-55.sh | 53 timeout="$(date -ud "1 minutes" +%s)" 54 while [[ $(date -u +%s) -le $timeout ]]; do 70 timeout="$(date -ud "2 minutes" +%s)" 71 while [[ $(date -u +%s) -le $timeout ]]; do 90 timeout="$(date -ud "1 minutes" +%s)" 91 while [[ $(date -u +%s) -le $timeout ]]; do 107 timeout="$(date -ud "2 minutes" +%s)" 108 while [[ $(date -u +%s) -le $timeout ]]; do 132 timeout="$(date -ud "2 minutes" +%s)" 133 while [[ "$(date -u +%s)" -le "$timeout" ]]; do
|
D | testsuite-60.sh | 51 timeout="$(date -ud "2 minutes" +%s)" 52 while [[ $(date -u +%s) -le ${timeout} ]]; do 64 timeout="$(date -ud "2 minutes" +%s)" 65 while [[ $(date -u +%s) -le ${timeout} ]]; do
|
D | testsuite-59.sh | 17 timeout=$3 21 if [ "$timeout" = "0" ]; then 24 timeout=$((timeout - 1))
|
D | testsuite-68.sh | 12 timeout=$3 16 if [ "$timeout" = "0" ]; then 20 timeout=$((timeout - 1))
|
/systemd-251/src/shared/ |
D | watchdog.c | 346 int watchdog_setup(usec_t timeout) { in watchdog_setup() argument 354 if (timeout == 0) { in watchdog_setup() 360 if (watchdog_fd >= 0 && (timeout == watchdog_timeout || timeout == USEC_INFINITY)) in watchdog_setup() 366 watchdog_timeout = timeout; in watchdog_setup() 378 int watchdog_setup_pretimeout(usec_t timeout) { in watchdog_setup_pretimeout() argument 380 if ((watchdog_fd >= 0 && timeout == watchdog_pretimeout) || timeout == USEC_INFINITY) in watchdog_setup_pretimeout() 386 watchdog_pretimeout = timeout; in watchdog_setup_pretimeout() 408 usec_t timeout = calc_timeout(); in watchdog_runtime_wait() local 409 if (!timestamp_is_set(timeout)) in watchdog_runtime_wait() 417 return usec_sub_unsigned(watchdog_last_ping + (timeout / 2), ntime); in watchdog_runtime_wait() [all …]
|
D | killall.c | 103 static int wait_for_children(Set *pids, sigset_t *mask, usec_t timeout) { in wait_for_children() argument 115 until = usec_add(n, timeout); in wait_for_children() 118 date_log_child = usec_add(n, timeout / 2u); in wait_for_children() 251 int broadcast_signal(int sig, bool wait_for_exit, bool send_sighup, usec_t timeout) { in broadcast_signal() argument 278 n_children_left = wait_for_children(pids, &mask, timeout); in broadcast_signal()
|
D | ask-password-api.c | 264 usec_t timeout; in ask_password_plymouth() local 267 timeout = usec_sub_unsigned(until, now(CLOCK_MONOTONIC)); in ask_password_plymouth() 269 timeout = USEC_INFINITY; in ask_password_plymouth() 276 r = ppoll_usec(pollfd, notify >= 0 ? 2 : 1, timeout); in ask_password_plymouth() 486 usec_t timeout; in ask_password_tty() local 490 timeout = usec_sub_unsigned(until, now(CLOCK_MONOTONIC)); in ask_password_tty() 492 timeout = USEC_INFINITY; in ask_password_tty() 500 r = ppoll_usec(pollfd, notify >= 0 ? 2 : 1, timeout); in ask_password_tty() 834 usec_t timeout; in ask_password_agent() local 838 timeout = usec_sub_unsigned(until, now(CLOCK_MONOTONIC)); in ask_password_agent() [all …]
|
D | exec-util.c | 84 usec_t timeout, in do_execute() argument 118 if (timeout != USEC_INFINITY) in do_execute() 119 alarm(DIV_ROUND_UP(timeout, USEC_PER_SEC)); in do_execute() 195 usec_t timeout, in execute_directories() argument 232 r = do_execute(dirs, timeout, callbacks, callback_args, fd, argv, envp, flags); in execute_directories()
|
D | generator.c | 245 _cleanup_free_ char *node = NULL, *unit = NULL, *timeout = NULL; in generator_write_timeouts() local 251 NULL, &timeout, NULL, filtered); in generator_write_timeouts() 259 r = parse_sec_fix_0(timeout, &u); in generator_write_timeouts() 261 log_warning("Failed to parse timeout for %s, ignoring: %s", where, timeout); in generator_write_timeouts() 284 timeout); in generator_write_timeouts()
|
/systemd-251/src/libsystemd/sd-netlink/ |
D | sd-netlink.c | 358 if (c->timeout > n) in process_timeout() 366 c->timeout = 0; in process_timeout() 399 if (c->timeout != 0) { in process_reply() 401 c->timeout = 0; in process_reply() 588 if (x->timeout != 0 && y->timeout == 0) in timeout_compare() 591 if (x->timeout == 0 && y->timeout != 0) in timeout_compare() 594 return CMP(x->timeout, y->timeout); in timeout_compare() 633 slot->reply_callback.timeout = calc_elapse(usec); in sd_netlink_call_async() 643 if (slot->reply_callback.timeout != 0) { in sd_netlink_call_async() 668 usec_t timeout; in sd_netlink_read() local [all …]
|
/systemd-251/src/ask-password/ |
D | ask-password.c | 225 usec_t timeout; in run() local 237 timeout = usec_add(now(CLOCK_MONOTONIC), arg_timeout); in run() 239 timeout = 0; in run() 241 …essage, arg_icon, arg_id, arg_key_name, arg_credential_name ?: "password", timeout, arg_flags, &l); in run()
|
/systemd-251/test/testsuite-16.units/ |
D | fail-stop.service | 7 # seconds this won't happen until 7 + 7 (sleep interval) seconds. Therefore timeout at 12 seconds. 13 ExecStart=/usr/lib/systemd/tests/testdata/testsuite-16.units/extend-timeout.sh 16 ExecStopPost=/bin/bash -c '[[ $SERVICE_RESULT == timeout && $EXIT_CODE == killed ]] && touch /fail_…
|
D | fail-runtime.service | 7 # seconds this won't happen until 7 + 7 (sleep interval) seconds. Therefore timeout at 12 seconds. 13 ExecStart=/usr/lib/systemd/tests/testdata/testsuite-16.units/extend-timeout.sh
|
D | fail-start.service | 8 # seconds this won't happen until 7 + 7 (sleep interval) seconds. Therefore timeout at 12 seconds. 14 ExecStart=/usr/lib/systemd/tests/testdata/testsuite-16.units/extend-timeout.sh
|
D | success-all.service | 3 Description=Testsuite: EXTEND_TIMEOUT_USEC Success - extend timeout on all services 15 ExecStart=/usr/lib/systemd/tests/testdata/testsuite-16.units/extend-timeout.sh
|
/systemd-251/shell-completion/zsh/ |
D | _bootctl | 49 "set-timeout:Set the menu timeout" 50 "set-timeout-oneshot:Set the menu timeout for the next boot only"
|
/systemd-251/src/udev/ata_id/ |
D | ata_id.c | 56 .timeout = COMMAND_TIMEOUT_MSEC, in disk_scsi_inquiry_command() 73 .timeout = COMMAND_TIMEOUT_MSEC, in disk_scsi_inquiry_command() 138 .timeout = COMMAND_TIMEOUT_MSEC, in disk_identify_command() 155 .timeout = COMMAND_TIMEOUT_MSEC, in disk_identify_command() 216 .timeout = COMMAND_TIMEOUT_MSEC, in disk_identify_packet_device_command() 233 .timeout = COMMAND_TIMEOUT_MSEC, in disk_identify_packet_device_command()
|
/systemd-251/src/basic/ |
D | io-util.c | 161 int ppoll_usec(struct pollfd *fds, size_t nfds, usec_t timeout) { in ppoll_usec() argument 169 r = ppoll(fds, nfds, timeout == USEC_INFINITY ? NULL : TIMESPEC_STORE(timeout), NULL); in ppoll_usec() 186 int fd_wait_for_event(int fd, int event, usec_t timeout) { in fd_wait_for_event() argument 193 r = ppoll_usec(&pollfd, 1, timeout); in fd_wait_for_event()
|
D | missing_syscall.h | 428 const struct timespec *timeout, in missing_epoll_pwait2() argument 432 if (timeout) { in missing_epoll_pwait2() 435 .tv_sec = timeout->tv_sec, in missing_epoll_pwait2() 436 .tv_nsec = timeout->tv_nsec, in missing_epoll_pwait2()
|
/systemd-251/src/journal-remote/ |
D | journal-upload-journal.c | 317 u->timeout = 0; in close_journal_input() 391 u->timeout = -1; in open_journal_for_upload() 393 u->timeout = JOURNAL_UPLOAD_POLL_TIMEOUT; in open_journal_for_upload() 401 fd, u->timeout == UINT64_MAX ? -1 : (int) u->timeout); in open_journal_for_upload()
|
/systemd-251/src/udev/ |
D | udevadm-control.c | 52 usec_t timeout = 60 * USEC_PER_SEC; in control_main() local 163 r = parse_sec(optarg, &timeout); in control_main() 181 r = udev_ctrl_wait(uctrl, timeout); in control_main()
|
D | udev-ctrl.c | 325 int udev_ctrl_wait(UdevCtrl *uctrl, usec_t timeout) { in udev_ctrl_wait() argument 342 if (timeout == 0) in udev_ctrl_wait() 357 if (timeout != USEC_INFINITY) { in udev_ctrl_wait() 360 timeout, in udev_ctrl_wait()
|
/systemd-251/src/test/ |
D | meson.build | 167 [], [], [], '', 'timeout=120'], 183 [], '', 'timeout=90'], 200 [], '', 'timeout=120'], 262 [], [libcrypt], [], '', 'timeout=120'], 410 [], [], [], '', 'timeout=180'], 558 core_includes, '', 'timeout=120'], 569 core_includes, '', 'timeout=360'], 638 [], 'ENABLE_NSS', 'timeout=120'],
|
/systemd-251/src/libsystemd/sd-login/ |
D | test-login.c | 274 usec_t timeout, nw; in TEST() local 279 assert_se(sd_login_monitor_get_timeout(m, &timeout) >= 0); in TEST() 284 timeout == UINT64_MAX ? -1 : in TEST() 285 timeout > nw ? (int) ((timeout - nw) / 1000) : in TEST()
|