Home
last modified time | relevance | path

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

/freebsd-14.2/lib/libthr/thread/
H A Dthr_spinlock.c53 static int spinlock_count; variable
93 if ((lck->thr_extra == NULL) && (spinlock_count < MAX_SPINLOCKS)) { in init_spinlock()
94 lck->thr_extra = &extra[spinlock_count]; in init_spinlock()
95 _thr_umutex_init(&extra[spinlock_count].lock); in init_spinlock()
96 extra[spinlock_count].owner = lck; in init_spinlock()
97 spinlock_count++; in init_spinlock()
119 for (i = 0; i < spinlock_count; i++) in _thr_spinlock_init()