Lines Matching refs:attr
50 char *attr;
65 attr = strchr(sysname, ']');
66 if (attr == NULL)
68 attr[0] = '\0';
69 attr = &attr[1];
70 if (attr[0] == '/')
71 attr = &attr[1];
72 if (attr[0] == '\0')
73 attr = NULL;
75 if (read_value && attr == NULL)
85 val = udev_device_get_sysattr_value(dev, attr);
90 log_debug("value '[%s/%s]%s' is '%s'", subsys, sysname, attr, result);
97 if (attr != NULL)
98 strpcpyl(&s, l, "/", attr, NULL);
99 log_debug("path '[%s/%s]%s' is '%s'", subsys, sysname, attr, result);