Home
last modified time | relevance | path

Searched refs:objs (Results 1 – 3 of 3) sorted by relevance

/trusty/kernel/lib/extmem/include/lib/extmem/
Dextmem.h134 bool ext_mem_insert(struct bst_root* objs, struct ext_mem_obj* obj);
144 static inline void ext_mem_delete(struct bst_root* objs, in ext_mem_delete() argument
146 bst_delete(objs, &obj->node); in ext_mem_delete()
159 struct ext_mem_obj* ext_mem_lookup(struct bst_root* objs, ext_mem_obj_id_t id);
/trusty/kernel/lib/extmem/
Dexternal_memory.c65 bool ext_mem_insert(struct bst_root* objs, struct ext_mem_obj* obj) { in ext_mem_insert() argument
66 return bst_insert(objs, &obj->node, ext_mem_obj_cmp); in ext_mem_insert()
69 struct ext_mem_obj* ext_mem_lookup(struct bst_root* objs, ext_mem_obj_id_t id) { in ext_mem_lookup() argument
72 return bst_search_type(objs, &ref_obj, ext_mem_obj_cmp, struct ext_mem_obj, in ext_mem_lookup()
/trusty/kernel/lib/trusty/
Dvqueue.c260 static bool vqueue_mem_insert(struct bst_root* objs, in vqueue_mem_insert() argument
262 return bst_insert(objs, &obj->node, vqueue_mem_obj_cmp); in vqueue_mem_insert()
265 static struct vqueue_mem_obj* vqueue_mem_lookup(struct bst_root* objs, in vqueue_mem_lookup() argument
269 return bst_search_type(objs, &ref_obj, vqueue_mem_obj_cmp, in vqueue_mem_lookup()
273 static inline void vqueue_mem_delete(struct bst_root* objs, in vqueue_mem_delete() argument
275 bst_delete(objs, &obj->node); in vqueue_mem_delete()