Lines Matching refs:attr
104 { .name = "attr", .fmt = 's', .type = SUBST_ATTR },
134 char *attr = NULL;
182 /* extract possible $format{attr} */
198 attr = attrbuf;
200 attr = NULL;
254 if (attr != NULL)
255 i = strtoul(attr, &rest, 10);
294 if (attr == NULL) {
295 log_error("missing file parameter for attr");
300 if (util_resolve_subsys_kernel(event->udev, attr, vbuf, sizeof(vbuf), 1) == 0)
305 value = udev_device_get_sysattr_value(event->dev, attr);
309 value = udev_device_get_sysattr_value(event->dev_parent, attr);
368 if (attr == NULL) {
373 value = udev_device_get_property_value(event->dev, attr);