Lines Matching defs:w2
300 witness_lock_type_equal(struct witness *w1, struct witness *w2)
304 (w2->w_class->lc_flags & (LC_SLEEPLOCK | LC_SPINLOCK)));
322 static int _isitmyx(struct witness *w1, struct witness *w2, int rmask,
1982 * expected relationship of w1 to w2.
1985 _isitmyx(struct witness *w1, struct witness *w2, int rmask, const char *fname)
1991 i2 = w2->w_index;
2003 fname, w1->w_name, i1, w2->w_name, i2, i1, i2, r1,
2035 blessed(struct witness *w1, struct witness *w2)
2043 if (strcmp(w2->w_name, b->b_lock2) == 0)
2048 if (strcmp(w2->w_name, b->b_lock1) == 0)
2486 struct witness *tmp_w1, *tmp_w2, *w1, *w2;
2561 w2 = &w_data[j];
2562 data1 = witness_lock_order_get(w1, w2);
2563 data2 = witness_lock_order_get(w2, w1);
2569 *tmp_w2 = *w2;