Lines Matching refs:idr_lock
29 static DEFINE_MUTEX(idr_lock);
210 mutex_lock(&idr_lock); in tpm_default_chip()
222 mutex_unlock(&idr_lock); in tpm_default_chip()
274 mutex_lock(&idr_lock); in tpm_dev_release()
276 mutex_unlock(&idr_lock); in tpm_dev_release()
338 mutex_lock(&idr_lock); in tpm_chip_alloc()
340 mutex_unlock(&idr_lock); in tpm_chip_alloc()
439 mutex_lock(&idr_lock); in tpm_add_char_device()
441 mutex_unlock(&idr_lock); in tpm_add_char_device()
455 mutex_lock(&idr_lock); in tpm_del_char_device()
457 mutex_unlock(&idr_lock); in tpm_del_char_device()