Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
cache_detail Struct Reference

#include <cache.h>

Data Fields

struct moduleowner
 
int hash_size
 
struct cache_head ** hash_table
 
rwlock_t hash_lock
 
atomic_t inuse
 
charname
 
void(* cache_put )(struct kref *)
 
int(* cache_upcall )(struct cache_detail *, struct cache_head *)
 
int(* cache_parse )(struct cache_detail *, char *buf, int len)
 
int(* cache_show )(struct seq_file *m, struct cache_detail *cd, struct cache_head *h)
 
void(* warn_no_listener )(struct cache_detail *cd, int has_died)
 
struct cache_head *(* alloc )(void)
 
int(* match )(struct cache_head *orig, struct cache_head *new)
 
void(* init )(struct cache_head *orig, struct cache_head *new)
 
void(* update )(struct cache_head *orig, struct cache_head *new)
 
time_t flush_time
 
struct list_head others
 
time_t nextcheck
 
int entries
 
struct list_head queue
 
atomic_t readers
 
time_t last_close
 
time_t last_warn
 
union {
   struct cache_detail_procfs   procfs
 
   struct cache_detail_pipefs   pipefs
 
u
 
struct netnet
 

Detailed Description

Definition at line 72 of file cache.h.

Field Documentation

struct cache_head*(* alloc)(void)
read

Definition at line 95 of file cache.h.

int(* cache_parse)(struct cache_detail *, char *buf, int len)

Definition at line 86 of file cache.h.

void(* cache_put)(struct kref *)

Definition at line 81 of file cache.h.

Definition at line 89 of file cache.h.

int(* cache_upcall)(struct cache_detail *, struct cache_head *)

Definition at line 83 of file cache.h.

int entries

Definition at line 107 of file cache.h.

time_t flush_time

Definition at line 103 of file cache.h.

rwlock_t hash_lock

Definition at line 76 of file cache.h.

int hash_size

Definition at line 74 of file cache.h.

struct cache_head** hash_table

Definition at line 75 of file cache.h.

void(* init)(struct cache_head *orig, struct cache_head *new)

Definition at line 97 of file cache.h.

atomic_t inuse

Definition at line 78 of file cache.h.

time_t last_close

Definition at line 113 of file cache.h.

time_t last_warn

Definition at line 114 of file cache.h.

int(* match)(struct cache_head *orig, struct cache_head *new)

Definition at line 96 of file cache.h.

char* name

Definition at line 80 of file cache.h.

Definition at line 120 of file cache.h.

time_t nextcheck

Definition at line 106 of file cache.h.

struct list_head others

Definition at line 105 of file cache.h.

struct module* owner

Definition at line 73 of file cache.h.

Definition at line 118 of file cache.h.

Definition at line 117 of file cache.h.

Definition at line 110 of file cache.h.

atomic_t readers

Definition at line 112 of file cache.h.

union { ... } u
void(* update)(struct cache_head *orig, struct cache_head *new)

Definition at line 98 of file cache.h.

void(* warn_no_listener)(struct cache_detail *cd, int has_died)

Definition at line 92 of file cache.h.


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