Lines Matching defs:buffer
89 * Detect length of the printable and non-whitespace string in the buffer.
142 char *buffer;
144 /* Buffer length */
147 /* Allocate a local buffer to store the string */
148 buffer = (char *)kmem_alloc(len, KM_SLEEP);
151 uiomove(buffer, len, uio);
153 printlen = printable_length(buffer, len);
159 panic("panic string: %.*s\n", (int)printlen, buffer);
160 // printf("panic string: %.*s\n", (int)printlen, buffer);
165 kmem_free(buffer, len);