Lines Matching defs:udev
32 #include "udev-util.h"
167 struct udev *udev;
176 if (!(udev = udev_new())) {
177 pa_log_error("Failed to allocate udev context.");
182 card = udev_device_new_from_syspath(udev, t);
199 if (!pa_proplist_contains(p, "udev.id"))
201 pa_proplist_sets(p, "udev.id", v);
245 /* This is normally not set by the udev rules but may be useful to
258 if (udev)
259 udev_unref(udev);
265 struct udev *udev;
273 if (!(udev = udev_new())) {
274 pa_log_error("Failed to allocate udev context.");
279 card = udev_device_new_from_syspath(udev, t);
295 if (udev)
296 udev_unref(udev);