Lines Matching refs:JournalRateLimitGroup
29 typedef struct JournalRateLimitGroup JournalRateLimitGroup; typedef
37 struct JournalRateLimitGroup { struct
48 LIST_FIELDS(JournalRateLimitGroup, bucket); argument
49 LIST_FIELDS(JournalRateLimitGroup, lru);
54 JournalRateLimitGroup* buckets[BUCKETS_MAX];
55 JournalRateLimitGroup *lru, *lru_tail;
74 static void journal_ratelimit_group_free(JournalRateLimitGroup *g) { in journal_ratelimit_group_free()
102 static bool journal_ratelimit_group_expired(JournalRateLimitGroup *g, usec_t ts) { in journal_ratelimit_group_expired()
125 static JournalRateLimitGroup* journal_ratelimit_group_new(JournalRateLimit *r, const char *id, usec… in journal_ratelimit_group_new()
126 JournalRateLimitGroup *g; in journal_ratelimit_group_new()
131 g = new0(JournalRateLimitGroup, 1); in journal_ratelimit_group_new()
188 JournalRateLimitGroup *g, *found = NULL; in journal_ratelimit_test()