Lines Matching refs:value
23 /* attribute value cache */
28 char *value; /* points to value_local if value is cached */
76 char value[NAME_SIZE];
95 return attr_loop->value;
125 dbg("cache '%s' with link value '%s'", path_full, pos+1);
127 attr->value = attr->value_local;
141 /* read attribute value */
147 size = read(fd, value, sizeof(value));
151 if (size == sizeof(value))
154 /* got a valid value, store and return it */
155 value[size] = '\0';
156 remove_trailing_chars(value, '\n');
157 dbg("cache '%s' with attribute value '%s'", path_full, value);
158 strlcpy(attr->value_local, value, sizeof(attr->value_local));
159 attr->value = attr->value_local;
162 return attr->value;