Searched refs:refcount (Results 1 – 2 of 2) sorted by relevance
31 size_t refcount; member42 buffer->refcount = 1; in buffer_new()61 ret->refcount = SIZE_MAX; in buffer_new_slice()64 ++buf->root->refcount; in buffer_new_slice()75 if (--buffer->root->refcount == 0) in buffer_free()78 } else if (--buffer->refcount == 0) { in buffer_free()
148 __u32 refcount; member270 node->refcount++; in acquire_node_locked()271 TRACE("ACQUIRE %p (%s) rc=%d\n", node, node->name, node->refcount); in acquire_node_locked()278 TRACE("RELEASE %p (%s) rc=%d\n", node, node->name, node->refcount); in release_node_locked()279 if (node->refcount > 0) { in release_node_locked()280 node->refcount--; in release_node_locked()281 if (!node->refcount) { in release_node_locked()1847 global.root.refcount = 2; in run()