Lines Matching refs:idr_lock
29 static DEFINE_MUTEX(idr_lock);
202 mutex_lock(&idr_lock); in tpm_default_chip()
214 mutex_unlock(&idr_lock); in tpm_default_chip()
266 mutex_lock(&idr_lock); in tpm_dev_release()
268 mutex_unlock(&idr_lock); in tpm_dev_release()
336 mutex_lock(&idr_lock); in tpm_chip_alloc()
338 mutex_unlock(&idr_lock); in tpm_chip_alloc()
459 mutex_lock(&idr_lock); in tpm_add_char_device()
461 mutex_unlock(&idr_lock); in tpm_add_char_device()
471 mutex_lock(&idr_lock); in tpm_del_char_device()
473 mutex_unlock(&idr_lock); in tpm_del_char_device()