Home
last modified time | relevance | path

Searched refs:list_mutex (Results 1 – 18 of 18) sorted by relevance

/hardware/qcom/sm7250/gps/utils/
Dmsg_q.c43 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
116 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
128 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
170 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
202 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
208 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
217 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
246 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
251 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
258 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/sm7150/gps/utils/
Dmsg_q.c43 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
116 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
128 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
170 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
202 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
208 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
217 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
246 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
251 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
258 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/sm8150/gps/utils/
Dmsg_q.c43 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
116 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
128 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
170 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
202 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
208 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
217 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
246 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
251 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
258 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/sm8150p/gps/utils/
Dmsg_q.c41 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
114 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
126 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
168 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
200 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
206 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
215 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
244 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
249 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
256 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/sdm845/gps/sdm845/utils/
Dmsg_q.c41 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
114 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
126 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
168 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
200 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
206 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
215 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
244 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
249 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
256 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/sdm845/gps/msm8998/utils/
Dmsg_q.c41 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
114 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
126 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
168 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
200 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
206 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
215 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
246 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
251 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
258 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/gps/msm8909w_3100/utils/
Dmsg_q.c41 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
114 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
126 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
168 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
200 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
206 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
215 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
244 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
249 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
256 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/sdm845/gps/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
127 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
169 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
201 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
207 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
216 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
247 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
252 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
259 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/gps/msm8998/utils/
Dmsg_q.c41 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
114 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
126 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
168 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
200 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
206 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
215 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
246 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
251 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
258 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/sdm845/gps/msm8909/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
127 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
169 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
201 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
207 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
216 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
247 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
252 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
259 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/gps/msm8994/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
127 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
169 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
201 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
207 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
216 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
247 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
252 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
259 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/gps/msm8996/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
127 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
169 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
201 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
207 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
216 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
247 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
252 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
259 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/gps/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
127 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
169 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
201 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
207 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
216 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
247 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
252 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
259 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/sdm845/gps/msm8960/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
127 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
169 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
201 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
207 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
216 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
247 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
252 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
259 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/gps/msm8909/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
127 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
169 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
201 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
207 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
216 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
247 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
252 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
259 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/sdm845/gps/msm8994/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
127 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
169 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
201 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
207 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
216 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
247 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
252 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
259 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/gps/msm8960/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
127 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
169 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
201 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
207 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
216 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
247 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
252 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
259 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]
/hardware/qcom/gps/msm8084/utils/
Dmsg_q.c42 pthread_mutex_t list_mutex; /* Mutex for exclusive access to message queue */ member
115 if( pthread_mutex_init(&tmp_msg_q->list_mutex, NULL) != 0 ) in msg_q_init()
127 pthread_mutex_destroy(&tmp_msg_q->list_mutex); in msg_q_init()
169 pthread_mutex_destroy(&p_msg_q->list_mutex); in msg_q_destroy()
201 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_snd()
207 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
216 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_snd()
247 pthread_mutex_lock(&p_msg_q->list_mutex); in msg_q_rcv()
252 pthread_mutex_unlock(&p_msg_q->list_mutex); in msg_q_rcv()
259 pthread_cond_wait(&p_msg_q->list_cond, &p_msg_q->list_mutex); in msg_q_rcv()
[all …]