Searched refs:n_vclocks_mux (Results 1 – 4 of 4) sorted by relevance
193 if (mutex_lock_interruptible(&ptp->n_vclocks_mux)) in n_vclocks_show()198 mutex_unlock(&ptp->n_vclocks_mux); in n_vclocks_show()215 if (mutex_lock_interruptible(&ptp->n_vclocks_mux)) in n_vclocks_store()257 mutex_unlock(&ptp->n_vclocks_mux); in n_vclocks_store()261 mutex_unlock(&ptp->n_vclocks_mux); in n_vclocks_store()293 if (mutex_lock_interruptible(&ptp->n_vclocks_mux)) in max_vclocks_store()312 mutex_unlock(&ptp->n_vclocks_mux); in max_vclocks_store()316 mutex_unlock(&ptp->n_vclocks_mux); in max_vclocks_store()
61 struct mutex n_vclocks_mux; /* protect concurrent n_vclocks access */ member103 if (mutex_lock_interruptible(&ptp->n_vclocks_mux)) in ptp_vclock_in_use()109 mutex_unlock(&ptp->n_vclocks_mux); in ptp_vclock_in_use()
250 if (mutex_lock_interruptible(&ptp->n_vclocks_mux)) { in ptp_get_vclocks_index()262 mutex_unlock(&ptp->n_vclocks_mux); in ptp_get_vclocks_index()
197 mutex_destroy(&ptp->n_vclocks_mux); in ptp_clock_release()278 mutex_init(&ptp->n_vclocks_mux); in ptp_clock_register()382 mutex_destroy(&ptp->n_vclocks_mux); in ptp_clock_register()