libkdumpfile-0.5.5
Kernel coredump file access
Data Fields
sadump_header Struct Reference

Dump header. More...

Data Fields

char signature [8]
 Must be SADUMP_SIGNATURE. More...
 
uint32_t header_version
 Dump header version. More...
 
uint32_t _pad1
 
struct efi_time timestamp
 Wall-clock time of the dump. More...
 
uint32_t status
 Status. More...
 
uint32_t compress
 Compression flags. More...
 
uint32_t block_size
 Size of a block in bytes. More...
 
uint32_t extra_hdr_size
 Size of host-dependent headers in blocks. More...
 
uint32_t sub_hdr_size
 Size of arch-dependent headers in blocks. More...
 
uint32_t bitmap_blocks
 Size of the memory bitmap in blocks. More...
 
uint32_t dumpable_bitmap_blocks
 Size of the dumped memory bitmap in blocks. More...
 
uint32_t max_mapnr
 Highest PFN number. More...
 
uint32_t total_ram_blocks
 Size of RAM in blocks. More...
 
uint32_t device_blocks
 Total number of blocks in the dump device. More...
 
uint32_t written_blocks
 Number of blocks written to the dump device. More...
 
uint32_t current_cpu
 CPU that handles the dump. More...
 
uint32_t nr_cpus
 Total number of CPUs in the system. More...
 
uint32_t _pad2
 Padding to a multiple of 64 bits. More...
 
uint64_t max_mapnr_64
 64-bit max_mapnr (header_version 1 and later). More...
 
uint64_t total_ram_blocks_64
 64-bit total_ram_blocks (header_version 1 and later). More...
 
uint64_t device_blocks_64
 64-bit device_blocks (header_version 1 and later). More...
 
uint64_t written_blocks_64
 64-bit written_blocks (header_version 1 and later). More...
 

Detailed Description

Dump header.

Field Documentation

◆ _pad2

uint32_t sadump_header::_pad2

Padding to a multiple of 64 bits.

◆ bitmap_blocks

uint32_t sadump_header::bitmap_blocks

Size of the memory bitmap in blocks.

◆ block_size

uint32_t sadump_header::block_size

Size of a block in bytes.

◆ compress

uint32_t sadump_header::compress

Compression flags.

Undocumented.

◆ current_cpu

uint32_t sadump_header::current_cpu

CPU that handles the dump.

◆ device_blocks

uint32_t sadump_header::device_blocks

Total number of blocks in the dump device.

◆ device_blocks_64

uint64_t sadump_header::device_blocks_64

64-bit device_blocks (header_version 1 and later).

◆ dumpable_bitmap_blocks

uint32_t sadump_header::dumpable_bitmap_blocks

Size of the dumped memory bitmap in blocks.

◆ extra_hdr_size

uint32_t sadump_header::extra_hdr_size

Size of host-dependent headers in blocks.

◆ header_version

uint32_t sadump_header::header_version

Dump header version.

◆ max_mapnr

uint32_t sadump_header::max_mapnr

Highest PFN number.

◆ max_mapnr_64

uint64_t sadump_header::max_mapnr_64

64-bit max_mapnr (header_version 1 and later).

◆ nr_cpus

uint32_t sadump_header::nr_cpus

Total number of CPUs in the system.

◆ signature

char sadump_header::signature[8]

Must be SADUMP_SIGNATURE.

◆ status

uint32_t sadump_header::status

Status.

Undocumented.

◆ sub_hdr_size

uint32_t sadump_header::sub_hdr_size

Size of arch-dependent headers in blocks.

◆ timestamp

struct efi_time sadump_header::timestamp

Wall-clock time of the dump.

◆ total_ram_blocks

uint32_t sadump_header::total_ram_blocks

Size of RAM in blocks.

◆ total_ram_blocks_64

uint64_t sadump_header::total_ram_blocks_64

64-bit total_ram_blocks (header_version 1 and later).

◆ written_blocks

uint32_t sadump_header::written_blocks

Number of blocks written to the dump device.

◆ written_blocks_64

uint64_t sadump_header::written_blocks_64

64-bit written_blocks (header_version 1 and later).


The documentation for this struct was generated from the following file: