Searched refs:maj (Results 1 - 4 of 4) sorted by relevance

/systemd/src/gpt-auto-generator/
H A Dgpt-auto-generator.c845 unsigned maj, min; local
896 if (sscanf(t, "%u:%u", &maj, &min) != 2)
899 if (maj == 0)
902 *dev = makedev(maj, 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
430 r = safe_atou(major, &maj);
433 if (!maj)
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/core/
H A Dcgroup.c238 unsigned maj; local
267 r = safe_atou(p, &maj);
270 if (maj <= 0)
282 maj,
/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) {

Completed in 1209 milliseconds