Searched refs:client_idx (Results 1 – 3 of 3) sorted by relevance
52 int client_idx = GET_CLIENT_IDX(job_id); in mm_jpeg_get_session() local56 client_idx, session_idx); in mm_jpeg_get_session()58 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpeg_get_session()63 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_session()64 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_get_session()65 pthread_mutex_unlock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_session()82 static inline int mm_jpeg_get_new_session_idx(mm_jpeg_obj *my_obj, int client_idx, in mm_jpeg_get_new_session_idx() argument88 pthread_mutex_lock(&my_obj->clnt_mgr[client_idx].lock); in mm_jpeg_get_new_session_idx()89 if (!my_obj->clnt_mgr[client_idx].session[i].active) { in mm_jpeg_get_new_session_idx()90 *pp_session = &my_obj->clnt_mgr[client_idx].session[i]; in mm_jpeg_get_new_session_idx()[all …]
735 uint8_t client_idx = 0; in mm_jpegdec_start_decode_job() local744 client_idx = GET_CLIENT_IDX(p_jobparams->session_id); in mm_jpegdec_start_decode_job()746 session_idx, client_idx); in mm_jpegdec_start_decode_job()749 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpegdec_start_decode_job()755 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpegdec_start_decode_job()
2734 uint8_t client_idx = 0; in mm_jpeg_start_job() local2751 client_idx = GET_CLIENT_IDX(p_jobparams->session_id); in mm_jpeg_start_job()2753 session_idx, client_idx); in mm_jpeg_start_job()2756 (client_idx >= MAX_JPEG_CLIENT_NUM)) { in mm_jpeg_start_job()2762 p_session = &my_obj->clnt_mgr[client_idx].session[session_idx]; in mm_jpeg_start_job()2862 session_idx, client_idx, *job_id); in mm_jpeg_start_job()