Home
last modified time | relevance | path

Searched refs:bus_track (Results 1 – 11 of 11) sorted by relevance

/systemd-251/src/core/
Ddbus-job.c55 if (!sd_bus_track_contains(j->bus_track, sd_bus_message_get_sender(message))) { in bus_job_method_cancel()
249 …r = bus_foreach_bus(j->manager, j->bus_track, j->sent_dbus_new_signal ? send_changed_signal : send… in bus_job_send_change_signal()
311 r = bus_foreach_bus(j->manager, j->bus_track, send_removed_signal, j); in bus_job_send_removed_signal()
322 j->bus_track = sd_bus_track_unref(j->bus_track); /* make sure we aren't called again */ in bus_job_track_handler()
333 if (j->bus_track) in bus_job_allocate_bus_track()
336 return sd_bus_track_new(j->unit->manager->api_bus, &j->bus_track, bus_job_track_handler, j); in bus_job_allocate_bus_track()
357 return bus_track_add_name_many(j->bus_track, deserialized_clients); in bus_job_coldplug_bus_track()
375 return sd_bus_track_add_sender(j->bus_track, m); in bus_job_track_sender()
Ddbus.c1001 if (j->bus_track && sd_bus_track_get_bus(j->bus_track) == *bus) in destroy_bus()
1002 j->bus_track = sd_bus_track_unref(j->bus_track); in destroy_bus()
1005 if (u->bus_track && sd_bus_track_get_bus(u->bus_track) == *bus) in destroy_bus()
1006 u->bus_track = sd_bus_track_unref(u->bus_track); in destroy_bus()
Ddbus-unit.c842 … for (const char *i = sd_bus_track_first(u->bus_track); i; i = sd_bus_track_next(u->bus_track)) { in property_get_refs()
845 c = sd_bus_track_count_name(u->bus_track, i); in property_get_refs()
1661 …r = bus_foreach_bus(u->manager, u->bus_track, u->sent_dbus_new_signal ? send_changed_signal : send… in bus_unit_send_change_signal()
1745 r = bus_foreach_bus(u->manager, u->bus_track, send_removed_signal, u); in bus_unit_send_removed_signal()
2522 u->bus_track = sd_bus_track_unref(u->bus_track); /* make sure we aren't called again */ in bus_unit_track_handler()
2539 if (u->bus_track) in bus_unit_allocate_bus_track()
2542 r = sd_bus_track_new(u->manager->api_bus, &u->bus_track, bus_unit_track_handler, u); in bus_unit_allocate_bus_track()
2546 r = sd_bus_track_set_recursive(u->bus_track, true); in bus_unit_allocate_bus_track()
2548 u->bus_track = sd_bus_track_unref(u->bus_track); in bus_unit_allocate_bus_track()
2564 return sd_bus_track_add_name(u->bus_track, name); in bus_unit_track_add_name()
[all …]
Dunit-serialize.c191 bus_track_serialize(u->bus_track, f, "ref"); in unit_serialize()
851 … for (const char *n = sd_bus_track_first(u->bus_track); n; n = sd_bus_track_next(u->bus_track)) in unit_dump()
Djob.h147 sd_bus_track *bus_track; member
Djob.c104 sd_bus_track_unref(j->bus_track); in job_free()
1161 bus_track_serialize(j->bus_track, f, "subscribed"); in job_serialize()
1380 if (sd_bus_track_count(j->bus_track) > 0) in job_may_gc()
Dunit.h187 sd_bus_track *bus_track; member
Dunit.c419 if (sd_bus_track_count(u->bus_track) > 0) in unit_may_gc()
505 sd_bus_track_count(u->bus_track) <= 0 && in unit_add_to_dbus_queue()
688 u->bus_track = sd_bus_track_unref(u->bus_track); in unit_free()
/systemd-251/src/resolve/
Dresolved-dns-query.h110 sd_bus_track *bus_track; member
Dresolved-bus.c49 if (!q->bus_track) { in dns_query_bus_track()
50 … r = sd_bus_track_new(sd_bus_message_get_bus(m), &q->bus_track, query_on_bus_track, q); in dns_query_bus_track()
55 r = sd_bus_track_add_sender(q->bus_track, m); in dns_query_bus_track()
1901 _cleanup_(sd_bus_track_unrefp) sd_bus_track *bus_track = NULL; in bus_method_register_service()
2052 …r = sd_bus_track_new(sd_bus_message_get_bus(message), &bus_track, dnssd_service_on_bus_track, serv… in bus_method_register_service()
2056 r = sd_bus_track_add_sender(bus_track, message); in bus_method_register_service()
Dresolved-dns-query.c403 sd_bus_track_unref(q->bus_track); in dns_query_free()