Lines Matching refs:kbuf
362 char *kbuf; in ofdt_write() local
365 kbuf = memdup_user_nul(buf, count); in ofdt_write()
366 if (IS_ERR(kbuf)) in ofdt_write()
367 return PTR_ERR(kbuf); in ofdt_write()
369 tmp = strchr(kbuf, ' '); in ofdt_write()
377 if (!strcmp(kbuf, "add_node")) in ofdt_write()
378 rv = do_add_node(tmp, count - (tmp - kbuf)); in ofdt_write()
379 else if (!strcmp(kbuf, "remove_node")) in ofdt_write()
381 else if (!strcmp(kbuf, "add_property")) in ofdt_write()
382 rv = do_add_property(tmp, count - (tmp - kbuf)); in ofdt_write()
383 else if (!strcmp(kbuf, "remove_property")) in ofdt_write()
384 rv = do_remove_property(tmp, count - (tmp - kbuf)); in ofdt_write()
385 else if (!strcmp(kbuf, "update_property")) in ofdt_write()
386 rv = do_update_property(tmp, count - (tmp - kbuf)); in ofdt_write()
390 kfree(kbuf); in ofdt_write()