Searched refs:PRINTF_BUFFER_SIZE (Results 1 - 2 of 2) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/xen/xenbus/
H A Dxenbus_client.c237 #define PRINTF_BUFFER_SIZE 4096 macro
238 printf_buffer = kmalloc(PRINTF_BUFFER_SIZE, GFP_KERNEL);
243 ret = vsnprintf(printf_buffer+len, PRINTF_BUFFER_SIZE-len, fmt, ap);
245 BUG_ON(len + ret > PRINTF_BUFFER_SIZE-1);
H A Dxenbus_xs.c533 #define PRINTF_BUFFER_SIZE 4096 macro
536 printf_buffer = kmalloc(PRINTF_BUFFER_SIZE, GFP_NOIO | __GFP_HIGH);
541 ret = vsnprintf(printf_buffer, PRINTF_BUFFER_SIZE, fmt, ap);
544 BUG_ON(ret > PRINTF_BUFFER_SIZE-1);

Completed in 54 milliseconds