Lines Matching refs:owner
29 lock->owner = SPINLOCK_OWNER_INIT;
48 lock->owner = SPINLOCK_OWNER_INIT;
57 struct task_struct *owner = READ_ONCE(lock->owner);
59 if (owner == SPINLOCK_OWNER_INIT)
60 owner = NULL;
64 printk(KERN_EMERG " lock: %pS, .magic: %08x, .owner: %s/%d, "
67 owner ? owner->comm : "<none>",
68 owner ? task_pid_nr(owner) : -1,
87 SPIN_BUG_ON(READ_ONCE(lock->owner) == current, lock, "recursion");
95 WRITE_ONCE(lock->owner, current);
102 SPIN_BUG_ON(lock->owner != current, lock, "wrong owner");
105 WRITE_ONCE(lock->owner, SPINLOCK_OWNER_INIT);
187 RWLOCK_BUG_ON(lock->owner == current, lock, "recursion");
195 WRITE_ONCE(lock->owner, current);
201 RWLOCK_BUG_ON(lock->owner != current, lock, "wrong owner");
204 WRITE_ONCE(lock->owner, SPINLOCK_OWNER_INIT);