Home
last modified time | relevance | path

Searched refs:refcount (Results 1 – 2 of 2) sorted by relevance

/system/bt/osi/src/
Dbuffer.c30 size_t refcount; member
45 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()
/system/core/sdcard/
Dsdcard.c141 __u32 refcount; member
263 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()