Lines Matching defs:owner
76 static int owner_rw(const struct lock_object *lock, struct thread **owner);
132 * Returns if a write owner is recursed. Write ownership is not assured
190 owner_rw(const struct lock_object *lock, struct thread **owner)
195 *owner = rw_wowner(rw);
197 (*owner != NULL));
427 struct thread *owner;
487 * If the owner is running on another CPU, spin until
488 * the owner stops running or the state of the lock
492 owner = (struct thread *)RW_OWNER(v);
493 if (TD_IS_RUNNING(owner)) {
497 __func__, rw, owner);
504 owner = lv_rw_wowner(v);
505 } while (owner != NULL && TD_IS_RUNNING(owner));
551 owner = lv_rw_wowner(v);
555 * The current lock owner might have started executing
561 if (owner != NULL) {
562 if (TD_IS_RUNNING(owner)) {
599 MPASS(owner == rw_owner(rw));
600 turnstile_wait(ts, owner, TS_SHARED_QUEUE);
629 * TODO: acquire "owner of record" here. Here be turnstile dragons
883 struct thread *owner;
970 * If the lock is write locked and the owner is
971 * running on another CPU, spin until the owner stops
976 owner = lv_rw_wowner(v);
977 if (!TD_IS_RUNNING(owner))
981 __func__, rw, owner);
988 owner = lv_rw_wowner(v);
989 } while (owner != NULL && TD_IS_RUNNING(owner));
1027 owner = lv_rw_wowner(v);
1031 * The current lock owner might have started executing
1037 if (owner != NULL) {
1038 if (TD_IS_RUNNING(owner)) {
1089 MPASS(owner == rw_owner(rw));
1090 turnstile_wait(ts, owner, TS_EXCLUSIVE_QUEUE);