Searched refs:printf_buffer (Results 1 – 1 of 1) sorted by relevance
/drivers/xen/xenbus/ |
D | xenbus_client.c | 276 char *printf_buffer = NULL; in xenbus_va_dev_error() local 280 printf_buffer = kmalloc(PRINTF_BUFFER_SIZE, GFP_KERNEL); in xenbus_va_dev_error() 281 if (printf_buffer == NULL) in xenbus_va_dev_error() 284 len = sprintf(printf_buffer, "%i ", -err); in xenbus_va_dev_error() 285 vsnprintf(printf_buffer+len, PRINTF_BUFFER_SIZE-len, fmt, ap); in xenbus_va_dev_error() 287 dev_err(&dev->dev, "%s\n", printf_buffer); in xenbus_va_dev_error() 293 dev->nodename, printf_buffer); in xenbus_va_dev_error() 297 if (xenbus_write(XBT_NIL, path_buffer, "error", printf_buffer) != 0) { in xenbus_va_dev_error() 299 dev->nodename, printf_buffer); in xenbus_va_dev_error() 304 kfree(printf_buffer); in xenbus_va_dev_error()
|