| 26 | #define RT_REF_INIT(n) { .refcount = n, } |
| 27 | |
| 28 | rt_inline void rt_ref_init(struct rt_ref *r) |
| 29 | { |
| 30 | rt_atomic_store(&r->refcount, 1); |
| 31 | } |
| 32 | |
| 33 | rt_inline unsigned int rt_ref_read(struct rt_ref *r) |
| 34 | { |
no outgoing calls
no test coverage detected