Searched refs:refcount (Results 1 – 2 of 2) sorted by relevance
30 size_t refcount; member45 buffer->refcount = 1; in buffer_new()68 ret->refcount = SIZE_MAX; in buffer_new_slice()71 ++buf->root->refcount; in buffer_new_slice()82 if (--buffer->root->refcount == 0) in buffer_free()85 } else if (--buffer->refcount == 0) { in buffer_free()
141 __u32 refcount; member263 node->refcount++; in acquire_node_locked()264 TRACE("ACQUIRE %p (%s) rc=%d\n", node, node->name, node->refcount); in acquire_node_locked()271 TRACE("RELEASE %p (%s) rc=%d\n", node, node->name, node->refcount); in release_node_locked()272 if (node->refcount > 0) { in release_node_locked()273 node->refcount--; in release_node_locked()274 if (!node->refcount) { in release_node_locked()1800 global.root.refcount = 2; in run()