Lines Matching refs:owners
46 DBusList *owners; member
159 link = _dbus_list_get_first_link (&service->owners); in _bus_service_find_owner_link()
169 link = _dbus_list_get_next_link (&service->owners, link); in _bus_service_find_owner_link()
536 _dbus_list_unlink (&service->owners, link); in bus_registry_acquire_service()
708 _dbus_list_remove_last (&service->owners, owner); in bus_service_unlink_owner()
715 _dbus_assert (service->owners == NULL); in bus_service_unlink()
731 _dbus_assert (service->owners == NULL); in bus_service_relink()
763 if (d->service->owners == NULL) in cancel_ownership()
823 if (service->owners == NULL) in bus_service_add_owner()
841 if (!(flags & DBUS_NAME_FLAG_REPLACE_EXISTING) || service->owners == NULL) in bus_service_add_owner()
843 if (!_dbus_list_append (&service->owners, in bus_service_add_owner()
853 if (!_dbus_list_insert_after (&service->owners, in bus_service_add_owner()
854 _dbus_list_get_first_link (&service->owners), in bus_service_add_owner()
873 _dbus_list_unlink (&service->owners, bus_owner_link); in bus_service_add_owner()
874 link = _dbus_list_get_first_link (&service->owners); in bus_service_add_owner()
877 _dbus_list_insert_after_link (&service->owners, link, bus_owner_link); in bus_service_add_owner()
915 if (d->service->owners == NULL) in restore_ownership()
929 link = _dbus_list_get_first_link (&d->service->owners); in restore_ownership()
935 link = _dbus_list_get_next_link (&d->service->owners, link); in restore_ownership()
938 _dbus_list_insert_before_link (&d->service->owners, link, d->owner_link); in restore_ownership()
996 link = _dbus_list_get_first_link (&service->owners); in add_restore_ownership_to_transaction()
1001 link = _dbus_list_get_next_link (&service->owners, link); in add_restore_ownership_to_transaction()
1009 link = _dbus_list_get_next_link (&service->owners, link); in add_restore_ownership_to_transaction()
1050 if (service->owners == NULL) in bus_service_swap_owner()
1054 else if (_dbus_list_length_is_one (&service->owners)) in bus_service_swap_owner()
1063 link = _dbus_list_get_first_link (&service->owners); in bus_service_swap_owner()
1065 link = _dbus_list_get_next_link (&service->owners, link); in bus_service_swap_owner()
1092 swap_link = _dbus_list_get_first_link (&service->owners); in bus_service_swap_owner()
1093 _dbus_list_unlink (&service->owners, swap_link); in bus_service_swap_owner()
1095 _dbus_list_insert_after_link (&service->owners, in bus_service_swap_owner()
1096 _dbus_list_get_first_link (&service->owners), in bus_service_swap_owner()
1132 _dbus_list_unlink (&service->owners, link); in bus_service_remove_owner()
1140 if (service->owners == NULL) in bus_service_remove_owner()
1144 else if (_dbus_list_length_is_one (&service->owners)) in bus_service_remove_owner()
1157 link = _dbus_list_get_first_link (&service->owners); in bus_service_remove_owner()
1159 link = _dbus_list_get_next_link (&service->owners, link); in bus_service_remove_owner()
1187 if (service->owners == NULL) in bus_service_remove_owner()
1212 _dbus_assert (service->owners == NULL); in bus_service_unref()
1235 return _dbus_list_get_first (&service->owners); in bus_service_get_primary_owner()
1250 _dbus_assert (service->owners != NULL); in bus_service_get_allow_replacement()
1252 link = _dbus_list_get_first_link (&service->owners); in bus_service_get_allow_replacement()
1281 link = _dbus_list_get_first_link (&service->owners); in bus_service_list_queued_owners()
1295 link = _dbus_list_get_next_link (&service->owners, link); in bus_service_list_queued_owners()