libkdumpfile-0.4.1
Kernel coredump file access
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...
 
const struct format_opsops
 File format operations. More...
 
void * fmtdata
 File format private data. More...
 
const 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...
 
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

◆ arch

enum kdump_arch kdump_shared::arch

Internal-only arch index.

◆ arch_init_done

int kdump_shared::arch_init_done

Non-zero if arch init has been called.

◆ arch_ops

const struct arch_ops* kdump_shared::arch_ops

Arch-specific operations.

◆ archdata

void* kdump_shared::archdata

Arch-specific private data.

◆ cache

struct cache* kdump_shared::cache

Page cache.

◆ cache_lock

mutex_t kdump_shared::cache_lock

Cache access lock.

◆ ctx

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.

◆ fcache

struct fcache* kdump_shared::fcache

File cache.

◆ fmtdata

void* kdump_shared::fmtdata

File format private data.

◆ lock

rwlock_t kdump_shared::lock

Guard accesses to shared data.

◆ ops

const struct format_ops* kdump_shared::ops

File format operations.

◆ refcnt

unsigned long kdump_shared::refcnt

Reference counter.


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