Lines Matching refs:udev
20 struct udev { struct
52 struct udev *__wrap_udev_new(void);
55 struct udev_device *__wrap_udev_device_new_from_syspath(struct udev *,
57 struct udev_enumerate *__wrap_udev_enumerate_new(struct udev *);
73 void __wrap_udev_unref(struct udev *);
115 __wrap_udev_device_new_from_syspath(struct udev *udev, const char *syspath) in __wrap_udev_device_new_from_syspath() argument
119 ASSERT_UDEV(udev); in __wrap_udev_device_new_from_syspath()
153 struct udev *
156 struct udev *udev; in __wrap_udev_new() local
158 if ((udev = calloc(1, sizeof(*udev))) == NULL) in __wrap_udev_new()
160 udev->magic = UDEV_MAGIC; in __wrap_udev_new()
162 return udev; in __wrap_udev_new()
166 __wrap_udev_enumerate_new(struct udev *udev) in __wrap_udev_enumerate_new() argument
170 ASSERT_UDEV(udev); in __wrap_udev_enumerate_new()
224 __wrap_udev_unref(struct udev *udev) in __wrap_udev_unref() argument
226 ASSERT_UDEV(udev); in __wrap_udev_unref()
227 free(udev); in __wrap_udev_unref()