Lines Matching refs:treelock
158 int treelock; member
826 assert(node->treelock == 0); in delete_node()
982 assert(wnode->treelock == TREELOCK_WRITE); in unlock_path()
983 wnode->treelock = 0; in unlock_path()
988 assert(node->treelock != 0); in unlock_path()
989 assert(node->treelock != TREELOCK_WAIT_OFFSET); in unlock_path()
990 assert(node->treelock != TREELOCK_WRITE); in unlock_path()
991 node->treelock--; in unlock_path()
992 if (node->treelock == TREELOCK_WAIT_OFFSET) in unlock_path()
993 node->treelock = 0; in unlock_path()
1028 if (wnode->treelock != 0) { in try_get_path()
1029 if (wnode->treelock > 0) in try_get_path()
1030 wnode->treelock += TREELOCK_WAIT_OFFSET; in try_get_path()
1034 wnode->treelock = TREELOCK_WRITE; in try_get_path()
1051 if (node->treelock < 0) in try_get_path()
1054 node->treelock++; in try_get_path()
1102 if (get_node(f, qe->nodeid1)->treelock == 0) in queue_element_wakeup()
1422 while (node->nlookup == nlookup && node->treelock) { in forget_node()
1432 } while (node->nlookup == nlookup && node->treelock); in forget_node()