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)));
315 static int _isitmyx(struct witness *w1, struct witness *w2, int rmask,
1924 * expected relationship of w1 to w2.
1927 _isitmyx(struct witness *w1, struct witness *w2, int rmask, const char *fname)
1933 i2 = w2->w_index;
1945 fname, w1->w_name, i1, w2->w_name, i2, i1, i2, r1,
1977 blessed(struct witness *w1, struct witness *w2)
1985 if (strcmp(w2->w_name, b->b_lock2) == 0)
1990 if (strcmp(w2->w_name, b->b_lock1) == 0)
2418 struct witness *tmp_w1, *tmp_w2, *w1, *w2;
2493 w2 = &w_data[j];
2494 data1 = witness_lock_order_get(w1, w2);
2495 data2 = witness_lock_order_get(w2, w1);
2501 *tmp_w2 = *w2;