Lines Matching defs:timeout_usec
71 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) {
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 = (uint64_t) -1;
2218 *timeout_usec = c->timeout;
2822 static int bus_poll(sd_bus *bus, bool need_more, uint64_t timeout_usec) {
2860 if (timeout_usec != (uint64_t) -1 && (m == (uint64_t) -1 || timeout_usec < m))
2861 m = timeout_usec;
2881 _public_ int sd_bus_wait(sd_bus *bus, uint64_t timeout_usec) {
2895 return bus_poll(bus, false, timeout_usec);