Lines Matching refs:dm_block_manager
379 struct dm_block_manager { struct
384 struct dm_block_manager *dm_block_manager_create(struct block_device *bdev, in dm_block_manager_create() argument
389 struct dm_block_manager *bm; in dm_block_manager_create()
417 void dm_block_manager_destroy(struct dm_block_manager *bm) in dm_block_manager_destroy()
424 void dm_block_manager_reset(struct dm_block_manager *bm) in dm_block_manager_reset()
430 unsigned int dm_bm_block_size(struct dm_block_manager *bm) in dm_bm_block_size()
436 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm) in dm_bm_nr_blocks()
441 static int dm_bm_validate_buffer(struct dm_block_manager *bm, in dm_bm_validate_buffer()
469 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b, in dm_bm_read_lock()
502 int dm_bm_write_lock(struct dm_block_manager *bm, in dm_bm_write_lock()
538 int dm_bm_read_try_lock(struct dm_block_manager *bm, in dm_bm_read_try_lock()
571 int dm_bm_write_lock_zero(struct dm_block_manager *bm, in dm_bm_write_lock_zero()
616 int dm_bm_flush(struct dm_block_manager *bm) in dm_bm_flush()
625 void dm_bm_prefetch(struct dm_block_manager *bm, dm_block_t b) in dm_bm_prefetch()
630 bool dm_bm_is_read_only(struct dm_block_manager *bm) in dm_bm_is_read_only()
636 void dm_bm_set_read_only(struct dm_block_manager *bm) in dm_bm_set_read_only()
643 void dm_bm_set_read_write(struct dm_block_manager *bm) in dm_bm_set_read_write()