Lines Matching defs:lck
56 static void init_spinlock(spinlock_t *lck);
64 __thr_spinunlock(spinlock_t *lck)
68 _extra = (struct spinlock_extra *)lck->fname;
73 __thr_spinlock(spinlock_t *lck)
81 if (lck->fname == NULL)
82 init_spinlock(lck);
83 _extra = (struct spinlock_extra *)lck->fname;
88 init_spinlock(spinlock_t *lck)
93 if ((lck->fname == NULL) && (spinlock_count < MAX_SPINLOCKS)) {
94 lck->fname = (char *)&extra[spinlock_count];
96 extra[spinlock_count].owner = lck;
100 if (lck->fname == NULL)