Home
last modified time | relevance | path

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

/linux-6.6.21/lib/
Dbucket_locks.c18 spinlock_t *tlocks = NULL; in __alloc_bucket_spinlocks() local
34 tlocks = kvmalloc_array(size, sizeof(spinlock_t), gfp); in __alloc_bucket_spinlocks()
35 if (!tlocks) in __alloc_bucket_spinlocks()
38 spin_lock_init(&tlocks[i]); in __alloc_bucket_spinlocks()
39 lockdep_init_map(&tlocks[i].dep_map, name, key, 0); in __alloc_bucket_spinlocks()
43 *locks = tlocks; in __alloc_bucket_spinlocks()