Lines Matching refs:obj_inst
223 struct lwm2m_engine_obj_inst *obj_inst = NULL; in engine_observe_get_attributes() local
246 obj_inst = get_engine_obj_inst(path->obj_id, path->obj_inst_id); in engine_observe_get_attributes()
247 if (!obj_inst) { in engine_observe_get_attributes()
253 ret = update_attrs(obj_inst, attrs); in engine_observe_get_attributes()
261 for (i = 0; i < obj_inst->resource_count; i++) { in engine_observe_get_attributes()
262 if (obj_inst->resources[i].res_id == path->res_id) { in engine_observe_get_attributes()
267 if (i == obj_inst->resource_count) { in engine_observe_get_attributes()
274 obj_field = lwm2m_get_engine_obj_field(obj, obj_inst->resources[i].res_id); in engine_observe_get_attributes()
286 ret = update_attrs(&obj_inst->resources[i], attrs); in engine_observe_get_attributes()
982 struct lwm2m_engine_obj_inst *obj_inst; in lwm2m_get_path_reference_ptr() local
999 obj_inst = get_engine_obj_inst(path->obj_id, path->obj_inst_id); in lwm2m_get_path_reference_ptr()
1000 if (!obj_inst) { in lwm2m_get_path_reference_ptr()
1004 *ref = obj_inst; in lwm2m_get_path_reference_ptr()