Home
last modified time | relevance | path

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

/kernel/debug/kdb/
Dkdb_io.c208 char *lastchar; in kdb_read() local
231 lastchar = cp; in kdb_read()
246 if (cp < lastchar) { in kdb_read()
247 memcpy(tmpbuffer, cp, lastchar - cp); in kdb_read()
248 memcpy(cp-1, tmpbuffer, lastchar - cp); in kdb_read()
250 *(--lastchar) = '\0'; in kdb_read()
266 *lastchar++ = '\n'; in kdb_read()
267 *lastchar++ = '\0'; in kdb_read()
275 if (cp < lastchar) { in kdb_read()
276 memcpy(tmpbuffer, cp+1, lastchar - cp - 1); in kdb_read()
[all …]