lk_holder 59 kern/include/spinlock.h struct cpu *lk_holder; /* CPU holding this lock. */
lk_holder 52 kern/thread/spinlock.c lk->lk_holder = NULL;
lk_holder 61 kern/thread/spinlock.c KASSERT(lk->lk_holder == NULL);
lk_holder 82 kern/thread/spinlock.c if (lk->lk_holder == mycpu) {
lk_holder 110 kern/thread/spinlock.c lk->lk_holder = mycpu;
lk_holder 121 kern/thread/spinlock.c KASSERT(lk->lk_holder == curcpu->c_self);
lk_holder 124 kern/thread/spinlock.c lk->lk_holder = NULL;
lk_holder 140 kern/thread/spinlock.c return (lk->lk_holder == curcpu->c_self);