libkdumpfile-0.4.0
Kernel coredump file access
|
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... | |
const struct format_ops * | ops |
File format operations. More... | |
void * | fmtdata |
File format private data. More... | |
const struct arch_ops * | arch_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... | |
struct cache * | cache |
Page cache. More... | |
struct fcache * | fcache |
File cache. More... | |
mutex_t | cache_lock |
Cache access lock. More... | |
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.
enum kdump_arch kdump_shared::arch |
Internal-only arch index.
int kdump_shared::arch_init_done |
Non-zero if arch init has been called.
const 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.
const struct format_ops* kdump_shared::ops |
File format operations.
unsigned long kdump_shared::refcnt |
Reference counter.