Lines Matching refs:linebuf
103 * @linebuf: where to put the converted data
104 * @linebuflen: total size of @linebuf, including space for terminating NUL
116 * linebuf, sizeof(linebuf), true);
128 char *linebuf, size_t linebuflen, bool ascii)
160 ret = snprintf(linebuf + lx, linebuflen - lx,
171 ret = snprintf(linebuf + lx, linebuflen - lx,
182 ret = snprintf(linebuf + lx, linebuflen - lx,
194 linebuf[lx++] = hex_asc_hi(ch);
197 linebuf[lx++] = hex_asc_lo(ch);
200 linebuf[lx++] = ' ';
211 linebuf[lx++] = ' ';
217 linebuf[lx++] = (isascii(ch) && isprint(ch)) ? ch : '.';
220 linebuf[lx] = '\0';
223 linebuf[lx++] = '\0';
267 unsigned char linebuf[32 * 3 + 2 + 32 + 1];
277 linebuf, sizeof(linebuf), ascii);
282 level, prefix_str, ptr + i, linebuf);
285 printk("%s%s%.8x: %s\n", level, prefix_str, i, linebuf);
288 printk("%s%s%s\n", level, prefix_str, linebuf);