Home
last modified time | relevance | path

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

/kernel/lib/debuglog/
A Ddebuglog.cpp151 size_t fifospace = DLOG_SIZE - offset; in dlog_write() local
153 if (fifospace >= wiresize) { in dlog_write()
157 } else if (fifospace < sizeof(hdr)) { in dlog_write()
159 memcpy(log->data + offset, &hdr, fifospace); in dlog_write()
160 memcpy(log->data, reinterpret_cast<uint8_t*>(&hdr) + fifospace, sizeof(hdr) - fifospace); in dlog_write()
166 fifospace -= sizeof(hdr); in dlog_write()
167 memcpy(log->data + offset, ptr, fifospace); in dlog_write()
168 memcpy(log->data, ptr + fifospace, len - fifospace); in dlog_write()
231 size_t fifospace = DLOG_SIZE - offset; in dlog_read() local
233 if (fifospace >= actual) { in dlog_read()
[all …]

Completed in 7 milliseconds