Searched refs:num (Results 1 - 11 of 11) sorted by relevance

/systemd/src/basic/
H A Dratelimit.c44 r->num = 0;
48 if (r->num < r->burst)
54 r->num++;
H A Dratelimit.h31 unsigned num; member in struct:RateLimit
38 .num = 0, \
47 _r->num = 0; \
54 _r->num = 0; \
/systemd/src/journal/
H A Djournald-rate-limit.c51 unsigned num; member in struct:JournalRateLimitPool
248 p->num = 1;
258 p->num = 1;
264 if (p->num <= burst) {
265 p->num++;
/systemd/src/libudev/
H A Dlibudev-list.c46 int num; member in struct:udev_list_entry
344 return list_entry->num;
347 void udev_list_entry_set_num(struct udev_list_entry *list_entry, int num) argument
351 list_entry->num = num;
H A Dlibudev-private.h115 void udev_list_entry_set_num(struct udev_list_entry *list_entry, int num);
/systemd/src/libsystemd/sd-netlink/
H A Dnetlink-types.h49 int num; member in struct:NLTypeSystemUnion
H A Dnetlink-types.c313 .num = _NL_UNION_LINK_INFO_DATA_MAX,
355 .num = AF_MAX,
628 assert(type < type_system_union->num);
643 if (protocol >= type_system_union->num)
/systemd/src/login/
H A Dlogind-seat.c279 int seat_switch_to(Seat *s, unsigned int num) { argument
282 if (num == 0)
285 if (num >= s->position_count || !s->positions[num]) {
287 if (seat_has_vts(s) && num < 64)
288 return chvt(num);
293 return session_activate(s->positions[num]);
H A Dlogind-seat.h56 int seat_switch_to(Seat *s, unsigned int num);
/systemd/src/udev/
H A Dudev-event.c233 char num[UTIL_PATH_SIZE]; local
235 sprintf(num, "%u", major(udev_device_get_devnum(dev)));
236 l = strpcpy(&s, l, num);
240 char num[UTIL_PATH_SIZE]; local
242 sprintf(num, "%u", minor(udev_device_get_devnum(dev)));
243 l = strpcpy(&s, l, num);
/systemd/src/libsystemd/sd-device/
H A Ddevice-private.c155 char num[DECIMAL_STR_MAX(usec_t)]; local
166 r = snprintf(num, sizeof(num), USEC_FMT, usec_initialized);
170 r = device_set_usec_initialized(device, num);
646 size_t nulstr_len = 0, num = 0, i = 0; local
664 ++num;
668 buf_strv = new0(char *, num + 1);
674 assert(i < num);

Completed in 2755 milliseconds