• Home
  • Raw
  • Download

Lines Matching refs:owner

176 bus_owner_set_flags (BusOwner *owner,  in bus_owner_set_flags()  argument
179 owner->allow_replacement = in bus_owner_set_flags()
182 owner->do_not_queue = in bus_owner_set_flags()
219 bus_owner_ref (BusOwner *owner) in bus_owner_ref() argument
221 _dbus_assert (owner->refcount > 0); in bus_owner_ref()
222 owner->refcount += 1; in bus_owner_ref()
224 return owner; in bus_owner_ref()
228 bus_owner_unref (BusOwner *owner) in bus_owner_unref() argument
230 _dbus_assert (owner->refcount > 0); in bus_owner_unref()
231 owner->refcount -= 1; in bus_owner_unref()
233 if (owner->refcount == 0) in bus_owner_unref()
235 bus_connection_remove_owned_service (owner->conn, owner->service); in bus_owner_unref()
236 _dbus_mem_pool_dealloc (owner->service->registry->owner_pool, owner); in bus_owner_unref()
706 BusOwner *owner) in bus_service_unlink_owner() argument
708 _dbus_list_remove_last (&service->owners, owner); in bus_service_unlink_owner()
709 bus_owner_unref (owner); in bus_service_unlink_owner()
748 BusOwner *owner; /**< the owner */ member
761 bus_service_unlink_owner (d->service, d->owner); in cancel_ownership()
772 dbus_connection_unref (d->owner->conn); in free_ownership_cancel_data()
773 bus_owner_unref (d->owner); in free_ownership_cancel_data()
782 BusOwner *owner) in add_cancel_ownership_to_transaction() argument
791 d->owner = owner; in add_cancel_ownership_to_transaction()
801 bus_owner_ref (owner); in add_cancel_ownership_to_transaction()
802 dbus_connection_ref (d->owner->conn); in add_cancel_ownership_to_transaction()
898 BusOwner *owner; member
946 bus_connection_add_owned_service_link (d->owner->conn, d->service_link); in restore_ownership()
966 dbus_connection_unref (d->owner->conn); in free_ownership_restore_data()
967 bus_owner_unref (d->owner); in free_ownership_restore_data()
976 BusOwner *owner) in add_restore_ownership_to_transaction() argument
986 d->owner = owner; in add_restore_ownership_to_transaction()
988 d->owner_link = _dbus_list_alloc_link (owner); in add_restore_ownership_to_transaction()
992 bus_owner_ref (d->owner); in add_restore_ownership_to_transaction()
993 dbus_connection_ref (d->owner->conn); in add_restore_ownership_to_transaction()
999 if (link->data == owner) in add_restore_ownership_to_transaction()
1222 BusOwner *owner; in bus_service_get_primary_owners_connection() local
1224 owner = bus_service_get_primary_owner (service); in bus_service_get_primary_owners_connection()
1226 if (owner != NULL) in bus_service_get_primary_owners_connection()
1227 return owner->conn; in bus_service_get_primary_owners_connection()
1247 BusOwner *owner; in bus_service_get_allow_replacement() local
1253 owner = (BusOwner *) link->data; in bus_service_get_allow_replacement()
1255 return owner->allow_replacement; in bus_service_get_allow_replacement()
1286 BusOwner *owner; in bus_service_list_queued_owners() local
1289 owner = (BusOwner *) link->data; in bus_service_list_queued_owners()
1290 uname = bus_connection_get_name (owner->conn); in bus_service_list_queued_owners()