Home
last modified time | relevance | path

Searched refs:refobj (Results 1 – 4 of 4) sorted by relevance

/trusty/kernel/lib/trusty/
Devent.c129 struct obj refobj; member
227 struct event_source* es = containerof(obj, struct event_source, refobj); in event_source_obj_destroy()
267 obj_del_ref(&es->refobj, &es->handle_ref, event_source_obj_destroy); in event_source_destroy()
294 obj_add_ref(&es->refobj, ref); in event_source_lookup_locked()
301 obj_add_ref(&es->refobj, ref); in event_source_lookup_locked()
320 obj_add_ref(&es->refobj, &ec->es_ref); in event_source_attach_client_locked()
449 obj_init(&es->refobj, &es->handle_ref); in event_source_create()
507 obj_del_ref(&es->refobj, &es_tmp_ref, event_source_obj_destroy); in event_source_open()
615 obj_del_ref(&es->refobj, &ec->es_ref, event_source_obj_destroy); in event_client_destroy()
Dtrusty_virtio.c68 struct obj refobj; member
108 containerof_null_safe(obj, struct trusty_virtio_bus, refobj); in signal_client_bus_free()
121 obj_del_ref(&vb->refobj, ref, signal_client_bus_free); in release_bus_ref_locked()
153 obj_init(&new_bus->refobj, ref); in alloc_new_bus()
179 obj_add_ref(&new_bus->refobj, &new_bus->tree_node_ref); in create_new_bus()
189 DEBUG_ASSERT(!obj_has_ref(&new_bus->refobj)); in create_new_bus()
216 obj_add_ref(&vb->refobj, ref); in get_client_bus()
262 DEBUG_ASSERT(!obj_has_ref(&vb->refobj)); in remove_client_bus()
Dipc.c499 struct ipc_chan* chan = containerof(ref, struct ipc_chan, refobj); in __chan_destroy_refobj()
521 obj_add_ref(&chan->refobj, ref); in chan_add_ref()
529 bool last = obj_del_ref(&chan->refobj, ref, NULL); in chan_del_ref()
533 __chan_destroy_refobj(&chan->refobj); in chan_del_ref()
561 obj_init(&chan->refobj, &tmp_ref); in chan_alloc()
/trusty/kernel/lib/trusty/include/lib/trusty/
Dipc.h91 struct obj refobj; member