Lines Matching defs:length
107 * @length: return value; set to length of value
114 static char * parse_next_property(char *buf, char *end, char **name, int *length,
135 /* now we're on the length */
136 *length = -1;
137 *length = simple_strtoul(tmp, &tmp, 10);
138 if (*length == -1) {
151 tmp += *length;
168 static struct property *new_property(const char *name, const int length,
178 if (!(new->value = kmalloc(length + 1, GFP_KERNEL)))
181 memcpy(new->value, value, length);
182 *(((char *)new->value) + length) = 0;
183 new->length = length;
200 int length, rv = 0;
217 (buf = parse_next_property(buf, end, &name, &length, &value))) {
220 prop = new_property(name, length, value, last);
278 int length;
285 if (parse_next_property(buf, end, &name, &length, &value) == NULL)
288 prop = new_property(name, length, value, NULL);
321 int length;
329 next_prop = parse_next_property(buf, end, &name, &length, &value);
336 newprop = new_property(name, length, value, NULL);