Lines Matching defs:dm_bufio_client
83 struct dm_bufio_client { struct
84 struct mutex lock;
85 spinlock_t spinlock;
86 bool no_sleep;
88 struct list_head lru[LIST_SIZE];
89 unsigned long n_buffers[LIST_SIZE];
91 struct block_device *bdev;
92 unsigned block_size;
93 s8 sectors_per_block_bits;
94 void (*alloc_callback)(struct dm_buffer *);
95 void (*write_callback)(struct dm_buffer *);
96 struct kmem_cache *slab_buffer;
97 struct kmem_cache *slab_cache;
98 struct dm_io_client *dm_io;
100 struct list_head reserved_buffers;
101 unsigned need_reserved_buffers;
103 unsigned minimum_buffers;
105 struct rb_root buffer_tree;
106 wait_queue_head_t free_buffer_wait;
108 sector_t start;
110 int async_write_error;
112 struct list_head client_list;
114 struct shrinker shrinker;
115 struct work_struct shrink_work;
116 atomic_long_t need_shrink;