Lines Matching refs:primary_owner
392 BusOwner *primary_owner; in bus_registry_acquire_service() local
490 primary_owner = bus_service_get_primary_owner (service); in bus_registry_acquire_service()
491 if (primary_owner != NULL) in bus_registry_acquire_service()
492 old_owner_conn = primary_owner->conn; in bus_registry_acquire_service()
508 primary_owner = bus_service_get_primary_owner (service); in bus_registry_acquire_service()
509 if (primary_owner == NULL) in bus_registry_acquire_service()
514 _dbus_assert (primary_owner->conn == connection); in bus_registry_acquire_service()
520 bus_owner_set_flags (primary_owner, flags); in bus_registry_acquire_service()
570 if (primary_owner->do_not_queue) in bus_registry_acquire_service()
1032 BusOwner *primary_owner; in bus_service_swap_owner() local
1041 primary_owner = bus_service_get_primary_owner (service); in bus_service_swap_owner()
1042 if (primary_owner == NULL || primary_owner->conn != connection) in bus_service_swap_owner()
1085 if (!add_restore_ownership_to_transaction (transaction, service, primary_owner)) in bus_service_swap_owner()
1109 BusOwner *primary_owner; in bus_service_remove_owner() local
1118 primary_owner = bus_service_get_primary_owner (service); in bus_service_remove_owner()
1119 if (primary_owner != NULL && primary_owner->conn == connection) in bus_service_remove_owner()
1179 if (!add_restore_ownership_to_transaction (transaction, service, primary_owner)) in bus_service_remove_owner()
1185 bus_service_unlink_owner (service, primary_owner); in bus_service_remove_owner()