libkdumpfile-0.5.1
Kernel coredump file access
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
kdump_shared Struct Reference

Shared state of the dump file object. More...

#include <kdumpfile-priv.h>

Data Fields

rwlock_t lock
 Guard accesses to shared data. More...
 
unsigned long refcnt
 Reference counter. More...
 
struct list_head ctx
 List of all refererring kdump_ctx_t structures. More...
 
struct format_opsops
 File format operations. More...
 
void * fmtdata
 File format private data. More...
 
struct arch_opsarch_ops
 Arch-specific operations. More...
 
void * archdata
 Arch-specific private data. More...
 
enum kdump_arch arch
 Internal-only arch index. More...
 
int arch_init_done
 Non-zero if arch init has been called. More...
 
size_t pendfiles
 Number of unspecified files. More...
 
struct cachecache
 Page cache. More...
 
struct fcachefcache
 File cache. More...
 
mutex_t cache_lock
 Cache access lock. More...
 

Detailed Description

Shared state of the dump file object.

This structure describes the data portion of the dump file object, which can be shared by many kdump_ctx_t objects.

Field Documentation

enum kdump_arch kdump_shared::arch

Internal-only arch index.

int kdump_shared::arch_init_done

Non-zero if arch init has been called.

struct arch_ops* kdump_shared::arch_ops

Arch-specific operations.

void* kdump_shared::archdata

Arch-specific private data.

struct cache* kdump_shared::cache

Page cache.

mutex_t kdump_shared::cache_lock

Cache access lock.

struct list_head kdump_shared::ctx

List of all refererring kdump_ctx_t structures.

Each kdump_ctx_t that holds a reference to this shared data must be added to this list.

struct fcache* kdump_shared::fcache

File cache.

void* kdump_shared::fmtdata

File format private data.

rwlock_t kdump_shared::lock

Guard accesses to shared data.

struct format_ops* kdump_shared::ops

File format operations.

size_t kdump_shared::pendfiles

Number of unspecified files.

unsigned long kdump_shared::refcnt

Reference counter.


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