Home
last modified time | relevance | path

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

12

/systemd-251/src/journal/
Djournald-rate-limit.c43 usec_t interval; member
108 if (g->pools[i].begin + g->interval >= ts) in journal_ratelimit_group_expired()
125 …oup* journal_ratelimit_group_new(JournalRateLimit *r, const char *id, usec_t interval, usec_t ts) { in journal_ratelimit_group_new() argument
141 g->interval = interval; in journal_ratelimit_group_new()
222 found->interval = rl_interval; in journal_ratelimit_test()
/systemd-251/src/basic/
Dgunicode.c45 struct Interval *interval = (struct Interval *)elt; in interval_compare() local
47 if (c < interval->start) in interval_compare()
49 if (c > interval->end) in interval_compare()
Dratelimit.h10 usec_t interval; /* Keep those two fields first so they can be initialized easily: */ member
21 return rl->interval > 0 && rl->burst > 0; in ratelimit_configured()
Dratelimit.c22 usec_sub_unsigned(ts, r->begin) > r->interval) { in ratelimit_below()
/systemd-251/.github/
Ddependabot.yml8 interval: "monthly"
13 interval: "monthly"
18 interval: "monthly"
/systemd-251/src/libsystemd/sd-journal/
Djournal-authenticate.c476 unsigned long long start, interval; in journal_file_parse_verification_key() local
512 r = sscanf(k, "%llx-%llx", &start, &interval); in journal_file_parse_verification_key()
521 f->fss_start_usec = start * interval; in journal_file_parse_verification_key()
522 f->fss_interval_usec = interval; in journal_file_parse_verification_key()
/systemd-251/src/core/
Ddbus-path.c51 …IntervalUSec", "t", bus_property_get_usec, offsetof(Path, trigger_limit.interval), SD_BUS_VTABLE_P…
144 … return bus_set_transient_usec(u, name, &p->trigger_limit.interval, message, flags, error); in bus_path_set_transient_property()
Dpath.c268 p->trigger_limit.interval = USEC_INFINITY; in path_init()
361 if (p->trigger_limit.interval == USEC_INFINITY) in path_add_extras()
362 p->trigger_limit.interval = 2 * USEC_PER_SEC; in path_add_extras()
421 prefix, FORMAT_TIMESPAN(p->trigger_limit.interval, USEC_PER_SEC), in path_dump()
Dload-fragment-gperf.gperf.in307 … 0, offsetof(Unit, start_ratelimit.interval)
309 … 0, offsetof(Unit, start_ratelimit.interval)
400 … 0, offsetof(Unit, start_ratelimit.interval)
482 … 0, offsetof(Socket, trigger_limit.interval)
548 … 0, offsetof(Path, trigger_limit.interval)
Ddbus-socket.c130 …tervalUSec", "t", bus_property_get_usec, offsetof(Socket, trigger_limit.interval), SD_BUS_VTABLE_P…
276 … return bus_set_transient_usec(u, name, &s->trigger_limit.interval, message, flags, error); in bus_socket_set_transient_property()
Ddbus-unit.c942 …tervalUSec", "t", bus_property_get_usec, offsetof(Unit, start_ratelimit.interval), SD_BUS_VTABLE_P…
1041 …itInterval", "t", bus_property_get_usec, offsetof(Unit, start_ratelimit.interval), SD_BUS_VTABLE_P…
1042 …ntervalSec", "t", bus_property_get_usec, offsetof(Unit, start_ratelimit.interval), SD_BUS_VTABLE_P…
2181 … return bus_set_transient_usec(u, name, &u->start_ratelimit.interval, message, flags, error); in bus_unit_set_transient_property()
/systemd-251/shell-completion/zsh/
D_journalctl132 '--interval=[Time interval for changing the FSS sealing key]:time interval' \
/systemd-251/test/testsuite-16.units/
Dsuccess-start.service6 # EXTEND_TIMEOUT_USEC=4 second interval once at startup, but sleep 6 seconds.
Dfail-runtime.service7 # seconds this won't happen until 7 + 7 (sleep interval) seconds. Therefore timeout at 12 seconds.
Dfail-start.service8 # seconds this won't happen until 7 + 7 (sleep interval) seconds. Therefore timeout at 12 seconds.
Dsuccess-all.service7 … / runtime / shutdown all take 8 seconds which is within the EXTEND_TIMEOUT_USEC=4 seconds interval
Dfail-stop.service7 # seconds this won't happen until 7 + 7 (sleep interval) seconds. Therefore timeout at 12 seconds.
/systemd-251/src/basic/linux/hdlc/
Dioctl.h78 unsigned int interval; member
/systemd-251/src/basic/linux/
Dif_bridge.h307 __u32 interval; member
326 __u32 interval; member
/systemd-251/units/
Dsystemd-sysupdate.timer20 # randomly distributed in a 2h…6h interval. In addition trigger things
/systemd-251/src/libsystemd/sd-event/
Dtest-event.c635 uint64_t interval; 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.c232 assert(s->rate_limit.interval != 0); in time_event_source_next()
233 return usec_add(s->rate_limit.begin, s->rate_limit.interval); in time_event_source_next()
250 assert(s->rate_limit.interval != 0); in time_event_source_latest()
251 return usec_add(s->rate_limit.begin, s->rate_limit.interval); in time_event_source_latest()
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()
4532 *ret_interval = s->rate_limit.interval; in sd_event_source_get_ratelimit()
/systemd-251/src/userdb/
Duserdbd-manager.c90 .interval = 5 * USEC_PER_SEC, in manager_new()
/systemd-251/shell-completion/bash/
Dhomectl67 --rate-limit-interval
Djournalctl51 [ARGUNKNOWN]='-c --cursor --interval -n --lines -S --since -U --until

12