Lines Matching refs:kind
198 static Lock* mk_LockN ( LockKind kind, Addr guestaddr ) {
214 lock->kind = kind;
272 switch (lk->kind) {
307 tl_assert(lk->kind == LK_rdwr);
501 space(d+3); VG_(printf)("kind %s\n", show_LockKind(lk->kind));
747 address. If not, create one of the stated 'kind' in unheld state.
1113 kind 'lkk'. */
1158 if (lk->kind != LK_mbRec) {
1210 kind 'lkk'. Only a reader-writer lock can be read-locked,
1297 if (isRDWR && lock->kind != LK_rdwr) {
1301 if ((!isRDWR) && lock->kind == LK_rdwr) {
1351 tl_assert(lock->kind == LK_mbRec
1352 || (lock->kind == LK_rdwr && !lock->heldW));
1362 if (lock->kind == LK_rdwr && lock->heldBy) {
2040 if (lk == NULL || (lk->kind != LK_nonRec && lk->kind != LK_mbRec)) {
2090 if (lk && (lk->kind == LK_rdwr)) {
2097 && (lk->kind == LK_nonRec || lk->kind == LK_rdwr)
2103 kind of thing). Duh. Deadlock coming up; but at least
2390 if (lk->kind == LK_rdwr) {
2449 if (lk->kind == LK_rdwr) {
2600 if (lk == NULL || lk->kind != LK_rdwr) {
2652 && (lk->kind == LK_nonRec || lk->kind == LK_mbRec) ) {
2653 /* Wrong kind of lock. Duh. */