Lines Matching refs:adist_remote_lock
84 static pthread_rwlock_t adist_remote_lock; variable
105 rw_init(&adist_remote_lock); in init_environment()
307 rw_wlock(&adist_remote_lock); in sender_connect()
313 rw_unlock(&adist_remote_lock); in sender_connect()
323 rw_wlock(&adist_remote_lock); in sender_disconnect()
329 rw_unlock(&adist_remote_lock); in sender_disconnect()
340 rw_unlock(&adist_remote_lock); in sender_disconnect()
493 rw_rlock(&adist_remote_lock); in keepalive_send()
495 rw_unlock(&adist_remote_lock); in keepalive_send()
498 rw_unlock(&adist_remote_lock); in keepalive_send()
543 rw_rlock(&adist_remote_lock); in send_thread()
553 rw_unlock(&adist_remote_lock); in send_thread()
563 rw_unlock(&adist_remote_lock); in send_thread()
594 rw_rlock(&adist_remote_lock); in recv_thread()
603 rw_unlock(&adist_remote_lock); in recv_thread()
609 rw_unlock(&adist_remote_lock); in recv_thread()
614 rw_unlock(&adist_remote_lock); in recv_thread()
669 rw_rlock(&adist_remote_lock); in guard_check_connection()
671 rw_unlock(&adist_remote_lock); in guard_check_connection()
681 rw_unlock(&adist_remote_lock); in guard_check_connection()