Lines Matching refs:ref_count
96 int32 ref_count; // how many ref's to this file
107 int32 ref_count;
108 module_info* info; // will only be valid if ref_count > 0
426 moduleImage->ref_count = 0;
453 if (moduleImage->ref_count != 0) {
455 moduleImage->path, moduleImage->ref_count));
475 int32 refCount = atomic_add(&image->ref_count, -1);
502 atomic_add(&image->ref_count, 1);
546 module->ref_count = 0;
590 if (module->module_image == NULL && module->ref_count == 0) {
819 module->ref_count++;
1130 moduleImage->ref_count = 0;
1167 module->offset, module->ref_count, module->state,
1178 image->ref_count);
1865 if (module->ref_count == 0
1884 if (image->ref_count == 0) {
2207 && module->ref_count == 0) {
2211 atomic_add(&module->module_image->ref_count, 1);
2216 if (module->ref_count == 0) {
2221 module->ref_count++;
2226 ASSERT(module->ref_count >= 0);
2227 module->ref_count++;
2230 && module->ref_count == 0) {
2257 if (module->ref_count == 0) {
2262 if (--module->ref_count == 0) {
2266 module->ref_count++;
2273 && module->ref_count == 0) {