MCPcopy Create free account
hub / github.com/F-Stack/f-stack / textdump_writenextblock

Function textdump_writenextblock

freebsd/ddb/db_textdump.c:286–294  ·  view source on GitHub ↗

* Interface to write the "next block" relative to the current offset; since * we write backwards from the end of the partition, we subtract, but there's * no reason for the caller to know this. */

Source from the content-addressed store, hash-verified

284 * no reason for the caller to know this.
285 */
286int
287textdump_writenextblock(struct dumperinfo *di, char *buffer)
288{
289 int error;
290
291 error = textdump_writeblock(di, textdump_offset, buffer);
292 textdump_offset -= TEXTDUMP_BLOCKSIZE;
293 return (error);
294}
295
296#ifdef INCLUDE_CONFIG_FILE
297extern char kernconfstring[];

Callers 6

db_capture_dumpFunction · 0.85
textdump_dump_configFunction · 0.85
textdump_dump_msgbufFunction · 0.85
textdump_dump_panicFunction · 0.85
textdump_dump_versionFunction · 0.85
textdump_dumpsysFunction · 0.85

Calls 1

textdump_writeblockFunction · 0.85

Tested by

no test coverage detected