Lines Matching refs:ref_count
56 unsigned int ref_count;
405 if (resource->ref_count++) {
411 resource->ref_count--;
448 if (!resource->ref_count) {
454 if (--resource->ref_count) {
460 resource->ref_count++;
631 if (!resource->ref_count &&
907 return sprintf(buf, "%u\n", !!resource->ref_count);
1051 && resource->ref_count) {
1147 if (!resource->ref_count &&