Home
last modified time | relevance | path

Searched refs:burst (Results 1 – 21 of 21) sorted by relevance

/systemd-251/src/journal/
Djournald-rate-limit.c159 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()
Djournald-server.c2323 .burst = DEFAULT_KMSG_OWN_BURST, in server_init()
/systemd-251/src/network/tc/
Dtbf.c40 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()
Dtbf.h14 uint32_t burst; member
/systemd-251/src/basic/
Dratelimit.h11 unsigned burst; /* RateLimit rl = { INTERVAL, BURST }; */ member
21 return rl->interval > 0 && rl->burst > 0; in ratelimit_configured()
Dratelimit.c30 if (r->num < r->burst) in ratelimit_below()
/systemd-251/src/core/
Ddbus-path.c52 …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()
Dpath.c269 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()
Ddbus-socket.c131 …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()
Dload-fragment-gperf.gperf.in310 …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)
Dsocket.c103 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()
Ddbus-service.c264 …mitBurst", "u", bus_property_get_unsigned, offsetof(Unit, start_ratelimit.burst), SD_BUS_VTABLE_PR…
Ddbus-unit.c943 …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()
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.c1709 .burst = 1, in mount_setup_unit()
/systemd-251/src/libsystemd/sd-event/
Dtest-event.c636 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()
Dsd-event.c4494 _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/
Duserdbd-manager.c91 .burst = 50, in manager_new()
/systemd-251/src/systemd/
Dsd-event.h166 int sd_event_source_set_ratelimit(sd_event_source *s, uint64_t interval_usec, unsigned burst);
/systemd-251/shell-completion/bash/
Dhomectl68 --rate-limit-burst
/systemd-251/
DNEWS11647 start limit interval and burst. These may still be overridden