reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1076 return TCR_4(lck->lk.owner_id) - 1; 1080 return lck->lk.depth_locked != -1; 1091 volatile kmp_int32 *head_id_p = &lck->lk.head_id; 1092 volatile kmp_int32 *tail_id_p = &lck->lk.tail_id; 1292 if (lck->lk.initialized != lck) { 1304 lck->lk.owner_id = gtid + 1; 1309 volatile kmp_int32 *head_id_p = &lck->lk.head_id; 1344 if (lck->lk.initialized != lck) { 1354 lck->lk.owner_id = gtid + 1; 1361 volatile kmp_int32 *head_id_p = &lck->lk.head_id; 1362 volatile kmp_int32 *tail_id_p = &lck->lk.tail_id; 1506 if (lck->lk.initialized != lck) { 1518 lck->lk.owner_id = 0; 1523 lck->lk.location = NULL; 1524 lck->lk.head_id = 0; 1525 lck->lk.tail_id = 0; 1526 lck->lk.next_ticket = 0; 1527 lck->lk.now_serving = 0; 1528 lck->lk.owner_id = 0; // no thread owns the lock. 1529 lck->lk.depth_locked = -1; // >= 0 for nestable locks, -1 for simple locks. 1530 lck->lk.initialized = lck; 1536 lck->lk.initialized = NULL; 1537 lck->lk.location = NULL; 1538 lck->lk.head_id = 0; 1539 lck->lk.tail_id = 0; 1540 lck->lk.next_ticket = 0; 1541 lck->lk.now_serving = 0; 1542 lck->lk.owner_id = 0; 1543 lck->lk.depth_locked = -1; 1548 if (lck->lk.initialized != lck) { 1566 lck->lk.depth_locked += 1; 1572 lck->lk.depth_locked = 1; 1574 lck->lk.owner_id = gtid + 1; 1583 if (lck->lk.initialized != lck) { 1598 retval = ++lck->lk.depth_locked; 1603 retval = lck->lk.depth_locked = 1; 1605 lck->lk.owner_id = gtid + 1; 1613 if (lck->lk.initialized != lck) { 1626 if (--(lck->lk.depth_locked) == 0) { 1628 lck->lk.owner_id = 0; 1640 if (lck->lk.initialized != lck) { 1657 lck->lk.depth_locked = 0; // >= 0 for nestable locks, -1 for simple locks 1662 lck->lk.depth_locked = 0; 1668 if (lck->lk.initialized != lck) { 1683 return lck->lk.location; 1688 lck->lk.location = loc; 1692 return lck->lk.flags; 1697 lck->lk.flags = flags; 1970 bool res = lck->lk.head_id == 0;