Searched defs:timeout_usec (Results 1 - 12 of 12) sorted by relevance

/systemd/src/core/
H A Dbusname.h53 usec_t timeout_usec; member in struct:BusName
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 Dsocket.h86 usec_t timeout_usec; member in struct:Socket
/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/udev/
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...]
H A Dudev-rules.c642 usec_t timeout_usec,
649 err = udev_event_spawn(event, timeout_usec, timeout_warn_usec, true, program, result, sizeof(result));
1854 usec_t timeout_usec,
2080 if (udev_event_spawn(event, timeout_usec, timeout_warn_usec, true, program, result, sizeof(result)) < 0) {
2116 if (import_program_into_properties(event, timeout_usec, timeout_warn_usec, import) != 0)
641 import_program_into_properties(struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, const char *program) argument
1852 udev_rules_apply_to_event(struct udev_rules *rules, struct udev_event *event, usec_t timeout_usec, usec_t timeout_warn_usec, struct udev_list *properties_list) argument
/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/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-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/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 671 milliseconds