Lines Matching refs:usage_count
112 unsigned int usage_count;
116 and when node->usage_count == 0, ie, the lock is not being used.
119 because in that case you know that node->usage_count can't get to
120 zero until you release the lock. It is valid to have usage_count
131 non-recursive locks: they all increase usage_count, and call
137 protected by the node->lock itself) instead of the usage_count
190 new_node->usage_count = 0;
275 node->usage_count++;
290 if (unused_node == NULL && node->usage_count == 0)
304 unused_node->usage_count = 1;
326 new_node->usage_count = 1;
390 node->usage_count--;
442 node->usage_count--;