Searched refs:ratelimit (Results 1 – 14 of 14) sorted by relevance
/systemd-251/src/test/ |
D | test-ratelimit.c | 12 RateLimit ratelimit = { 1 * USEC_PER_SEC, 10 }; in TEST() local 15 assert_se(ratelimit_below(&ratelimit)); in TEST() 16 assert_se(!ratelimit_below(&ratelimit)); in TEST() 19 assert_se(ratelimit_below(&ratelimit)); in TEST() 21 ratelimit = (RateLimit) { 0, 10 }; in TEST() 23 assert_se(ratelimit_below(&ratelimit)); in TEST()
|
D | meson.build | 206 [files('test-ratelimit.c')],
|
/systemd-251/src/timesync/ |
D | timesyncd-manager.h | 50 RateLimit ratelimit; member
|
D | timesyncd-manager.c | 801 if (!ratelimit_below(&m->ratelimit)) { in manager_connect() 1125 .ratelimit = (RateLimit) { in manager_new()
|
/systemd-251/src/resolve/ |
D | resolved-dns-scope.h | 48 RateLimit ratelimit; member
|
D | resolved-dns-scope.c | 74 s->ratelimit = (RateLimit) { MULTICAST_RATELIMIT_INTERVAL_USEC, MULTICAST_RATELIMIT_BURST }; in dns_scope_new() 261 if (!ratelimit_below(&s->ratelimit)) in dns_scope_emit_one() 286 if (!ratelimit_below(&s->ratelimit)) in dns_scope_emit_one() 1049 if (!ratelimit_below(&s->ratelimit)) in dns_scope_process_query()
|
D | resolved-mdns.c | 338 if (!ratelimit_below(&s->ratelimit)) in mdns_scope_process_query()
|
/systemd-251/src/journal/ |
D | journald-server.h | 100 JournalRateLimit *ratelimit; member
|
D | journald-server.c | 1135 …rl = journal_ratelimit_test(s->ratelimit, c->unit, c->log_ratelimit_interval, c->log_ratelimit_bur… in server_dispatch_message() 2500 s->ratelimit = journal_ratelimit_new(); in server_init() 2501 if (!s->ratelimit) in server_init() 2601 if (s->ratelimit) in server_done() 2602 journal_ratelimit_free(s->ratelimit); in server_done()
|
/systemd-251/src/basic/ |
D | meson.build | 193 'ratelimit.c', 194 'ratelimit.h',
|
D | log.c | 527 static thread_local RateLimit ratelimit = { 5 * USEC_PER_SEC, 200 }; in write_to_kmsg() local 535 if (!ratelimit_below(&ratelimit)) in write_to_kmsg()
|
/systemd-251/src/libsystemd/sd-event/ |
D | test-event.c | 631 TEST(ratelimit) { in TEST() argument
|
/systemd-251/ |
D | TODO | 284 priority, but leave enabled, and once ratelimit window is over, upgrade 1072 * make sure the ratelimit object can deal with USEC_INFINITY as way to turn off things 1477 - journald: when dropping msgs due to ratelimit make sure to write 1497 - when a kernel driver logs in a tight loop, we should ratelimit that too.
|
D | NEWS | 790 settings that default to 200 and 2 s respectively. The ratelimit
|