Lines Matching defs:cookie

59                 log_debug("Got message type=%s sender=%s destination=%s object=%s interface=%s member=%s cookie=%" PRIu64 " reply_cookie=%" PRIu64 " error=%s", \
1557 * destinations, avoid using the same cookie
1559 b->cookie = MAX(b->cookie, BUS_MESSAGE_COOKIE(m));
1566 return bus_message_seal(m, ++b->cookie, timeout);
1632 log_debug("Sent message type=%s sender=%s destination=%s object=%s interface=%s member=%s cookie=%" PRIu64 " reply_cookie=%" PRIu64 " error=%s",
1736 static int bus_send_internal(sd_bus *bus, sd_bus_message *_m, uint64_t *cookie, bool hint_sync_call) {
1759 /* If the cookie number isn't kept, then we know that no reply
1761 if (!cookie && !m->sealed)
1816 if (cookie)
1817 *cookie = BUS_MESSAGE_COOKIE(m);
1822 _public_ int sd_bus_send(sd_bus *bus, sd_bus_message *m, uint64_t *cookie) {
1823 return bus_send_internal(bus, m, cookie, false);
1826 _public_ int sd_bus_send_to(sd_bus *bus, sd_bus_message *m, const char *destination, uint64_t *cookie) {
1849 return sd_bus_send(bus, m, cookie);
1925 s->reply_callback.cookie = BUS_MESSAGE_COOKIE(m);
1926 r = ordered_hashmap_put(bus->reply_callbacks, &s->reply_callback.cookie, &s->reply_callback);
1928 s->reply_callback.cookie = 0;
1941 r = sd_bus_send(bus, m, &s->reply_callback.cookie);
1986 uint64_t cookie;
2020 r = bus_send_internal(bus, m, &cookie, true);
2034 if (incoming->reply_cookie == cookie) {
2065 } else if (BUS_MESSAGE_COOKIE(incoming) == cookie &&
2242 c->cookie,
2255 ordered_hashmap_remove(bus->reply_callbacks, &c->cookie);
2256 c->cookie = 0;
2328 c->cookie = 0;
2662 c->cookie,
2677 ordered_hashmap_remove(bus->reply_callbacks, &c->cookie);
2678 c->cookie = 0;
2991 s->match_callback.cookie = ++bus->match_cookie;
3015 r = bus_add_match_internal(bus, s->match_callback.match_string, components, n_components, s->match_callback.cookie);