Searched defs:PRINTF_BUFFER_SIZE (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xenbus_client.c | 178 #define PRINTF_BUFFER_SIZE 4096 macro 179 printf_buffer = kmem_alloc(PRINTF_BUFFER_SIZE, KM_SLEEP); 181 (void) snprintf(printf_buffer, PRINTF_BUFFER_SIZE, "%d ", err); 183 ret = vsnprintf(printf_buffer+len, PRINTF_BUFFER_SIZE-len, fmt, ap); 185 ASSERT(len + ret <= PRINTF_BUFFER_SIZE-1); 204 kmem_free(printf_buffer, PRINTF_BUFFER_SIZE);
|
H A D | xenbus_xs.c | 655 #define PRINTF_BUFFER_SIZE 4096 macro 658 printf_buffer = kmem_alloc(PRINTF_BUFFER_SIZE, KM_SLEEP); 661 ret = vsnprintf(printf_buffer, PRINTF_BUFFER_SIZE, fmt, ap); 664 ASSERT(ret <= PRINTF_BUFFER_SIZE-1); 667 kmem_free(printf_buffer, PRINTF_BUFFER_SIZE);
|
Completed in 60 milliseconds