Lines Matching refs:tmp
152 char *tmp; in parse_next_property() local
156 tmp = strchr(buf, ' '); in parse_next_property()
157 if (!tmp) { in parse_next_property()
162 *tmp = '\0'; in parse_next_property()
164 if (++tmp >= end) { in parse_next_property()
172 *length = simple_strtoul(tmp, &tmp, 10); in parse_next_property()
178 if (*tmp != ' ' || ++tmp >= end) { in parse_next_property()
185 *value = tmp; in parse_next_property()
186 tmp += *length; in parse_next_property()
187 if (tmp > end) { in parse_next_property()
192 else if (tmp < end && *tmp != ' ' && *tmp != '\0') { in parse_next_property()
197 tmp++; in parse_next_property()
200 return tmp; in parse_next_property()
335 char *tmp; in do_remove_property() local
342 tmp = strchr(buf,' '); in do_remove_property()
343 if (tmp) in do_remove_property()
344 *tmp = '\0'; in do_remove_property()
401 char *tmp; in ofdt_write() local
414 tmp = strchr(kbuf, ' '); in ofdt_write()
415 if (!tmp) { in ofdt_write()
419 *tmp = '\0'; in ofdt_write()
420 tmp++; in ofdt_write()
423 rv = do_add_node(tmp, count - (tmp - kbuf)); in ofdt_write()
425 rv = do_remove_node(tmp); in ofdt_write()
427 rv = do_add_property(tmp, count - (tmp - kbuf)); in ofdt_write()
429 rv = do_remove_property(tmp, count - (tmp - kbuf)); in ofdt_write()
431 rv = do_update_property(tmp, count - (tmp - kbuf)); in ofdt_write()