Searched refs:udev_dev (Results 1 – 9 of 9) sorted by relevance
/dragonfly/usr.sbin/hotplugd/ |
H A D | hotplugd.c | 74 struct udev_device *udev_dev; in main() local 128 udev_dev = udev_list_entry_get_device(udev_le); in main() 130 class = atoi(udev_device_get_property_value(udev_dev, "devtype")); in main() 134 udev_device_get_devnode(udev_dev), devclass); in main() 136 udev_device_get_devnode(udev_dev)); in main() 152 prop = udev_device_get_action(udev_dev); in main() 153 class = atoi(udev_device_get_property_value(udev_dev, "devtype")); in main() 158 udev_device_get_devnode(udev_dev), devclass); in main() 160 udev_device_get_devnode(udev_dev)); in main() 163 udev_device_get_devnode(udev_dev), devclass); in main() [all …]
|
/dragonfly/contrib/lvm2/dist/lib/dragonfly/ |
H A D | dev.c | 31 struct udev_device *udev_dev; in dragonfly_check_dev() local 84 udev_dev = udev_list_entry_get_device(udev_le); in dragonfly_check_dev() 85 if (udev_dev == NULL) { in dragonfly_check_dev() 90 subsystem = udev_device_get_subsystem(udev_dev); in dragonfly_check_dev() 91 driver = udev_device_get_driver(udev_dev); in dragonfly_check_dev() 92 type = udev_device_get_property_value(udev_dev, "disk-type"); in dragonfly_check_dev() 129 udev_device_unref(udev_dev); in dragonfly_check_dev()
|
/dragonfly/sbin/fsid/ |
H A D | fsid.c | 140 struct udev_device *udev_dev; in main() local 192 udev_dev = udev_list_entry_get_device(udev_le); in main() 193 dev_path = udev_device_get_devnode(udev_dev); in main() 195 dict = udev_device_get_dictionary(udev_dev); in main() 226 while ((udev_dev = udev_monitor_receive_device(udev_monitor))) { in main() 227 if (udev_dev == NULL) in main() 230 dev_path = udev_device_get_devnode(udev_dev); in main() 231 prop = udev_device_get_action(udev_dev); in main()
|
/dragonfly/lib/libdevattr/ |
H A D | devattr_device.c | 73 struct udev_device *udev_dev; in udev_device_new_from_dictionary() local 75 udev_dev = malloc(sizeof(struct udev_device)); in udev_device_new_from_dictionary() 76 if (udev_dev == NULL) in udev_device_new_from_dictionary() 79 udev_dev->refs = 1; in udev_device_new_from_dictionary() 80 udev_dev->ev_type = UDEV_EVENT_NONE; in udev_device_new_from_dictionary() 85 udev_dev->dict = dict; in udev_device_new_from_dictionary() 86 udev_dev->udev_ctx = udev_ref(udev_ctx); in udev_device_new_from_dictionary() 88 return udev_dev; in udev_device_new_from_dictionary()
|
H A D | devattr_test.c | 12 struct udev_device *udev_dev; in main() local 80 while ((udev_dev = udev_monitor_receive_device(udev_monitor))) { in main() 82 if (udev_dev == NULL) in main() 86 dict = udev_device_get_dictionary(udev_dev); in main()
|
H A D | devattr_monitor.c | 138 struct udev_device *udev_dev; in udev_monitor_receive_device() local 165 udev_dev = udev_device_new_from_dictionary(udev_monitor->udev_ctx, evdict); in udev_monitor_receive_device() 166 if (udev_dev == NULL) { in udev_monitor_receive_device() 171 udev_device_set_action(udev_dev, prop_number_integer_value(pn)); in udev_monitor_receive_device() 174 return udev_dev; in udev_monitor_receive_device()
|
H A D | devattr_enumerate.c | 207 struct udev_device *udev_dev; in udev_list_entry_get_device() local 209 udev_dev = udev_device_new_from_dictionary(list_entry->udev_ctx, in udev_list_entry_get_device() 212 return udev_dev; in udev_list_entry_get_device()
|
/dragonfly/sbin/udevd/ |
H A D | test_udevd.c | 327 struct udev_device *udev_dev; in udev_monitor_receive_device() local 354 udev_dev = malloc(sizeof(struct udev_dev)); in udev_monitor_receive_device() 355 if (udev_dev == NULL) { in udev_monitor_receive_device() 360 udev_dev->refs = 1; in udev_monitor_receive_device() 361 udev_dev->ev_type = prop_number_integer_value(pn); in udev_monitor_receive_device() 362 udev_dev->dict = prop_dictionary_get(dict, "evdict"); in udev_monitor_receive_device() 363 if (udev_dev->dict == NULL) { in udev_monitor_receive_device() 364 free(udev_dev); in udev_monitor_receive_device() 367 udev_dev->udev_ctx = udev_ref(udev_monitor->udev_ctx); in udev_monitor_receive_device() 370 return udev_dev; in udev_monitor_receive_device()
|
/dragonfly/sys/kern/ |
H A D | kern_udev.c | 56 static cdev_t udev_dev; variable 1039 udev_dev = make_autoclone_dev(&udev_dev_ops, &DEVFS_CLONE_BITMAP(udev), in udev_dev_init() 1047 destroy_dev(udev_dev); in udev_dev_uninit()
|