Lines Matching defs:active_count
138 unsigned long active_count = 0;
145 active_count++; /* report busy to caller, try again? */
150 GEM_BUG_ON(!atomic_read(&tl->active_count));
151 atomic_inc(&tl->active_count); /* pin the list element */
168 active_count++;
175 active_count++;
182 if (atomic_dec_and_test(&tl->active_count))
187 GEM_BUG_ON(atomic_read(&tl->active_count));
197 active_count++;
202 return active_count ? timeout ?: -ETIME : 0;