Lines Matching refs:dm_block_manager
373 struct dm_block_manager { struct
378 struct dm_block_manager *dm_block_manager_create(struct block_device *bdev, in dm_block_manager_create() argument
383 struct dm_block_manager *bm; in dm_block_manager_create()
410 void dm_block_manager_destroy(struct dm_block_manager *bm) in dm_block_manager_destroy()
417 unsigned dm_bm_block_size(struct dm_block_manager *bm) in dm_bm_block_size()
423 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm) in dm_bm_nr_blocks()
428 static int dm_bm_validate_buffer(struct dm_block_manager *bm, in dm_bm_validate_buffer()
455 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b, in dm_bm_read_lock()
488 int dm_bm_write_lock(struct dm_block_manager *bm, in dm_bm_write_lock()
524 int dm_bm_read_try_lock(struct dm_block_manager *bm, in dm_bm_read_try_lock()
557 int dm_bm_write_lock_zero(struct dm_block_manager *bm, in dm_bm_write_lock_zero()
603 int dm_bm_flush(struct dm_block_manager *bm) in dm_bm_flush()
612 void dm_bm_prefetch(struct dm_block_manager *bm, dm_block_t b) in dm_bm_prefetch()
617 bool dm_bm_is_read_only(struct dm_block_manager *bm) in dm_bm_is_read_only()
623 void dm_bm_set_read_only(struct dm_block_manager *bm) in dm_bm_set_read_only()
630 void dm_bm_set_read_write(struct dm_block_manager *bm) in dm_bm_set_read_write()