Lines Matching refs:refcount
119 /* refcount is the reference count for the following:
124 atomic_t refcount;
444 if (atomic_dec_and_test(&group->refcount)) {
448 atomic_inc(&group->refcount);
577 atomic_inc(&group->refcount);
579 safe_atomic_dec(&group->refcount);
778 atomic_inc(&group->refcount);
865 atomic_inc(&group->refcount);
873 atomic_inc(&group->refcount); /* for the request */
874 atomic_inc(&group->refcount); /* for scheduling the work */
879 safe_atomic_dec(&group->refcount);
913 atomic_inc(&group->refcount);
915 safe_atomic_dec(&group->refcount);
1024 atomic_read(&group->refcount),
1114 if (atomic_read(&group->refcount))
1115 mcg_debug_group(group, "group refcount %d!!! (pointer %p)\n",
1116 atomic_read(&group->refcount), group);
1196 atomic_dec(&group->refcount);
1244 if (atomic_read(&group->refcount)) {