Lines Matching refs:tmp
117 char *tmp; in parse_next_property() local
121 tmp = strchr(buf, ' '); in parse_next_property()
122 if (!tmp) { in parse_next_property()
127 *tmp = '\0'; in parse_next_property()
129 if (++tmp >= end) { in parse_next_property()
137 *length = simple_strtoul(tmp, &tmp, 10); in parse_next_property()
143 if (*tmp != ' ' || ++tmp >= end) { in parse_next_property()
150 *value = tmp; in parse_next_property()
151 tmp += *length; in parse_next_property()
152 if (tmp > end) { in parse_next_property()
157 else if (tmp < end && *tmp != ' ' && *tmp != '\0') { in parse_next_property()
162 tmp++; in parse_next_property()
165 return tmp; in parse_next_property()
300 char *tmp; in do_remove_property() local
306 tmp = strchr(buf,' '); in do_remove_property()
307 if (tmp) in do_remove_property()
308 *tmp = '\0'; in do_remove_property()
363 char *tmp; in ofdt_write() local
369 tmp = strchr(kbuf, ' '); in ofdt_write()
370 if (!tmp) { in ofdt_write()
374 *tmp = '\0'; in ofdt_write()
375 tmp++; in ofdt_write()
378 rv = do_add_node(tmp, count - (tmp - kbuf)); in ofdt_write()
380 rv = do_remove_node(tmp); in ofdt_write()
382 rv = do_add_property(tmp, count - (tmp - kbuf)); in ofdt_write()
384 rv = do_remove_property(tmp, count - (tmp - kbuf)); in ofdt_write()
386 rv = do_update_property(tmp, count - (tmp - kbuf)); in ofdt_write()