Lines Matching refs:reply_callback
346 struct reply_callback *c; in process_timeout()
369 slot = container_of(c, sd_netlink_slot, reply_callback); in process_timeout()
385 struct reply_callback *c; in process_reply()
411 slot = container_of(c, sd_netlink_slot, reply_callback); in process_reply()
586 const struct reply_callback *x = a, *y = b; in timeout_compare()
628 …k_slot_allocate(nl, !ret_slot, NETLINK_REPLY_CALLBACK, sizeof(struct reply_callback), userdata, de… in sd_netlink_call_async()
632 slot->reply_callback.callback = callback; in sd_netlink_call_async()
633 slot->reply_callback.timeout = calc_elapse(usec); in sd_netlink_call_async()
635 k = sd_netlink_send(nl, m, &slot->reply_callback.serial); in sd_netlink_call_async()
639 … hashmap_put(nl->reply_callbacks, UINT32_TO_PTR(slot->reply_callback.serial), &slot->reply_callbac… in sd_netlink_call_async()
643 if (slot->reply_callback.timeout != 0) { in sd_netlink_call_async()
644 … r = prioq_put(nl->reply_callbacks_prioq, &slot->reply_callback, &slot->reply_callback.prioq_idx); in sd_netlink_call_async()
646 … (void) hashmap_remove(nl->reply_callbacks, UINT32_TO_PTR(slot->reply_callback.serial)); in sd_netlink_call_async()
767 struct reply_callback *c; in sd_netlink_get_timeout()