Home
last modified time | relevance | path

Searched defs:ref (Results 1 – 19 of 19) sorted by relevance

/trusty/kernel/include/shared/lk/
Dreflist.h44 static inline __ALWAYS_INLINE void obj_ref_init(struct obj_ref* ref) { in obj_ref_init()
48 static inline __ALWAYS_INLINE bool obj_ref_active(struct obj_ref* ref) { in obj_ref_active()
53 struct obj_ref* ref) { in obj_init()
63 struct obj_ref* ref) { in obj_has_only_ref()
82 struct obj* obj, struct obj_ref* ref) { in obj_add_ref_allow_unreferenced_obj()
88 struct obj_ref* ref) { in obj_add_ref()
94 struct obj_ref* ref, in obj_del_ref()
/trusty/kernel/lib/trusty/include/lib/trusty/
Drefcount.h38 static inline __ALWAYS_INLINE void refcount_init(struct refcount* ref) { in refcount_init()
45 static inline __ALWAYS_INLINE void refcount_inc(struct refcount* ref) { in refcount_inc()
51 static inline __ALWAYS_INLINE void refcount_dec(struct refcount* ref, in refcount_dec()
/trusty/kernel/lib/trusty/
Dhandle_set.c91 struct handle_ref* ref) { in hset_detach_ref_locked()
142 struct handle_ref* ref = containerof(w, struct handle_ref, waiter); in hset_waiter_notify() local
154 static int hset_attach_ref(struct handle_set* hset, struct handle_ref* ref) { in hset_attach_ref()
185 struct handle_ref* ref; in hset_find_target() local
210 static int hset_attach_hset(struct handle_set* hset, struct handle_ref* ref) { in hset_attach_hset()
223 int handle_set_attach(struct handle* h, struct handle_ref* ref) { in handle_set_attach()
242 void handle_set_detach_ref(struct handle_ref* ref) { in handle_set_detach_ref()
255 void handle_set_update_ref(struct handle_ref* ref, in handle_set_update_ref()
273 struct handle_ref* ref; in _hset_do_poll() local
Dtrusty_virtio.c118 struct obj_ref* ref) { in release_bus_ref_locked()
124 static void release_bus_ref(struct trusty_virtio_bus* vb, struct obj_ref* ref) { in release_bus_ref()
136 struct obj_ref* ref) { in alloc_new_bus()
160 struct obj_ref* ref) { in create_new_bus()
209 struct obj_ref* ref) { in get_client_bus()
228 struct obj_ref* ref) { in remove_client_bus()
Ductx.c176 struct handle_ref* ref; in remove_handle() local
210 struct handle_ref* ref; in _hset_add_handle() local
245 struct handle_ref* ref; in rebuild_hset_all() local
430 struct handle_ref* ref = list_peek_head_type( in uctx_handle_get_tmp_ref() local
647 struct handle_ref* ref = list_peek_head_type(&ctx->htbl[ret].ref_list, in sys_set_cookie() local
690 struct handle_ref* ref; in _hset_add_item() local
716 struct handle_ref* ref; in _hset_del_item() local
738 struct handle_ref* ref; in _hset_mod_item() local
Dipc.c230 struct obj_ref* ref) { in remove_from_waiting_for_port_list_locked()
498 static inline void __chan_destroy_refobj(struct obj* ref) { in __chan_destroy_refobj()
517 static inline void chan_add_ref(struct ipc_chan* chan, struct obj_ref* ref) { in chan_add_ref()
525 static inline void chan_del_ref(struct ipc_chan* chan, struct obj_ref* ref) { in chan_del_ref()
Dhandle.c60 static void __handle_destroy_ref(struct refcount* ref) { in __handle_destroy_ref()
Dtipc_dev_ql.c67 struct handle_ref* ref; member
340 struct handle_ref* ref; in dev_connect() local
Devent.c273 struct obj_ref* ref) { in event_source_lookup_locked()
Dtipc_virtio_dev.c254 struct obj_ref* ref) { in tipc_ext_mem_initialize()
/trusty/user/app/storage/
Dblock_cache.c823 struct obj_ref* ref, in block_cache_get()
887 struct obj_ref* ref, in block_cache_get_data()
952 struct obj_ref ref; in block_cache_init() local
1139 struct obj_ref* ref) { in block_get_no_read()
1157 struct obj_ref* ref) { in block_get_super()
1183 struct obj_ref* ref) { in block_get_no_tr_fail()
1222 struct obj_ref* ref) { in block_get()
1457 struct obj_ref* ref) { in block_get_write_no_read()
1480 struct obj_ref* ref) { in block_get_write()
1500 struct obj_ref* ref) { in block_get_cleared()
[all …]
Dfile.c376 struct obj_ref* ref) { in file_get_block_etc()
476 struct obj_ref* ref) { in file_get_block()
494 struct obj_ref* ref) { in file_get_block_write()
544 struct obj_ref* ref) { in file_get_info()
1595 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in file_read_size() local
Dclient.c420 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in storage_file_check_name() local
906 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in storage_file_list_iter() local
Dblock_tree.c881 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in block_tree_check_sub_tree() local
1293 struct obj_ref ref[2] = { in block_tree_walk() local
1396 struct obj_ref ref[2] = { in block_tree_path_next() local
1657 struct obj_ref* ref) { in block_tree_block_get_write()
/trusty/user/base/lib/scudo/test/
Dscudo_test.c184 int ref = -1; in TEST_F() local
206 int ref = -1; in TEST_F() local
224 int ref = -1; in TEST_F() local
242 int ref = -1; in TEST_F() local
/trusty/kernel/lib/extmem/
Dexternal_memory.c49 struct obj_ref* ref, in ext_mem_obj_initialize()
/trusty/kernel/app/uirqtest/
Duevt_test.c216 struct handle_ref ref; in TEST_F() local
306 struct handle_ref ref; in TEST_F() local
/trusty/user/app/storage/test/block_host_test/
Dblock_test.c1075 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in file_allocate_all_test() local
1174 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in file_test_open() local
1408 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in file_read_after_delete_test() local
1766 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in file_iterate_many_iter() local
2510 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in select_data_block() local
2664 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in fs_check_sparse_file_test() local
2718 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in fs_persist_needs_full_scan_test() local
/trusty/user/app/storage/test/storage_host_test/
Dstorage_host_test.c96 struct obj_ref ref = OBJ_REF_INITIAL_VALUE(ref); in file_test_open() local