MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_ref_get

Function rt_ref_get

components/utilities/libadt/ref/ref.h:42–45  ·  view source on GitHub ↗

* ref_get * increment reference counter for object. */

Source from the content-addressed store, hash-verified

40 * increment reference counter for object.
41 */
42rt_inline void rt_ref_get(struct rt_ref *r)
43{
44 rt_atomic_add(&r->refcount, 1);
45}
46
47/**
48 * ref_put

Callers 7

rt_pci_ep_getFunction · 0.85
rt_ofw_node_getFunction · 0.85
clk_getFunction · 0.85
gicv3_its_irq_alloc_msiFunction · 0.85
rt_regulator_getFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected