Home
last modified time | relevance | path

Searched refs:lastchar (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/kernel/debug/kdb/
Dkdb_io.c200 char *lastchar; in kdb_read() local
223 lastchar = cp; in kdb_read()
233 if (cp < lastchar) { in kdb_read()
234 memcpy(tmpbuffer, cp, lastchar - cp); in kdb_read()
235 memcpy(cp-1, tmpbuffer, lastchar - cp); in kdb_read()
237 *(--lastchar) = '\0'; in kdb_read()
248 *lastchar++ = '\n'; in kdb_read()
249 *lastchar++ = '\0'; in kdb_read()
257 if (cp < lastchar) { in kdb_read()
258 memcpy(tmpbuffer, cp+1, lastchar - cp - 1); in kdb_read()
[all …]