Searched defs:minor (Results 1 - 6 of 6) sorted by relevance

/systemd/src/login/
H A Dlogind-session-dbus.c374 uint32_t major, minor; local
382 r = sd_bus_message_read(message, "uu", &major, &minor);
389 dev = makedev(major, minor);
412 uint32_t major, minor; local
420 r = sd_bus_message_read(message, "uu", &major, &minor);
427 dev = makedev(major, minor);
438 uint32_t major, minor; local
446 r = sd_bus_message_read(message, "uu", &major, &minor);
453 dev = makedev(major, minor);
H A Dlogind-session-device.c46 uint32_t major, minor; local
52 minor = minor(sd->dev);
75 r = sd_bus_message_append(m, "uuh", major, minor, sd->fd);
93 r = sd_bus_message_append(m, "uus", major, minor, t);
/systemd/src/core/
H A Dautomount.c358 uint32_t major, minor; local
378 minor = param.protosubver.sub_version;
380 log_debug("Autofs protocol version %i.%i", major, minor);
/systemd/src/libsystemd/sd-device/
H A Ddevice-private.c477 const char *major = NULL, *minor = NULL; local
501 minor = value;
524 if (minor != 0)
525 *_minor = minor;
558 const char *major = NULL, *minor = NULL; local
571 r = device_append(device, *key, &major, &minor, &seqnum, &action);
577 r = device_set_devnum(device, major, minor);
579 return log_debug_errno(r, "sd-device: could not set devnum %s:%s: %m", major, minor);
594 const char *major = NULL, *minor = NULL; local
620 r = device_append(device, key, &major, &minor,
[all...]
H A Dsd-device.c253 snprintf(id, sizeof(id), "%u:%u", major(devnum), minor(devnum));
423 int device_set_devnum(sd_device *device, const char *major, const char *minor) { argument
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) { argument
464 assert(minor);
485 *minor = value;
497 const char *syspath, *key = NULL, *value = NULL, *major = NULL, *minor local
[all...]
/systemd/src/tmpfiles/
H A Dtmpfiles.c1447 i->path, major(i->mode), minor(i->mode));
1933 unsigned major, minor; local
1940 if (sscanf(i.argument, "%u:%u", &major, &minor) != 2) {
1941 log_error("[%s:%u] Can't parse device file major/minor '%s'.", fname, line, i.argument);
1945 i.major_minor = makedev(major, minor);

Completed in 530 milliseconds