Lines Matching refs:printf_buffer
234 char *printf_buffer = NULL;
238 printf_buffer = kmalloc(PRINTF_BUFFER_SIZE, GFP_KERNEL);
239 if (printf_buffer == NULL)
242 len = sprintf(printf_buffer, "%i ", -err);
243 ret = vsnprintf(printf_buffer+len, PRINTF_BUFFER_SIZE-len, fmt, ap);
247 dev_err(&dev->dev, "%s\n", printf_buffer);
253 dev->nodename, printf_buffer);
257 if (xenbus_write(XBT_NIL, path_buffer, "error", printf_buffer) != 0) {
259 dev->nodename, printf_buffer);
264 kfree(printf_buffer);