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

Function rt_ref_read

components/utilities/libadt/ref/ref.h:33–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33rt_inline unsigned int rt_ref_read(struct rt_ref *r)
34{
35 return rt_atomic_load(&r->refcount);
36}
37
38/**
39 * ref_get

Callers 9

rt_pci_ep_unregisterFunction · 0.85
dm_power_domain_is_freeFunction · 0.85
rt_ofw_node_destroyFunction · 0.85
rt_ofw_node_getFunction · 0.85
rt_ofw_node_putFunction · 0.85
rt_clk_unregisterFunction · 0.85
rt_regulator_unregisterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected