Lines Matching defs:ref_count
39 int32 ref_count; // reference count of get_module() made on this module
46 int32 ref_count; // reference count of get_module() made using this addon
111 atomic_add(&m->addon->ref_count, 1);
113 if (atomic_add(&m->ref_count, 1) == 0) {
136 if (atomic_add(&m->ref_count, -1) <= 1)
144 if (atomic_add(&m->addon->ref_count, -1) > 1)
176 if (m->ref_count)
257 atomic_add(&mlc->ma->ref_count, -1);
322 atomic_add(&mlc->ma->ref_count, 1);
356 atomic_add(&mlc->ma->ref_count, -1);
456 ma->ref_count = 0;
470 m->ref_count = 0;
553 if (ma->ref_count)