Lines Matching refs:slot
2239 sd_bus_slot **slot, in sd_bus_call_async() argument
2263 if (!callback && !slot && !m->sealed) in sd_bus_call_async()
2282 if (slot || callback) { in sd_bus_call_async()
2283 … s = bus_slot_allocate(bus, !slot, BUS_REPLY_CALLBACK, sizeof(struct reply_callback), userdata); in sd_bus_call_async()
2310 if (slot) in sd_bus_call_async()
2311 *slot = s; in sd_bus_call_async()
2615 sd_bus_slot *slot; in process_timeout() local
2651 slot = container_of(c, sd_bus_slot, reply_callback); in process_timeout()
2658 bus->current_slot = sd_bus_slot_ref(slot); in process_timeout()
2660 bus->current_userdata = slot->userdata; in process_timeout()
2661 r = c->callback(m, slot->userdata, &error_buffer); in process_timeout()
2667 if (slot->floating) in process_timeout()
2668 bus_slot_disconnect(slot, true); in process_timeout()
2670 sd_bus_slot_unref(slot); in process_timeout()
2705 sd_bus_slot *slot; in process_reply() local
2724 slot = container_of(c, sd_bus_slot, reply_callback); in process_reply()
2763 bus->current_slot = sd_bus_slot_ref(slot); in process_reply()
2765 bus->current_userdata = slot->userdata; in process_reply()
2766 r = c->callback(m, slot->userdata, &error_buffer); in process_reply()
2771 if (slot->floating) in process_reply()
2772 bus_slot_disconnect(slot, true); in process_reply()
2774 sd_bus_slot_unref(slot); in process_reply()
2795 sd_bus_slot *slot; in process_filter() local
2810 slot = container_of(l, sd_bus_slot, filter_callback); in process_filter()
2812 bus->current_slot = sd_bus_slot_ref(slot); in process_filter()
2814 bus->current_userdata = slot->userdata; in process_filter()
2815 r = l->callback(m, slot->userdata, &error_buffer); in process_filter()
2818 bus->current_slot = sd_bus_slot_unref(slot); in process_filter()
3070 sd_bus_slot *slot; in process_closing_reply_callback() local
3098 slot = container_of(c, sd_bus_slot, reply_callback); in process_closing_reply_callback()
3103 bus->current_slot = sd_bus_slot_ref(slot); in process_closing_reply_callback()
3105 bus->current_userdata = slot->userdata; in process_closing_reply_callback()
3106 r = c->callback(m, slot->userdata, &error_buffer); in process_closing_reply_callback()
3112 if (slot->floating) in process_closing_reply_callback()
3113 bus_slot_disconnect(slot, true); in process_closing_reply_callback()
3115 sd_bus_slot_unref(slot); in process_closing_reply_callback()
3387 sd_bus_slot **slot, in sd_bus_add_filter() argument
3398 … s = bus_slot_allocate(bus, !slot, BUS_FILTER_CALLBACK, sizeof(struct filter_callback), userdata); in sd_bus_add_filter()
3407 if (slot) in sd_bus_add_filter()
3408 *slot = s; in sd_bus_add_filter()
3479 sd_bus_slot **slot, in bus_add_match_full() argument
3500 … s = bus_slot_allocate(bus, !slot, BUS_MATCH_CALLBACK, sizeof(struct match_callback), userdata); in bus_add_match_full()
3553 if (slot) in bus_add_match_full()
3554 *slot = s; in bus_add_match_full()
3566 sd_bus_slot **slot, in sd_bus_add_match() argument
3571 return bus_add_match_full(bus, slot, false, match, callback, NULL, userdata); in sd_bus_add_match()
3576 sd_bus_slot **slot, in sd_bus_add_match_async() argument
3582 return bus_add_match_full(bus, slot, true, match, callback, install_callback, userdata); in sd_bus_add_match_async()