Searched refs:printf_buffer (Results 1 – 2 of 2) sorted by relevance
| /titanic_50/usr/src/uts/common/xen/io/ |
| H A D | xenbus_client.c | 176 char *printf_buffer = NULL, *path_buffer = NULL; in common_dev_error() local 179 printf_buffer = kmem_alloc(PRINTF_BUFFER_SIZE, KM_SLEEP); in common_dev_error() 181 (void) snprintf(printf_buffer, PRINTF_BUFFER_SIZE, "%d ", err); in common_dev_error() 182 len = strlen(printf_buffer); in common_dev_error() 183 ret = vsnprintf(printf_buffer+len, PRINTF_BUFFER_SIZE-len, fmt, ap); in common_dev_error() 192 dev->nodename, printf_buffer); in common_dev_error() 196 if (xenbus_write(NULL, path_buffer, "error", printf_buffer) != 0) { in common_dev_error() 198 dev->nodename, printf_buffer); in common_dev_error() 203 if (printf_buffer) in common_dev_error() 204 kmem_free(printf_buffer, PRINTF_BUFFER_SIZE); in common_dev_error()
|
| H A D | xenbus_xs.c | 656 char *printf_buffer; in xenbus_printf() local 658 printf_buffer = kmem_alloc(PRINTF_BUFFER_SIZE, KM_SLEEP); in xenbus_printf() 661 ret = vsnprintf(printf_buffer, PRINTF_BUFFER_SIZE, fmt, ap); in xenbus_printf() 665 ret = xenbus_write(t, dir, node, printf_buffer); in xenbus_printf() 667 kmem_free(printf_buffer, PRINTF_BUFFER_SIZE); in xenbus_printf()
|