Home
last modified time | relevance | path

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

/kernel/debug/kdb/
Dkdb_io.c201 char *lastchar; in kdb_read() local
224 lastchar = cp; in kdb_read()
234 if (cp < lastchar) { in kdb_read()
235 memcpy(tmpbuffer, cp, lastchar - cp); in kdb_read()
236 memcpy(cp-1, tmpbuffer, lastchar - cp); in kdb_read()
238 *(--lastchar) = '\0'; in kdb_read()
249 *lastchar++ = '\n'; in kdb_read()
250 *lastchar++ = '\0'; in kdb_read()
258 if (cp < lastchar) { in kdb_read()
259 memcpy(tmpbuffer, cp+1, lastchar - cp - 1); in kdb_read()
[all …]