Lines Matching refs:res_inst_id

416 		if (r->res_instances[i].res_inst_id == path->res_inst_id) {  in path_to_objs()
480 LOG_ERR("res instance %d not found", path->res_inst_id); in lwm2m_set_res_buf()
565 LOG_ERR("res instance %d not found", path->res_inst_id); in lwm2m_engine_set()
573 path->res_inst_id, path->level); in lwm2m_engine_set()
585 res_inst->res_inst_id, &max_data_len); in lwm2m_engine_set()
590 path->obj_inst_id, path->res_id, path->res_inst_id, path->level); in lwm2m_engine_set()
609 ret = res->validate_cb(obj_inst->obj_inst_id, res->res_id, res_inst->res_inst_id, in lwm2m_engine_set()
664 path->res_inst_id, path->level); in lwm2m_engine_set()
716 ret = res->post_write_cb(obj_inst->obj_inst_id, res->res_id, res_inst->res_inst_id, in lwm2m_engine_set()
838 LOG_ERR("res instance %d not found", path->res_inst_id); in lwm2m_get_res_buf()
875 path->res_id, path->res_inst_id, path->level, buf, buflen); in lwm2m_engine_get()
886 LOG_ERR("res instance %d not found", path->res_inst_id); in lwm2m_engine_get()
897 data_ptr = res->read_cb(obj_inst->obj_inst_id, res->res_id, res_inst->res_inst_id, in lwm2m_engine_get()
1151 if (res->res_instances[i].res_inst_id == RES_INSTANCE_NOT_CREATED) { in lwm2m_engine_allocate_resource_instance()
1160 res->res_instances[i].res_inst_id = resource_instance_id; in lwm2m_engine_allocate_resource_instance()
1189 ret = lwm2m_engine_allocate_resource_instance(r, &r_i, path->res_inst_id); in lwm2m_engine_get_create_res_inst()
1223 if (res_inst && res_inst->res_inst_id != RES_INSTANCE_NOT_CREATED) { in lwm2m_create_res_inst()
1224 LOG_ERR("res instance %u already exists", path->res_inst_id); in lwm2m_create_res_inst()
1229 return lwm2m_engine_allocate_resource_instance(res, &res_inst, path->res_inst_id); in lwm2m_create_res_inst()
1249 LOG_ERR("res instance %u not found", path->res_inst_id); in lwm2m_delete_res_inst()
1257 res_inst->res_inst_id = RES_INSTANCE_NOT_CREATED; in lwm2m_delete_res_inst()
1605 LOG_ERR("res instance %d not found", path->res_inst_id); in lwm2m_enable_cache()