Home
last modified time | relevance | path

Searched refs:printf_buffer (Results 1 – 1 of 1) sorted by relevance

/drivers/xen/xenbus/
Dxenbus_client.c263 char *printf_buffer = NULL; in xenbus_va_dev_error() local
267 printf_buffer = kmalloc(PRINTF_BUFFER_SIZE, GFP_KERNEL); in xenbus_va_dev_error()
268 if (printf_buffer == NULL) in xenbus_va_dev_error()
271 len = sprintf(printf_buffer, "%i ", -err); in xenbus_va_dev_error()
272 ret = vsnprintf(printf_buffer+len, PRINTF_BUFFER_SIZE-len, fmt, ap); in xenbus_va_dev_error()
276 dev_err(&dev->dev, "%s\n", printf_buffer); in xenbus_va_dev_error()
282 dev->nodename, printf_buffer); in xenbus_va_dev_error()
286 if (xenbus_write(XBT_NIL, path_buffer, "error", printf_buffer) != 0) { in xenbus_va_dev_error()
288 dev->nodename, printf_buffer); in xenbus_va_dev_error()
293 kfree(printf_buffer); in xenbus_va_dev_error()