Searched refs:index_session (Results 1 – 1 of 1) sorted by relevance
63 static void release_index_session(struct uds_index_session *index_session) in release_index_session() argument65 mutex_lock(&index_session->request_mutex); in release_index_session()66 if (--index_session->request_count == 0) in release_index_session()67 uds_broadcast_cond(&index_session->request_cond); in release_index_session()68 mutex_unlock(&index_session->request_mutex); in release_index_session()75 static int get_index_session(struct uds_index_session *index_session) in get_index_session() argument80 mutex_lock(&index_session->request_mutex); in get_index_session()81 index_session->request_count++; in get_index_session()82 state = index_session->state; in get_index_session()83 mutex_unlock(&index_session->request_mutex); in get_index_session()[all …]