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

Data Fields

struct mutex lock
 
struct list_head lru [LIST_SIZE]
 
unsigned long n_buffers [LIST_SIZE]
 
struct block_devicebdev
 
unsigned block_size
 
unsigned char sectors_per_block_bits
 
unsigned char pages_per_block_bits
 
unsigned char blocks_per_page_bits
 
unsigned aux_size
 
void(* alloc_callback )(struct dm_buffer *)
 
void(* write_callback )(struct dm_buffer *)
 
struct dm_io_clientdm_io
 
struct list_head reserved_buffers
 
unsigned need_reserved_buffers
 
struct hlist_headcache_hash
 
wait_queue_head_t free_buffer_wait
 
int async_write_error
 
struct list_head client_list
 
struct shrinker shrinker
 

Detailed Description

Definition at line 87 of file dm-bufio.c.

Field Documentation

void(* alloc_callback)(struct dm_buffer *)

Definition at line 99 of file dm-bufio.c.

int async_write_error

Definition at line 110 of file dm-bufio.c.

unsigned aux_size

Definition at line 98 of file dm-bufio.c.

Definition at line 93 of file dm-bufio.c.

unsigned block_size

Definition at line 94 of file dm-bufio.c.

unsigned char blocks_per_page_bits

Definition at line 97 of file dm-bufio.c.

struct hlist_head* cache_hash

Definition at line 107 of file dm-bufio.c.

struct list_head client_list

Definition at line 112 of file dm-bufio.c.

Definition at line 102 of file dm-bufio.c.

wait_queue_head_t free_buffer_wait

Definition at line 108 of file dm-bufio.c.

struct mutex lock

Definition at line 88 of file dm-bufio.c.

Definition at line 90 of file dm-bufio.c.

unsigned long n_buffers[LIST_SIZE]

Definition at line 91 of file dm-bufio.c.

unsigned need_reserved_buffers

Definition at line 105 of file dm-bufio.c.

unsigned char pages_per_block_bits

Definition at line 96 of file dm-bufio.c.

struct list_head reserved_buffers

Definition at line 104 of file dm-bufio.c.

unsigned char sectors_per_block_bits

Definition at line 95 of file dm-bufio.c.

Definition at line 113 of file dm-bufio.c.

void(* write_callback)(struct dm_buffer *)

Definition at line 100 of file dm-bufio.c.


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