Lines Matching refs:obj

123 	struct k_object *obj = k_object_find(stack);  in z_priv_stack_find()  local
125 __ASSERT(obj != NULL, "stack object not found"); in z_priv_stack_find()
126 __ASSERT(obj->type == K_OBJ_THREAD_STACK_ELEMENT, in z_priv_stack_find()
129 return obj->data.stack_data->priv; in z_priv_stack_find()
177 extern struct k_object *z_object_gperf_find(const void *obj);
225 static struct dyn_obj *dyn_object_find(const void *obj) in dyn_object_find() argument
238 if (node->kobj.name == obj) { in dyn_object_find()
387 struct k_object *obj = dynamic_object_create(K_OBJ_ANY, align, size); in k_object_create_dynamic_aligned() local
389 if (obj == NULL) { in k_object_create_dynamic_aligned()
393 return obj; in k_object_create_dynamic_aligned()
460 void k_object_free(void *obj) in k_object_free() argument
471 dyn = dyn_object_find(obj); in k_object_free()
487 struct k_object *k_object_find(const void *obj) in k_object_find() argument
491 ret = z_object_gperf_find(obj); in k_object_find()
500 dyn = dyn_object_find(obj); in k_object_find()
511 struct dyn_obj *obj, *next; in k_object_wordlist_foreach() local
517 SYS_DLIST_FOR_EACH_CONTAINER_SAFE(&obj_list, obj, next, dobj_list) { in k_object_wordlist_foreach()
518 func(&obj->kobj, context); in k_object_wordlist_foreach()
673 void k_object_dump_error(int retval, const void *obj, struct k_object *ko, in k_object_dump_error() argument
678 LOG_ERR("%p is not a valid %s", obj, otype_to_str(otype)); in k_object_dump_error()
690 LOG_ERR("%p used before initialization", obj); in k_object_dump_error()
693 LOG_ERR("%p %s in use", obj, otype_to_str(otype)); in k_object_dump_error()
766 void k_object_init(const void *obj) in k_object_init() argument
778 ko = k_object_find(obj); in k_object_init()
791 void k_object_recycle(const void *obj) in k_object_recycle() argument
793 struct k_object *ko = k_object_find(obj); in k_object_recycle()
802 void k_object_uninit(const void *obj) in k_object_uninit() argument
807 ko = k_object_find(obj); in k_object_uninit()