Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/conf.h
Show First 20 Lines • Show All 333 Lines • ▼ Show 20 Lines | struct dumperinfo { | ||||
dumper_t *dumper; /* Dumping function. */ | dumper_t *dumper; /* Dumping function. */ | ||||
void *priv; /* Private parts. */ | void *priv; /* Private parts. */ | ||||
u_int blocksize; /* Size of block in bytes. */ | u_int blocksize; /* Size of block in bytes. */ | ||||
u_int maxiosize; /* Max size allowed for an individual I/O */ | u_int maxiosize; /* Max size allowed for an individual I/O */ | ||||
off_t mediaoffset; /* Initial offset in bytes. */ | off_t mediaoffset; /* Initial offset in bytes. */ | ||||
off_t mediasize; /* Space available in bytes. */ | off_t mediasize; /* Space available in bytes. */ | ||||
void *blockbuf; /* Buffer for padding shorter dump blocks */ | void *blockbuf; /* Buffer for padding shorter dump blocks */ | ||||
off_t dumpoff; /* Offset of ongoing kernel dump. */ | off_t dumpoff; /* Offset of ongoing kernel dump. */ | ||||
struct kerneldumpcrypto *kdc; /* Kernel dump crypto. */ | struct kerneldumpcrypto *kdcrypto; /* Kernel dump crypto. */ | ||||
struct kerneldumpgz *kdgz; /* Kernel dump compression. */ | struct kerneldumpcomp *kdcomp; /* Kernel dump compression. */ | ||||
}; | }; | ||||
extern int dumping; /* system is dumping */ | extern int dumping; /* system is dumping */ | ||||
int doadump(boolean_t); | int doadump(boolean_t); | ||||
int set_dumper(struct dumperinfo *di, const char *devname, struct thread *td, | int set_dumper(struct dumperinfo *di, const char *devname, struct thread *td, | ||||
uint8_t compression, uint8_t encryption, const uint8_t *key, | uint8_t compression, uint8_t encryption, const uint8_t *key, | ||||
uint32_t encryptedkeysize, const uint8_t *encryptedkey); | uint32_t encryptedkeysize, const uint8_t *encryptedkey); | ||||
Show All 11 Lines |