Lines Matching refs:obj

833 	struct lwm2m_engine_obj *obj;  in lwm2m_register_payload_handler()  local
844 SYS_SLIST_FOR_EACH_CONTAINER(engine_obj_list, obj, node) { in lwm2m_register_payload_handler()
846 if (obj->obj_id == LWM2M_OBJECT_SECURITY_ID) { in lwm2m_register_payload_handler()
853 if (obj->instance_count == 0U || lwm2m_engine_shall_report_obj_version(obj)) { in lwm2m_register_payload_handler()
854 ret = engine_put_corelink(&msg->out, &LWM2M_OBJ(obj->obj_id)); in lwm2m_register_payload_handler()
859 if (obj->instance_count == 0U) { in lwm2m_register_payload_handler()
865 if (obj_inst->obj->obj_id == obj->obj_id) { in lwm2m_register_payload_handler()
868 &LWM2M_OBJ(obj_inst->obj->obj_id, obj_inst->obj_inst_id)); in lwm2m_register_payload_handler()
1504 temp_path.obj_id = obj_inst->obj->obj_id; in lwm2m_read_handler()
1728 obj_field = lwm2m_get_engine_obj_field(obj_inst->obj, res->res_id); in lwm2m_perform_read_object_instance()
1860 &msg->out, &LWM2M_OBJ(obj_inst->obj->obj_id, obj_inst->obj_inst_id, res->res_id)); in lwm2m_discover_add_res()
1876 &msg->out, &LWM2M_OBJ(obj_inst->obj->obj_id, obj_inst->obj_inst_id, in lwm2m_discover_add_res()
1889 struct lwm2m_engine_obj *obj; in lwm2m_discover_handler() local
1929 SYS_SLIST_FOR_EACH_CONTAINER(engine_obj_list, obj, node) { in lwm2m_discover_handler()
1931 if (msg->path.level > 0 && msg->path.obj_id != obj->obj_id) { in lwm2m_discover_handler()
1942 (obj->instance_count == 0U || lwm2m_engine_shall_report_obj_version(obj))) || in lwm2m_discover_handler()
1944 ret = engine_put_corelink(&msg->out, &LWM2M_OBJ(obj->obj_id)); in lwm2m_discover_handler()
1951 if (obj->instance_count == 0U) { in lwm2m_discover_handler()
1957 if (obj_inst->obj->obj_id != obj->obj_id) { in lwm2m_discover_handler()
1973 &LWM2M_OBJ(obj_inst->obj->obj_id, obj_inst->obj_inst_id)); in lwm2m_discover_handler()
2310 struct lwm2m_engine_obj *obj = NULL; in handle_request() local
2418 obj = get_engine_obj(msg->path.obj_id); in handle_request()
2419 if (!obj) { in handle_request()
2577 r = lwm2m_write_attr_handler(obj, msg); in handle_request()
3200 struct lwm2m_engine_obj *obj; in lwm2m_perform_composite_read_root() local
3204 SYS_SLIST_FOR_EACH_CONTAINER(engine_obj_list, obj, node) { in lwm2m_perform_composite_read_root()
3206 if (obj->obj_id == LWM2M_OBJECT_SECURITY_ID) { in lwm2m_perform_composite_read_root()
3211 msg->path.obj_id = obj->obj_id; in lwm2m_perform_composite_read_root()