Searched refs:active_client (Results 1 – 2 of 2) sorted by relevance
32 static struct os_mgmt_client *active_client; variable46 active_client->status = MGMT_ERR_ETIMEOUT; in reset_res_fn()48 active_client->status = MGMT_ERR_EOK; in reset_res_fn()60 active_client = client; in os_mgmt_client_reset()62 nb = smp_client_buf_allocation(active_client->smp_client, MGMT_GROUP_ID_OS, in os_mgmt_client_reset()65 active_client->status = MGMT_ERR_ENOMEM; in os_mgmt_client_reset()69 rc = smp_client_send_cmd(active_client->smp_client, nb, reset_res_fn, in os_mgmt_client_reset()72 active_client->status = rc; in os_mgmt_client_reset()79 rc = active_client->status; in os_mgmt_client_reset()80 active_client = NULL; in os_mgmt_client_reset()[all …]
35 static struct img_mgmt_client *active_client; variable70 buf_len = active_client->image_list_length; in image_state_res_fn()166 active_client->image_list_length); in image_state_res_fn()213 active_client->upload.offset = image_upload_buf->image_upload_offset; in image_upload_res_fn()232 active_client->status = MGMT_ERR_ETIMEOUT; in erase_res_fn()241 active_client->status = MGMT_ERR_EINVAL; in erase_res_fn()244 active_client->status = status; in erase_res_fn()246 rc = active_client->status; in erase_res_fn()343 active_client = client; in img_mgmt_client_upload()352 (active_client->upload.upload_header_size + MGMT_HDR_SIZE + 2U + 2U); in img_mgmt_client_upload()[all …]