Lines Matching refs:error_code
520 int lwm2m_swmgmt_install_completed(uint16_t obj_inst_id, int error_code) in lwm2m_swmgmt_install_completed() argument
526 if (error_code) { in lwm2m_swmgmt_install_completed()
527 error_code = handle_event(instance, EVENT_INSTALL_FAIL); in lwm2m_swmgmt_install_completed()
529 error_code = handle_event(instance, EVENT_INSTALL_SUCCESSFUL); in lwm2m_swmgmt_install_completed()
532 return error_code; in lwm2m_swmgmt_install_completed()
609 static void set_update_result(uint16_t obj_inst_id, int error_code) in set_update_result() argument
616 if (error_code == 0) { in set_update_result()
636 if (error_code == -ENOMEM) { in set_update_result()
638 } else if (error_code == -ENOSPC) { in set_update_result()
640 } else if (error_code == -EFAULT) { in set_update_result()
642 } else if (error_code == -ENOTSUP) { in set_update_result()
655 int error_code; in package_uri_write_cb() local
668 error_code = lwm2m_pull_context_start_transfer(instance->package_uri, req, K_NO_WAIT); in package_uri_write_cb()
670 if (error_code) { in package_uri_write_cb()
671 return error_code; in package_uri_write_cb()