Searched defs:maj (Results 1 - 4 of 4) sorted by relevance
/systemd/src/gpt-auto-generator/ |
H A D | gpt-auto-generator.c | 845 unsigned maj, min; local 896 if (sscanf(t, "%u:%u", &maj, &min) != 2) 899 if (maj == 0) 902 *dev = makedev(maj, min);
|
/systemd/src/core/ |
H A D | cgroup.c | 238 unsigned maj; local 267 r = safe_atou(p, &maj); 270 if (maj <= 0) 282 maj,
|
/systemd/src/libsystemd/sd-device/ |
H A D | sd-device.c | 252 /* 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/udev/cdrom_id/ |
H A D | cdrom_id.c | 106 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 1211 milliseconds