Home
last modified time | relevance | path

Searched refs:RateLimit (Results 1 – 25 of 25) sorted by relevance

/systemd-251/src/basic/
Dratelimit.h9 typedef struct RateLimit { struct
14 } RateLimit; argument
16 static inline void ratelimit_reset(RateLimit *rl) { in ratelimit_reset()
20 static inline bool ratelimit_configured(RateLimit *rl) { in ratelimit_configured()
24 bool ratelimit_below(RateLimit *r);
Dratelimit.c11 bool ratelimit_below(RateLimit *r) { in ratelimit_below()
Dfs-util.c919 RateLimit rl; in posix_fallocate_loop()
928 rl = (RateLimit) { 10 * USEC_PER_SEC, 16 }; in posix_fallocate_loop()
Dlog.c527 static thread_local RateLimit ratelimit = { 5 * USEC_PER_SEC, 200 }; in write_to_kmsg()
/systemd-251/src/test/
Dtest-ratelimit.c12 RateLimit ratelimit = { 1 * USEC_PER_SEC, 10 }; in TEST()
21 ratelimit = (RateLimit) { 0, 10 }; in TEST()
/systemd-251/src/userdb/
Duserdbd-manager.h27 RateLimit worker_ratelimit;
/systemd-251/src/import/
Dimport-fs.c36 RateLimit limit;
193 progress.limit = (RateLimit) { 200*USEC_PER_MSEC, 1 }; in import_fs()
Dexport-raw.c52 RateLimit progress_ratelimit;
Dexport-tar.c47 RateLimit progress_ratelimit;
Dimport-tar.c63 RateLimit progress_ratelimit;
Dimport-raw.c61 RateLimit progress_ratelimit;
/systemd-251/src/core/
Dpath.h66 RateLimit trigger_limit;
Dsocket.h161 RateLimit trigger_limit;
Dunit.h262 RateLimit start_ratelimit;
274 RateLimit auto_start_stop_ratelimit;
Dmanager.h428 RateLimit ctrl_alt_del_ratelimit;
Dmanager.c888 m->ctrl_alt_del_ratelimit = (RateLimit) { .interval = 2 * USEC_PER_SEC, .burst = 7 }; in manager_new()
3017 RateLimit rl = { .interval = 1*USEC_PER_SEC, .burst = 50000 }; in manager_loop()
Dmount.c1704 … static RateLimit rate_limit = { /* Let's log about this at warning level at most once every in mount_setup_unit()
Dunit.c128 …u->start_ratelimit = (RateLimit) { m->default_start_limit_interval, m->default_start_limit_burst }; in unit_new()
129 u->auto_start_stop_ratelimit = (RateLimit) { 10 * USEC_PER_SEC, 16 }; in unit_new()
/systemd-251/src/timesync/
Dtimesyncd-manager.h50 RateLimit ratelimit;
Dtimesyncd-manager.c1125 .ratelimit = (RateLimit) { in manager_new()
/systemd-251/src/libsystemd/sd-event/
Devent-source.h78 RateLimit rate_limit;
Dsd-event.c4509 s->rate_limit = (RateLimit) { interval, burst }; in sd_event_source_set_ratelimit()
/systemd-251/src/resolve/
Dresolved-dns-scope.h48 RateLimit ratelimit;
Dresolved-dns-scope.c74 s->ratelimit = (RateLimit) { MULTICAST_RATELIMIT_INTERVAL_USEC, MULTICAST_RATELIMIT_BURST }; in dns_scope_new()
/systemd-251/src/journal/
Djournald-server.h146 RateLimit kmsg_own_ratelimit;