Searched defs:devlink (Results 1 - 5 of 5) sorted by relevance

/systemd/src/libudev/
H A Dlibudev-device-private.c347 int udev_device_add_devlink(struct udev_device *udev_device, const char *devlink) { argument
352 r = device_add_devlink(udev_device->device, devlink);
H A Dlibudev-device.c696 * The devlink path can be retrieved from the list entry by
708 const char *devlink; local
712 FOREACH_DEVICE_DEVLINK(udev_device->device, devlink)
713 udev_list_entry_add(&udev_device->devlinks, devlink, NULL);
/systemd/src/libsystemd/sd-device/
H A Ddevice-private.c430 char devlink[l + 1]; local
432 strncpy(devlink, word, l);
433 devlink[l] = '\0';
435 r = device_add_devlink(device, devlink);
437 return log_debug_errno(r, "sd-device: could not add devlink '%s': %m", devlink);
1051 const char *devlink; local
1053 FOREACH_DEVICE_DEVLINK(device, devlink)
1054 fprintf(f, "S:%s\n", devlink + strlen("/dev/"));
H A Dsd-device.c1075 int device_add_devlink(sd_device *device, const char *devlink) { argument
1079 assert(devlink);
1085 r = set_put_strdup(device->devlinks, devlink);
1461 const char *devlink; local
1463 devlink = sd_device_get_devlink_first(device);
1464 if (devlink)
1465 devlinks = strdupa(devlink);
1467 while ((devlink = sd_device_get_devlink_next(device)))
1468 devlinks = strjoina(devlinks, " ", devlink);
/systemd/src/udev/
H A Dudev-rules.c1900 const char *devlink; local
1902 devlink = udev_list_entry_get_name(list_entry) + strlen("/dev/");
1903 if (match_key(rules, cur, devlink) == 0) {

Completed in 2313 milliseconds