Searched defs:min (Results 1 - 8 of 8) sorted by relevance

/systemd/src/timesync/
H A Dtimesyncd.c35 usec_t min = TIME_EPOCH * USEC_PER_SEC; local
55 if (stamp > min)
56 min = stamp;
66 (void) touch_file("/var/lib/systemd/clock", true, min, uid, gid, 0644);
69 if (ct < min) {
74 format_timestamp(date, sizeof(date), min));
76 if (clock_settime(CLOCK_REALTIME, timespec_store(&ts, min)) < 0)
/systemd/src/basic/
H A Dclock-util.c102 int clock_set_timezone(int *min) { argument
125 if (min)
126 *min = minutesdelta;
/systemd/src/gpt-auto-generator/
H A Dgpt-auto-generator.c845 unsigned maj, min; local
896 if (sscanf(t, "%u:%u", &maj, &min) != 2)
902 *dev = makedev(maj, min);
/systemd/src/libsystemd-network/
H A Dsd-dhcp-lease.c290 static int lease_parse_u32(const uint8_t *option, size_t len, uint32_t *ret, uint32_t min) { argument
298 if (*ret < min)
299 *ret = min;
304 static int lease_parse_u16(const uint8_t *option, size_t len, uint16_t *ret, uint16_t min) { argument
312 if (*ret < min)
313 *ret = min;
/systemd/src/libsystemd/sd-device/
H A Dsd-device.c252 /* use /sys/dev/{block,char}/<maj>:<min> link */
424 unsigned maj = 0, min = 0; local
437 r = safe_atou(minor, &min);
452 device->devnum = makedev(maj, min);
617 int maj, min; local
619 r = sscanf(id, "%c%i:%i", &type, &maj, &min);
623 return sd_device_new_from_devnum(ret, type, makedev(maj, min));
/systemd/src/udev/cdrom_id/
H A Dcdrom_id.c106 int maj, min; local
115 while (fscanf(fp, "%*s %*s %i:%i %*[^\n]", &maj, &min) == 2) {
116 if (makedev(maj, min) == statbuf.st_rdev) {
/systemd/src/core/
H A Dload-fragment.c887 int i, min, max, r; local
901 min = sched_get_priority_min(c->cpu_sched_policy);
904 if (i < min || i > max) {
H A Dmain.c1392 int min; local
1402 r = clock_set_timezone(&min);
1406 log_info("RTC configured in localtime, applying delta of %i minutes to system time.", min);

Completed in 291 milliseconds