Lines Matching defs:attr
96 { .name = "attr", .fmt = 's', .type = SUBST_ATTR },
124 char *attr = NULL, *_s;
174 /* extract possible $format{attr} */
190 attr = attrbuf;
192 attr = NULL;
259 if (attr != NULL)
260 i = strtoul(attr, &rest, 10);
299 if (attr == NULL) {
300 log_error("missing file parameter for attr");
305 if (util_resolve_subsys_kernel(event->udev, attr, vbuf, sizeof(vbuf), 1) == 0)
310 value = udev_device_get_sysattr_value(event->dev, attr);
314 value = udev_device_get_sysattr_value(event->dev_parent, attr);
373 if (attr == NULL) {
378 value = udev_device_get_property_value(event->dev, attr);