Searched refs:PRINTF_BUFFER_SIZE (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/uts/common/xen/io/ |
H A D | xenbus_client.c | 178 #define PRINTF_BUFFER_SIZE 4096 in common_dev_error() macro 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() 183 ret = vsnprintf(printf_buffer+len, PRINTF_BUFFER_SIZE-len, fmt, ap); in common_dev_error() 185 ASSERT(len + ret <= PRINTF_BUFFER_SIZE-1); in common_dev_error() 204 kmem_free(printf_buffer, PRINTF_BUFFER_SIZE); in common_dev_error()
|
H A D | xenbus_xs.c | 655 #define PRINTF_BUFFER_SIZE 4096 in xenbus_printf() macro 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() 664 ASSERT(ret <= PRINTF_BUFFER_SIZE-1); in xenbus_printf() 667 kmem_free(printf_buffer, PRINTF_BUFFER_SIZE); in xenbus_printf()
|