Lines Matching refs:mux
67 if (mutex_trylock(&(*msg_ctx)->mux)) { in ecryptfs_acquire_free_msg_ctx()
155 mutex_init(&(*daemon)->mux); in ecryptfs_spawn_daemon()
176 mutex_lock(&daemon->mux); in ecryptfs_exorcise_daemon()
180 mutex_unlock(&daemon->mux); in ecryptfs_exorcise_daemon()
192 mutex_unlock(&daemon->mux); in ecryptfs_exorcise_daemon()
236 mutex_lock(&msg_ctx->mux); in ecryptfs_process_response()
261 mutex_unlock(&msg_ctx->mux); in ecryptfs_process_response()
297 mutex_unlock(&(*msg_ctx)->mux); in ecryptfs_send_message_locked()
350 mutex_lock(&msg_ctx->mux); in ecryptfs_wait_for_response()
353 mutex_unlock(&msg_ctx->mux); in ecryptfs_wait_for_response()
363 mutex_unlock(&msg_ctx->mux); in ecryptfs_wait_for_response()
410 mutex_init(&ecryptfs_msg_ctx_arr[i].mux); in ecryptfs_init_messaging()
411 mutex_lock(&ecryptfs_msg_ctx_arr[i].mux); in ecryptfs_init_messaging()
419 mutex_unlock(&ecryptfs_msg_ctx_arr[i].mux); in ecryptfs_init_messaging()
436 mutex_lock(&ecryptfs_msg_ctx_arr[i].mux); in ecryptfs_release_messaging()
438 mutex_unlock(&ecryptfs_msg_ctx_arr[i].mux); in ecryptfs_release_messaging()