Lines Matching refs:name
95 kfree(prop->name);
106 * @name: return value; set to property name in buf
110 * Note that the caller must make copies of the name and value returned,
112 * is set to the next name in buf, or NULL on error.
114 static char * parse_next_property(char *buf, char *end, char **name, int *length,
119 *name = buf;
164 /* and now we should be on the next name, or the end */
168 static struct property *new_property(const char *name, const int length,
176 if (!(new->name = kstrdup(name, GFP_KERNEL)))
188 kfree(new->name);
196 char *path, *end, *name;
217 (buf = parse_next_property(buf, end, &name, &length, &value))) {
220 prop = new_property(name, length, value, last);
277 char *name, *end;
285 if (parse_next_property(buf, end, &name, &length, &value) == NULL)
288 prop = new_property(name, length, value, NULL);
320 char *name, *end, *next_prop;
329 next_prop = parse_next_property(buf, end, &name, &length, &value);
333 if (!strlen(name))
336 newprop = new_property(name, length, value, NULL);
340 if (!strcmp(name, "slb-size") || !strcmp(name, "ibm,slb-size"))