|
libkdumpfile-0.5.6
Kernel coredump file access
|
Data Fields | |
| const char * | name |
| Format name (identifier). | |
| kdump_status(* | probe )(kdump_ctx_t *ctx) |
| kdump_status(* | get_page )(struct page_io *pio) |
| Get page data. | |
| void(* | put_page )(struct page_io *pio) |
| Drop a reference to a page. | |
| kdump_status(* | post_addrxlat )(kdump_ctx_t *ctx) |
| Address translation post-hook. | |
| kdump_status(* | realloc_caches )(kdump_ctx_t *ctx) |
| Reallocate any format-specific caches. | |
| void(* | attr_cleanup )(struct attr_dict *dict) |
| Clean up attribute hooks. | |
| void(* | cleanup )(struct kdump_shared *) |
| void(* format_ops::attr_cleanup) (struct attr_dict *dict) |
Clean up attribute hooks.
| dict | Attribute dictionary. |
| kdump_status(* format_ops::get_page) (struct page_io *pio) |
Get page data.
| pio | Page I/O control. |
Note: The requested address space is specified in pio. It is always an address space specified by xlat_caps. Since most file formats specify only one capability, their get_page methods do not have to care.
| const char* format_ops::name |
Format name (identifier).
This is a unique identifier for the dump file format. In other words, there is a 1:1 mapping between this identifier and the access methods for the corresponding dump file.
| kdump_status(* format_ops::post_addrxlat) (kdump_ctx_t *ctx) |
Address translation post-hook.
| ctx | Dump file object. |
This routine is called whenever address translation is (re-)initialized to allow format-specific adjustments to the translation system (e.g. physical<->machine address translation in a Xen DomU dump file).
| void(* format_ops::put_page) (struct page_io *pio) |
Drop a reference to a page.
| pio | Page I/O control. |
| kdump_status(* format_ops::realloc_caches) (kdump_ctx_t *ctx) |
Reallocate any format-specific caches.
| ctx | Dump file object. |