Lines Matching refs:obj
718 struct lwm2m_engine_obj *obj; in print_object_instance() local
724 obj = oi->obj; in print_object_instance()
735 lwm2m_get_engine_obj_field(obj, re->res_id); in print_object_instance()
743 snprintf(path, sizeof(path), "%hu/%hu/%hu/%hu", obj->obj_id, in print_object_instance()
746 snprintf(path, sizeof(path), "%hu/%hu/%hu", obj->obj_id, in print_object_instance()
785 static int print_object(const struct shell *sh, struct lwm2m_engine_obj *obj) in print_object() argument
787 if (!obj) { in print_object()
790 struct lwm2m_engine_obj_inst *oi = next_engine_obj_inst(obj->obj_id, -1); in print_object()
792 for (int i = 0; i < obj->instance_count; i++) { in print_object()
794 oi = next_engine_obj_inst(obj->obj_id, oi->obj_inst_id); in print_object()
801 struct lwm2m_engine_obj *obj; in print_all_objs() local
803 SYS_SLIST_FOR_EACH_CONTAINER(lwm2m_engine_obj_list(), obj, node) { in print_all_objs()
804 print_object(sh, obj); in print_all_objs()
826 struct lwm2m_engine_obj *obj = lwm2m_engine_get_obj(&path); in cmd_ls() local
828 return print_object(sh, obj); in cmd_ls()