Lines Matching defs:tokens
27 u64 last_time_ns, tokens, ip;
113 u64 now, tokens;
117 * the burst as part of the maximum tokens, rather than
122 tokens = min_t(u64, TOKEN_MAX,
123 entry->tokens + now -
126 ret = tokens >= PACKET_COST;
127 entry->tokens = ret ? tokens - PACKET_COST : tokens;
147 entry->tokens = TOKEN_MAX - PACKET_COST;