Lines Matching defs:dm_bufio_client
80 struct dm_bufio_client { struct
81 struct mutex lock;
83 struct list_head lru[LIST_SIZE];
84 unsigned long n_buffers[LIST_SIZE];
86 struct block_device *bdev;
87 unsigned block_size;
88 unsigned char sectors_per_block_bits;
89 unsigned char pages_per_block_bits;
90 unsigned char blocks_per_page_bits;
91 unsigned aux_size;
92 void (*alloc_callback)(struct dm_buffer *);
93 void (*write_callback)(struct dm_buffer *);
95 struct dm_io_client *dm_io;
97 struct list_head reserved_buffers;
98 unsigned need_reserved_buffers;
100 unsigned minimum_buffers;
102 struct rb_root buffer_tree;
103 wait_queue_head_t free_buffer_wait;
105 int async_write_error;
107 struct list_head client_list;
108 struct shrinker shrinker;