Lines Matching defs:linebuf
104 * @linebuf: where to put the converted data
105 * @linebuflen: total size of @linebuf, including space for terminating NUL
117 * linebuf, sizeof(linebuf), true);
129 char *linebuf, size_t linebuflen, bool ascii)
161 ret = snprintf(linebuf + lx, linebuflen - lx,
172 ret = snprintf(linebuf + lx, linebuflen - lx,
183 ret = snprintf(linebuf + lx, linebuflen - lx,
195 linebuf[lx++] = hex_asc_hi(ch);
198 linebuf[lx++] = hex_asc_lo(ch);
201 linebuf[lx++] = ' ';
212 linebuf[lx++] = ' ';
218 linebuf[lx++] = (isascii(ch) && isprint(ch)) ? ch : '.';
221 linebuf[lx] = '\0';
224 linebuf[lx++] = '\0';
268 unsigned char linebuf[32 * 3 + 2 + 32 + 1];
278 linebuf, sizeof(linebuf), ascii);
283 level, prefix_str, ptr + i, linebuf);
286 printk("%s%s%.8x: %s\n", level, prefix_str, i, linebuf);
289 printk("%s%s%s\n", level, prefix_str, linebuf);