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

Function _dump_append

freebsd/kern/kern_shutdown.c:1620–1636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1618}
1619
1620static int
1621_dump_append(struct dumperinfo *di, void *virtual, vm_offset_t physical,
1622 size_t length)
1623{
1624 int error;
1625
1626#ifdef EKCD
1627 if (di->kdcrypto != NULL)
1628 error = dump_encrypted_write(di, virtual, physical, di->dumpoff,
1629 length);
1630 else
1631#endif
1632 error = dump_write(di, virtual, physical, di->dumpoff, length);
1633 if (error == 0)
1634 di->dumpoff += length;
1635 return (error);
1636}
1637
1638/*
1639 * Write to the dump device starting at dumpoff. When compression is enabled,

Callers 3

kerneldumpcomp_write_cbFunction · 0.85
dump_appendFunction · 0.85
dump_finishFunction · 0.85

Calls 2

dump_encrypted_writeFunction · 0.85
dump_writeFunction · 0.85

Tested by

no test coverage detected