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

Function dump_write

freebsd/kern/kern_shutdown.c:1663–1673  ·  view source on GitHub ↗

* Write to the dump device at the specified offset. */

Source from the content-addressed store, hash-verified

1661 * Write to the dump device at the specified offset.
1662 */
1663int
1664dump_write(struct dumperinfo *di, void *virtual, vm_offset_t physical,
1665 off_t offset, size_t length)
1666{
1667 int error;
1668
1669 error = dump_check_bounds(di, offset, length);
1670 if (error != 0)
1671 return (error);
1672 return (di->dumper(di->priv, virtual, physical, offset, length));
1673}
1674
1675/*
1676 * Perform kernel dump finalization: flush the compression stream, if necessary,

Callers 6

dump_encrypted_writeFunction · 0.85
dump_write_headersFunction · 0.85
_dump_appendFunction · 0.85
dump_finishFunction · 0.85
textdump_writeblockFunction · 0.85
textdump_dumpsysFunction · 0.85

Calls 1

dump_check_boundsFunction · 0.85

Tested by

no test coverage detected