Lines Matching refs:minor
253 snprintf(id, sizeof(id), "%u:%u", major(devnum), minor(devnum));
423 int device_set_devnum(sd_device *device, const char *major, const char *minor) {
436 if (minor) {
437 r = safe_atou(minor, &min);
446 if (minor) {
447 r = device_add_property_internal(device, "MINOR", minor);
457 static int handle_uevent_line(sd_device *device, const char *key, const char *value, const char **major, const char **minor) {
464 assert(minor);
485 *minor = value;
497 const char *syspath, *key = NULL, *value = NULL, *major = NULL, *minor = NULL;
569 r = handle_uevent_line(device, key, value, &major, &minor);
583 r = device_set_devnum(device, major, minor);
585 log_debug_errno(r, "sd-device: could not set 'MAJOR=%s' or 'MINOR=%s' from '%s': %m", major, minor, path);
1218 major(devnum), minor(devnum));