Home
last modified time | relevance | path

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

/linux/drivers/xen/xenbus/
H A Dxenbus_client.c294 char *printf_buffer; in xenbus_va_dev_error() local
299 printf_buffer = kmalloc(PRINTF_BUFFER_SIZE, GFP_KERNEL); in xenbus_va_dev_error()
300 if (!printf_buffer) in xenbus_va_dev_error()
303 len = sprintf(printf_buffer, "%i ", -err); in xenbus_va_dev_error()
304 vsnprintf(printf_buffer + len, PRINTF_BUFFER_SIZE - len, fmt, ap); in xenbus_va_dev_error()
306 dev_err(&dev->dev, "%s\n", printf_buffer); in xenbus_va_dev_error()
310 xenbus_write(XBT_NIL, path_buffer, "error", printf_buffer); in xenbus_va_dev_error()
312 kfree(printf_buffer); in xenbus_va_dev_error()