Lines Matching refs:tmp
122 char *tmp; in parse_next_property() local
126 tmp = strchr(buf, ' '); in parse_next_property()
127 if (!tmp) { in parse_next_property()
132 *tmp = '\0'; in parse_next_property()
134 if (++tmp >= end) { in parse_next_property()
142 *length = simple_strtoul(tmp, &tmp, 10); in parse_next_property()
148 if (*tmp != ' ' || ++tmp >= end) { in parse_next_property()
155 *value = tmp; in parse_next_property()
156 tmp += *length; in parse_next_property()
157 if (tmp > end) { in parse_next_property()
162 else if (tmp < end && *tmp != ' ' && *tmp != '\0') { in parse_next_property()
167 tmp++; in parse_next_property()
170 return tmp; in parse_next_property()
305 char *tmp; in do_remove_property() local
312 tmp = strchr(buf,' '); in do_remove_property()
313 if (tmp) in do_remove_property()
314 *tmp = '\0'; in do_remove_property()
371 char *tmp; in ofdt_write() local
384 tmp = strchr(kbuf, ' '); in ofdt_write()
385 if (!tmp) { in ofdt_write()
389 *tmp = '\0'; in ofdt_write()
390 tmp++; in ofdt_write()
393 rv = do_add_node(tmp, count - (tmp - kbuf)); in ofdt_write()
395 rv = do_remove_node(tmp); in ofdt_write()
397 rv = do_add_property(tmp, count - (tmp - kbuf)); in ofdt_write()
399 rv = do_remove_property(tmp, count - (tmp - kbuf)); in ofdt_write()
401 rv = do_update_property(tmp, count - (tmp - kbuf)); in ofdt_write()