Searched refs:timeout_usec (Results 1 - 25 of 26) sorted by relevance

12

/systemd/src/core/
H A Dbusname.h53 usec_t timeout_usec; member in struct:BusName
H A Ddbus-busname.c31 SD_BUS_PROPERTY("TimeoutUSec", "t", bus_property_get_usec, offsetof(BusName, timeout_usec), SD_BUS_VTABLE_PROPERTY_CONST),
H A Dmount.h78 usec_t timeout_usec; member in struct:Mount
H A Dswap.h76 usec_t timeout_usec; member in struct:Swap
H A Ddbus-swap.c84 SD_BUS_PROPERTY("TimeoutUSec", "t", bus_property_get_usec, offsetof(Swap, timeout_usec), SD_BUS_VTABLE_PROPERTY_CONST),
H A Dsocket.h86 usec_t timeout_usec; member in struct:Socket
H A Dbusname.c64 n->timeout_usec = u->manager->default_timeout_start_usec;
371 r = busname_arm_timer(n, usec_add(u->state_change_timestamp.monotonic, n->timeout_usec));
396 r = busname_arm_timer(n, usec_add(now(CLOCK_MONOTONIC), n->timeout_usec));
474 r = busname_arm_timer(n, usec_add(now(CLOCK_MONOTONIC), n->timeout_usec));
H A Ddbus-mount.c115 SD_BUS_PROPERTY("TimeoutUSec", "t", bus_property_get_usec, offsetof(Mount, timeout_usec), SD_BUS_VTABLE_PROPERTY_CONST),
H A Ddbus-socket.c110 SD_BUS_PROPERTY("TimeoutUSec", "t", bus_property_get_usec, offsetof(Socket, timeout_usec), SD_BUS_VTABLE_PROPERTY_CONST),
H A Dswap.c118 s->timeout_usec = u->manager->default_timeout_start_usec;
551 r = swap_arm_timer(s, usec_add(u->state_change_timestamp.monotonic, s->timeout_usec));
632 r = swap_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_usec));
709 r = swap_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_usec));
H A Dmount.c128 m->timeout_usec = u->manager->default_timeout_start_usec;
652 r = mount_arm_timer(m, usec_add(u->state_change_timestamp.monotonic, m->timeout_usec));
726 r = mount_arm_timer(m, usec_add(now(CLOCK_MONOTONIC), m->timeout_usec));
799 r = mount_arm_timer(m, usec_add(now(CLOCK_MONOTONIC), m->timeout_usec));
H A Dsocket.c87 s->timeout_usec = u->manager->default_timeout_start_usec;
1493 r = socket_arm_timer(s, usec_add(u->state_change_timestamp.monotonic, s->timeout_usec));
1550 r = socket_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_usec));
1588 r = socket_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_usec));
1731 r = socket_arm_timer(s, usec_add(now(CLOCK_MONOTONIC), s->timeout_usec));
/systemd/src/systemd/
H A Dsd-resolve.h70 int sd_resolve_get_timeout(sd_resolve *resolve, uint64_t *timeout_usec);
78 int sd_resolve_wait(sd_resolve *resolve, uint64_t timeout_usec);
H A Dsd-network.h172 int sd_network_monitor_get_timeout(sd_network_monitor *m, uint64_t *timeout_usec);
H A Dsd-login.h239 int sd_login_monitor_get_timeout(sd_login_monitor *m, uint64_t *timeout_usec);
H A Dsd-journal.h135 int sd_journal_get_timeout(sd_journal *j, uint64_t *timeout_usec);
137 int sd_journal_wait(sd_journal *j, uint64_t timeout_usec);
H A Dsd-bus.h176 int sd_bus_get_timeout(sd_bus *bus, uint64_t *timeout_usec);
179 int sd_bus_wait(sd_bus *bus, uint64_t timeout_usec);
/systemd/src/udev/
H A Dudev.h75 usec_t timeout_usec, usec_t timeout_warn_usec,
86 usec_t timeout_usec,
91 usec_t timeout_usec, usec_t timeout_warn_usec,
94 void udev_event_execute_run(struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec);
H A Dudev-event.c447 usec_t timeout_usec,
496 if (timeout_usec > 0) {
500 if (age_usec >= timeout_usec) {
504 timeout = ((timeout_usec - age_usec) / USEC_PER_MSEC) + MSEC_PER_SEC;
631 usec_t timeout_usec,
647 if (timeout_usec > 0) {
652 if (age_usec < timeout_usec) {
653 if (timeout_warn_usec > 0 && timeout_warn_usec < timeout_usec && age_usec < timeout_warn_usec) {
663 spawn.timeout = timeout_usec - age_usec;
721 usec_t timeout_usec,
446 spawn_read(struct udev_event *event, usec_t timeout_usec, const char *cmd, int fd_stdout, int fd_stderr, char *result, size_t ressize) argument
630 spawn_wait(struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, const char *cmd, pid_t pid, bool accept_failure) argument
720 udev_event_spawn(struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, bool accept_failure, const char *cmd, char *result, size_t ressize) argument
822 udev_event_execute_rules(struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, struct udev_list *properties_list, struct udev_rules *rules) argument
922 udev_event_execute_run(struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec) argument
[all...]
/systemd/src/libsystemd/sd-network/
H A Dsd-network.c363 _public_ int sd_network_monitor_get_timeout(sd_network_monitor *m, uint64_t *timeout_usec) { argument
366 assert_return(timeout_usec, -EINVAL);
371 *timeout_usec = (uint64_t) -1;
/systemd/src/libsystemd/sd-netlink/
H A Dsd-netlink.c445 static int rtnl_poll(sd_netlink *rtnl, bool need_more, uint64_t timeout_usec) { argument
476 if (timeout_usec != (uint64_t) -1 && (m == (uint64_t) -1 || timeout_usec < m))
477 m = timeout_usec;
489 int sd_netlink_wait(sd_netlink *nl, uint64_t timeout_usec) { argument
496 return rtnl_poll(nl, false, timeout_usec);
694 int sd_netlink_get_timeout(sd_netlink *rtnl, uint64_t *timeout_usec) { argument
698 assert_return(timeout_usec, -EINVAL);
702 *timeout_usec = 0;
708 *timeout_usec
[all...]
/systemd/src/libsystemd/sd-bus/
H A Dsd-bus.c71 static int bus_poll(sd_bus *bus, bool need_more, uint64_t timeout_usec);
2172 _public_ int sd_bus_get_timeout(sd_bus *bus, uint64_t *timeout_usec) { argument
2176 assert_return(timeout_usec, -EINVAL);
2183 *timeout_usec = 0;
2188 *timeout_usec = 0;
2193 *timeout_usec = bus->auth_timeout;
2198 *timeout_usec = (uint64_t) -1;
2203 *timeout_usec = 0;
2209 *timeout_usec = (uint64_t) -1;
2214 *timeout_usec
2822 bus_poll(sd_bus *bus, bool need_more, uint64_t timeout_usec) argument
2881 sd_bus_wait(sd_bus *bus, uint64_t timeout_usec) argument
[all...]
/systemd/src/journal/
H A Dsd-journal.c2133 _public_ int sd_journal_get_timeout(sd_journal *j, uint64_t *timeout_usec) { argument
2138 assert_return(timeout_usec, -EINVAL);
2145 *timeout_usec = (uint64_t) -1;
2152 *timeout_usec = j->last_process_usec + JOURNAL_FILES_RECHECK_USEC;
2241 _public_ int sd_journal_wait(sd_journal *j, uint64_t timeout_usec) { argument
2273 if (timeout_usec == (uint64_t) -1 || timeout_usec > t)
2274 timeout_usec = t;
2278 r = fd_wait_for_event(j->inotify_fd, POLLIN, timeout_usec);
/systemd/src/libsystemd/sd-login/
H A Dsd-login.c1052 _public_ int sd_login_monitor_get_timeout(sd_login_monitor *m, uint64_t *timeout_usec) { argument
1055 assert_return(timeout_usec, -EINVAL);
1060 *timeout_usec = (uint64_t) -1;
/systemd/src/libsystemd/sd-resolve/
H A Dsd-resolve.c879 _public_ int sd_resolve_wait(sd_resolve *resolve, uint64_t timeout_usec) { argument
889 r = fd_wait_for_event(resolve->fds[RESPONSE_RECV_FD], POLLIN, timeout_usec);

Completed in 299 milliseconds

12