/systemd/src/udev/ |
H A D | udevadm-control.c | 38 " --timeout=SECONDS Maximum time to block for a reply\n" 44 int timeout = 60; local 57 { "timeout", required_argument, NULL, 't' }, 74 if (udev_ctrl_send_exit(uctrl, timeout) < 0) 87 if (udev_ctrl_send_set_log_level(uctrl, util_log_priority(optarg), timeout) < 0) 94 if (udev_ctrl_send_stop_exec_queue(uctrl, timeout) < 0) 100 if (udev_ctrl_send_start_exec_queue(uctrl, timeout) < 0) 106 if (udev_ctrl_send_reload(uctrl, timeout) < 0) 116 if (udev_ctrl_send_set_env(uctrl, optarg, timeout) < 0) 130 if (udev_ctrl_send_set_children_max(uctrl, i, timeout) < [all...] |
H A D | udevadm-settle.c | 38 " -t --timeout=SECONDS Maximum time to wait for events\n" 45 { "timeout", required_argument, NULL, 't' }, 55 unsigned int timeout = 120; local 67 r = safe_atou(optarg, &timeout); 69 log_error_errno(r, "Invalid timeout value '%s': %m", optarg); 102 deadline = now(CLOCK_MONOTONIC) + timeout * USEC_PER_SEC; 110 if (udev_ctrl_send_ping(uctrl, MAX(5U, timeout)) < 0) {
|
H A D | udev-ctrl.c | 238 static int ctrl_send(struct udev_ctrl *uctrl, enum udev_ctrl_msg_type type, int intval, const char *buf, int timeout) { argument 271 r = poll(pfd, 1, timeout * MSEC_PER_SEC); 292 int udev_ctrl_send_set_log_level(struct udev_ctrl *uctrl, int priority, int timeout) { argument 293 return ctrl_send(uctrl, UDEV_CTRL_SET_LOG_LEVEL, priority, NULL, timeout); 296 int udev_ctrl_send_stop_exec_queue(struct udev_ctrl *uctrl, int timeout) { argument 297 return ctrl_send(uctrl, UDEV_CTRL_STOP_EXEC_QUEUE, 0, NULL, timeout); 300 int udev_ctrl_send_start_exec_queue(struct udev_ctrl *uctrl, int timeout) { argument 301 return ctrl_send(uctrl, UDEV_CTRL_START_EXEC_QUEUE, 0, NULL, timeout); 304 int udev_ctrl_send_reload(struct udev_ctrl *uctrl, int timeout) { argument 305 return ctrl_send(uctrl, UDEV_CTRL_RELOAD, 0, NULL, timeout); 308 udev_ctrl_send_set_env(struct udev_ctrl *uctrl, const char *key, int timeout) argument 312 udev_ctrl_send_set_children_max(struct udev_ctrl *uctrl, int count, int timeout) argument 316 udev_ctrl_send_ping(struct udev_ctrl *uctrl, int timeout) argument 320 udev_ctrl_send_exit(struct udev_ctrl *uctrl, int timeout) argument [all...] |
H A D | udev.h | 120 int udev_ctrl_send_set_log_level(struct udev_ctrl *uctrl, int priority, int timeout); 121 int udev_ctrl_send_stop_exec_queue(struct udev_ctrl *uctrl, int timeout); 122 int udev_ctrl_send_start_exec_queue(struct udev_ctrl *uctrl, int timeout); 123 int udev_ctrl_send_reload(struct udev_ctrl *uctrl, int timeout); 124 int udev_ctrl_send_ping(struct udev_ctrl *uctrl, int timeout); 125 int udev_ctrl_send_exit(struct udev_ctrl *uctrl, int timeout); 126 int udev_ctrl_send_set_env(struct udev_ctrl *uctrl, const char *key, int timeout); 127 int udev_ctrl_send_set_children_max(struct udev_ctrl *uctrl, int count, int timeout);
|
H A D | udev-event.c | 46 usec_t timeout; member in struct:Spawn 491 int timeout; local 501 log_error("timeout '%s'", cmd); 504 timeout = ((timeout_usec - age_usec) / USEC_PER_MSEC) + MSEC_PER_SEC; 506 timeout = -1; 509 fdcount = epoll_wait(fd_ep, ev, ELEMENTSOF(ev), timeout); 516 log_error("timeout '%s'", cmd); 574 char timeout[FORMAT_TIMESTAMP_RELATIVE_MAX]; local 581 format_timestamp_relative(timeout, sizeof(timeout), spaw 588 char timeout[FORMAT_TIMESTAMP_RELATIVE_MAX]; local [all...] |
/systemd/src/network/ |
H A D | networkd-wait-online.h | 49 int manager_new(Manager **ret, char **interfaces, char **ignore, usec_t timeout);
|
H A D | networkd-wait-online-manager.c | 268 int manager_new(Manager **ret, char **interfaces, char **ignore, usec_t timeout) { argument 288 if (timeout > 0) { 291 usec = now(clock_boottime_or_monotonic()) + timeout;
|
/systemd/src/ask-password/ |
H A D | ask-password.c | 46 " --timeout=SEC Timeout in seconds\n" 70 { "timeout", required_argument, NULL, ARG_TIMEOUT }, 99 log_error("Failed to parse --timeout parameter %s", optarg); 146 usec_t timeout; local 158 timeout = now(CLOCK_MONOTONIC) + arg_timeout; 160 timeout = 0; 162 r = ask_password_auto(arg_message, arg_icon, arg_id, arg_keyname, timeout, arg_flags, &l);
|
/systemd/src/shared/ |
H A D | generator.c | 166 _cleanup_free_ char *node = NULL, *unit = NULL, *timeout = NULL; local 170 r = fstab_filter_options(opts, "comment=systemd.device-timeout\0" "x-systemd.device-timeout\0", 171 NULL, &timeout, filtered); 175 r = parse_sec(timeout, &u); 177 log_warning("Failed to parse timeout for %s, ignoring: %s", where, timeout); 189 return write_drop_in_format(dir, unit, 50, "device-timeout", 192 program_invocation_short_name, timeout);
|
/systemd/src/journal-remote/ |
H A D | journal-upload.h | 34 uint64_t timeout; member in struct:Uploader
|
H A D | journal-upload-journal.c | 307 u->timeout = 0; 381 u->timeout = -1; 383 u->timeout = JOURNAL_UPLOAD_POLL_TIMEOUT; 390 log_debug("Listening for journal events on fd:%d, timeout %d", 391 fd, u->timeout == (uint64_t) -1 ? -1 : (int) u->timeout);
|
/systemd/src/basic/ |
H A D | terminal-util.h | 50 int acquire_terminal(const char *name, bool fail, bool force, bool ignore_tiocstty_eperm, usec_t timeout); 58 int read_one_char(FILE *f, char *ret, usec_t timeout, bool *need_nl);
|
H A D | io-util.h | 39 int fd_wait_for_event(int fd, int event, usec_t timeout);
|
/systemd/src/libsystemd-network/ |
H A D | sd-ndisc.c | 84 sd_event_source *timeout; member in struct:sd_ndisc 218 nd->timeout = sd_event_source_unref(nd->timeout); 359 /* if router advertisment prefix valid timeout is zero, the timeout 566 nd->timeout = sd_event_source_unref(nd->timeout); 610 nd->timeout = sd_event_source_unref(nd->timeout); 631 r = sd_event_add_time(nd->event, &nd->timeout, clock_boottime_or_monotoni [all...] |
/systemd/src/libsystemd/sd-login/ |
H A D | test-login.c | 233 usec_t timeout, nw; local 239 assert_se(sd_login_monitor_get_timeout(m, &timeout) >= 0); 244 timeout == (uint64_t) -1 ? -1 : 245 timeout > nw ? (int) ((timeout - nw) / 1000) :
|
/systemd/src/libsystemd/sd-netlink/ |
H A D | sd-netlink.c | 301 if (c->timeout > n) 334 if (c->timeout != 0) 502 if (x->timeout != 0 && y->timeout == 0) 505 if (x->timeout == 0 && y->timeout != 0) 508 if (x->timeout < y->timeout) 511 if (x->timeout > y->timeout) 602 usec_t timeout; local [all...] |
H A D | netlink-internal.h | 41 usec_t timeout; member in struct:reply_callback
|
/systemd/src/shared/linux/ |
H A D | auto_dev-ioctl.h | 60 __u64 timeout; member in struct:args_timeout 111 struct args_timeout timeout; member in union:autofs_dev_ioctl::__anon267 154 /* Expiry timeout */
|
/systemd/test/TEST-07-ISSUE-1981/ |
H A D | test.sh | 11 timeout --foreground 30s systemd-nspawn --kill-signal=SIGKILL --boot --directory=$TESTDIR/nspawn-root $ROOTLIBDIR/systemd $KERNEL_APPEND
|
/systemd/src/udev/ata_id/ |
H A D | ata_id.c | 72 .timeout = COMMAND_TIMEOUT_MSEC, 89 .timeout = COMMAND_TIMEOUT_MSEC, 153 .timeout = COMMAND_TIMEOUT_MSEC, 170 .timeout = COMMAND_TIMEOUT_MSEC, 229 .timeout = COMMAND_TIMEOUT_MSEC, 246 .timeout = COMMAND_TIMEOUT_MSEC,
|
/systemd/src/systemd/ |
H A D | sd-netlink.h | 56 int sd_netlink_call(sd_netlink *nl, sd_netlink_message *message, uint64_t timeout, 60 int sd_netlink_get_timeout(sd_netlink *nl, uint64_t *timeout); 62 int sd_netlink_wait(sd_netlink *nl, uint64_t timeout);
|
/systemd/test/ |
H A D | networkd-test.py | 120 self.iface, '--timeout=%i' % online_timeout]) 126 for timeout in range(10): 179 for timeout in range(50): 197 # we have a 12s timeout on RA, so we need to wait longer 206 # we have a 12s timeout on RA, so we need to wait longer 219 # With IPv4 only we have a 12s timeout on RA, so we need to wait longer 339 for timeout in range(50):
|
/systemd/src/fstab-generator/ |
H A D | fstab-generator.c | 146 _cleanup_free_ char *timeout = NULL; local 151 r = fstab_filter_options(opts, "x-systemd.idle-timeout\0", NULL, &timeout, NULL); 157 r = parse_sec(timeout, &u); 159 log_warning("Failed to parse timeout for %s, ignoring: %s", where, timeout);
|
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-message.h | 140 usec_t timeout; member in struct:sd_bus_message 194 int bus_message_seal(sd_bus_message *m, uint64_t serial, usec_t timeout);
|
/systemd/src/test/ |
H A D | test-execute.c | 42 usec_t timeout = 2 * USEC_PER_SEC; local 59 if (ts + timeout < n) { 60 log_error("Test timeout when testing %s", unit->id);
|