Searched defs:printf_buffer (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_client.c176 char *printf_buffer = NULL, *path_buffer = NULL; local
179 printf_buffer = kmem_alloc(PRINTF_BUFFER_SIZE, KM_SLEEP);
181 (void) snprintf(printf_buffer, PRINTF_BUFFER_SIZE, "%d ", err);
182 len = strlen(printf_buffer);
183 ret = vsnprintf(printf_buffer+len, PRINTF_BUFFER_SIZE-len, fmt, ap);
192 dev->nodename, printf_buffer);
196 if (xenbus_write(NULL, path_buffer, "error", printf_buffer) != 0) {
198 dev->nodename, printf_buffer);
203 if (printf_buffer)
204 kmem_free(printf_buffer, PRINTF_BUFFER_SIZ
[all...]
H A Dxenbus_xs.c656 char *printf_buffer; local
658 printf_buffer = kmem_alloc(PRINTF_BUFFER_SIZE, KM_SLEEP);
661 ret = vsnprintf(printf_buffer, PRINTF_BUFFER_SIZE, fmt, ap);
665 ret = xenbus_write(t, dir, node, printf_buffer);
667 kmem_free(printf_buffer, PRINTF_BUFFER_SIZE);

Completed in 60 milliseconds