Lines Matching refs:udev
305 struct udev *udev = udev_new(); in tools_open_udev() local
307 if (!udev) { in tools_open_udev()
312 li = libinput_udev_create_context(&interface, grab, udev); in tools_open_udev()
330 udev_unref(udev); in tools_open_udev()
466 struct udev *udev; in find_device() local
473 udev = udev_new(); in find_device()
474 if (!udev) in find_device()
477 e = udev_enumerate_new(udev); in find_device()
483 device = udev_device_new_from_syspath(udev, path); in find_device()
503 udev_unref(udev); in find_device()
524 struct udev *udev; in is_touchpad_device() local
532 udev = udev_new(); in is_touchpad_device()
533 if (!udev) in is_touchpad_device()
536 dev = udev_device_new_from_devnum(udev, 'c', st.st_rdev); in is_touchpad_device()
544 udev_unref(udev); in is_touchpad_device()