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

Function _anon_obj_get_reference

components/mm/mm_anon.c:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42rt_inline rt_atomic_t *_anon_obj_get_reference(rt_mem_obj_t mobj)
43{
44 rt_private_ctx_t pctx;
45 pctx = rt_container_of(mobj, struct rt_private_ctx, mem_obj);
46 return &pctx->reference;
47}
48
49rt_inline rt_private_ctx_t _anon_mobj_to_pctx(rt_mem_obj_t mobj)
50{

Callers 3

rt_aspace_anon_ref_incFunction · 0.85
rt_aspace_anon_ref_decFunction · 0.85
rt_aspace_forkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected