/systemd-251/src/journal/ |
D | journald-rate-limit.c | 159 static unsigned burst_modulate(unsigned burst, uint64_t available) { in burst_modulate() argument 169 return burst; in burst_modulate() 171 burst = (burst * (k-16)) / 4; in burst_modulate() 184 return burst; in burst_modulate() 190 unsigned burst; in journal_ratelimit_test() local 227 burst = burst_modulate(rl_burst, available); in journal_ratelimit_test() 249 if (p->num < burst) { in journal_ratelimit_test()
|
D | journald-server.c | 2323 .burst = DEFAULT_KMSG_OWN_BURST, in server_init()
|
/systemd-251/src/network/tc/ |
D | tbf.c | 40 lim = tbf->rate * (double) tbf->latency / USEC_PER_SEC + tbf->burst; in token_bucket_filter_fill_message() 52 r = tc_transmit_time(opt.rate.rate, tbf->burst, &opt.buffer); in token_bucket_filter_fill_message() 76 r = sd_netlink_message_append_data(req, TCA_TBF_BURST, &tbf->burst, sizeof(tbf->burst)); in token_bucket_filter_fill_message() 149 tbf->burst = 0; in config_parse_token_bucket_filter_size() 172 tbf->burst = k; in config_parse_token_bucket_filter_size() 326 if (tbf->burst == 0) in token_bucket_filter_verify()
|
D | tbf.h | 14 uint32_t burst; member
|
/systemd-251/src/basic/ |
D | ratelimit.h | 11 unsigned burst; /* RateLimit rl = { INTERVAL, BURST }; */ member 21 return rl->interval > 0 && rl->burst > 0; in ratelimit_configured()
|
D | ratelimit.c | 30 if (r->num < r->burst) in ratelimit_below()
|
/systemd-251/src/core/ |
D | dbus-path.c | 52 …LimitBurst", "u", bus_property_get_unsigned, offsetof(Path, trigger_limit.burst), SD_BUS_VTABLE_PR… 141 … return bus_set_transient_unsigned(u, name, &p->trigger_limit.burst, message, flags, error); in bus_path_set_transient_property()
|
D | path.c | 269 p->trigger_limit.burst = UINT_MAX; in path_init() 364 if (p->trigger_limit.burst == UINT_MAX) in path_add_extras() 365 p->trigger_limit.burst = 200; in path_add_extras() 422 prefix, p->trigger_limit.burst); in path_dump()
|
D | dbus-socket.c | 131 …mitBurst", "u", bus_property_get_unsigned, offsetof(Socket, trigger_limit.burst), SD_BUS_VTABLE_PR… 249 … return bus_set_transient_unsigned(u, name, &s->trigger_limit.burst, message, flags, error); in bus_socket_set_transient_property()
|
D | load-fragment-gperf.gperf.in | 310 …ed, 0, offsetof(Unit, start_ratelimit.burst) 401 …ed, 0, offsetof(Unit, start_ratelimit.burst) 483 …ed, 0, offsetof(Socket, trigger_limit.burst) 549 …gned, 0, offsetof(Path, trigger_limit.burst)
|
D | socket.c | 103 s->trigger_limit.burst = UINT_MAX; in socket_init() 313 if (s->trigger_limit.burst == UINT_MAX) { in socket_add_extras() 315 s->trigger_limit.burst = 200; in socket_add_extras() 317 s->trigger_limit.burst = 20; in socket_add_extras() 772 prefix, s->trigger_limit.burst); in socket_dump()
|
D | dbus-service.c | 264 …mitBurst", "u", bus_property_get_unsigned, offsetof(Unit, start_ratelimit.burst), SD_BUS_VTABLE_PR…
|
D | dbus-unit.c | 943 …mitBurst", "u", bus_property_get_unsigned, offsetof(Unit, start_ratelimit.burst), SD_BUS_VTABLE_PR… 2184 … return bus_set_transient_unsigned(u, name, &u->start_ratelimit.burst, message, flags, error); in bus_unit_set_transient_property()
|
D | manager.c | 888 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()
|
D | mount.c | 1709 .burst = 1, in mount_setup_unit()
|
/systemd-251/src/libsystemd/sd-event/ |
D | test-event.c | 636 unsigned count, burst; in TEST() local 644 assert_se(sd_event_source_get_ratelimit(s, &interval, &burst) >= 0); in TEST() 645 assert_se(interval == 1 * USEC_PER_SEC && burst == 5); in TEST()
|
D | sd-event.c | 4494 _public_ int sd_event_source_set_ratelimit(sd_event_source *s, uint64_t interval, unsigned burst) { in sd_event_source_set_ratelimit() argument 4509 s->rate_limit = (RateLimit) { interval, burst }; in sd_event_source_set_ratelimit() 4534 *ret_burst = s->rate_limit.burst; in sd_event_source_get_ratelimit()
|
/systemd-251/src/userdb/ |
D | userdbd-manager.c | 91 .burst = 50, in manager_new()
|
/systemd-251/src/systemd/ |
D | sd-event.h | 166 int sd_event_source_set_ratelimit(sd_event_source *s, uint64_t interval_usec, unsigned burst);
|
/systemd-251/shell-completion/bash/ |
D | homectl | 68 --rate-limit-burst
|
/systemd-251/ |
D | NEWS | 11647 start limit interval and burst. These may still be overridden
|