Lines Matching refs:count
24 fbc->count = amount;
31 s64 count;
36 count = *pcount + amount;
37 if (count >= batch || count <= -batch) {
39 fbc->count += count;
43 *pcount = count;
59 ret = fbc->count;
74 fbc->count = amount;
132 fbc->count += *pcount;
147 s64 count;
149 count = percpu_counter_read(fbc);
150 /* Check to see if rough count will be sufficient for comparison */
151 if (abs(count - rhs) > (percpu_counter_batch*num_online_cpus())) {
152 if (count > rhs)
157 /* Need to use precise count */
158 count = percpu_counter_sum(fbc);
159 if (count > rhs)
161 else if (count < rhs)