libkdumpfile-0.4.1
Kernel coredump file access
Data Fields
fcache Struct Reference

File cache. More...

#include <kdumpfile-priv.h>

Data Fields

unsigned long refcnt
 Reference counter. More...
 
int fd
 Open file descriptor. More...
 
kdump_attr_value_t mmap_policy
 Policy for using mmap(2) vs. More...
 
size_t pgsz
 Page size (in bytes). More...
 
size_t mmapsz
 Size of mmap'ed regions. More...
 
off_t filesz
 File size (if known) or maximum off_t. More...
 
struct cachecache
 Main cache (for mmap'ed regions). More...
 
struct cachefbcache
 Fallback cache (for read regions). More...
 

Detailed Description

File cache.

Field Documentation

◆ cache

struct cache* fcache::cache

Main cache (for mmap'ed regions).

◆ fbcache

struct cache* fcache::fbcache

Fallback cache (for read regions).

◆ fd

int fcache::fd

Open file descriptor.

◆ filesz

off_t fcache::filesz

File size (if known) or maximum off_t.

◆ mmap_policy

kdump_attr_value_t fcache::mmap_policy

Policy for using mmap(2) vs.

read(2).

See also
kdump_mmap_policy_t

◆ mmapsz

size_t fcache::mmapsz

Size of mmap'ed regions.

◆ pgsz

size_t fcache::pgsz

Page size (in bytes).

◆ refcnt

unsigned long fcache::refcnt

Reference counter.


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