Home
last modified time | relevance | path

Searched refs:n_vclocks_mux (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/ptp/
H A Dptp_sysfs.c193 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()
H A Dptp_private.h61 struct mutex n_vclocks_mux; /* protect concurrent n_vclocks access */ member
103 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()
H A Dptp_vclock.c250 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()
H A Dptp_clock.c197 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()