Lines Matching refs:dm_block_manager
34 struct dm_block_manager;
35 struct dm_block_manager *dm_block_manager_create(
38 void dm_block_manager_destroy(struct dm_block_manager *bm);
39 void dm_block_manager_reset(struct dm_block_manager *bm);
41 unsigned int dm_bm_block_size(struct dm_block_manager *bm);
42 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm);
77 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b,
81 int dm_bm_write_lock(struct dm_block_manager *bm, dm_block_t b,
89 int dm_bm_read_try_lock(struct dm_block_manager *bm, dm_block_t b,
97 int dm_bm_write_lock_zero(struct dm_block_manager *bm, dm_block_t b,
112 int dm_bm_flush(struct dm_block_manager *bm);
117 void dm_bm_prefetch(struct dm_block_manager *bm, dm_block_t b);
130 bool dm_bm_is_read_only(struct dm_block_manager *bm);
131 void dm_bm_set_read_only(struct dm_block_manager *bm);
132 void dm_bm_set_read_write(struct dm_block_manager *bm);