Lines Matching defs:cur
246 atomic_t cur;
258 unsigned int cur = atomic_inc_return(&log->cur);
260 if (cur >= ARRAY_SIZE(log->entry))
262 e = &log->entry[cur % ARRAY_SIZE(log->entry)];
6627 unsigned int log_cur = atomic_read(&log->cur);
6629 unsigned int cur;
6633 cur = count < ARRAY_SIZE(log->entry) && !log->full ?
6638 unsigned int index = cur++ % ARRAY_SIZE(log->entry);
6882 atomic_set(&binder_transaction_log.cur, ~0U);
6883 atomic_set(&binder_transaction_log_failed.cur, ~0U);