Lines Matching refs:kbuf
362 char *kbuf; in ofdt_write() local
369 kbuf = memdup_user_nul(buf, count); in ofdt_write()
370 if (IS_ERR(kbuf)) in ofdt_write()
371 return PTR_ERR(kbuf); in ofdt_write()
373 tmp = strchr(kbuf, ' '); in ofdt_write()
381 if (!strcmp(kbuf, "add_node")) in ofdt_write()
382 rv = do_add_node(tmp, count - (tmp - kbuf)); in ofdt_write()
383 else if (!strcmp(kbuf, "remove_node")) in ofdt_write()
385 else if (!strcmp(kbuf, "add_property")) in ofdt_write()
386 rv = do_add_property(tmp, count - (tmp - kbuf)); in ofdt_write()
387 else if (!strcmp(kbuf, "remove_property")) in ofdt_write()
388 rv = do_remove_property(tmp, count - (tmp - kbuf)); in ofdt_write()
389 else if (!strcmp(kbuf, "update_property")) in ofdt_write()
390 rv = do_update_property(tmp, count - (tmp - kbuf)); in ofdt_write()
394 kfree(kbuf); in ofdt_write()