Home
last modified time | relevance | path

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

/linux-2.6.39/kernel/debug/kdb/
Dkdb_io.c202 char *lastchar; in kdb_read() local
225 lastchar = cp; in kdb_read()
237 if (cp < lastchar) { in kdb_read()
238 memcpy(tmpbuffer, cp, lastchar - cp); in kdb_read()
239 memcpy(cp-1, tmpbuffer, lastchar - cp); in kdb_read()
241 *(--lastchar) = '\0'; in kdb_read()
252 *lastchar++ = '\n'; in kdb_read()
253 *lastchar++ = '\0'; in kdb_read()
257 if (cp < lastchar) { in kdb_read()
258 memcpy(tmpbuffer, cp+1, lastchar - cp - 1); in kdb_read()
[all …]