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()
411 void dm_block_manager_destroy(struct dm_block_manager *bm) in dm_block_manager_destroy()
418 unsigned dm_bm_block_size(struct dm_block_manager *bm) in dm_bm_block_size()
424 dm_block_t dm_bm_nr_blocks(struct dm_block_manager *bm) in dm_bm_nr_blocks()
429 static int dm_bm_validate_buffer(struct dm_block_manager *bm, in dm_bm_validate_buffer()
456 int dm_bm_read_lock(struct dm_block_manager *bm, dm_block_t b, in dm_bm_read_lock()
489 int dm_bm_write_lock(struct dm_block_manager *bm, in dm_bm_write_lock()
525 int dm_bm_read_try_lock(struct dm_block_manager *bm, in dm_bm_read_try_lock()
558 int dm_bm_write_lock_zero(struct dm_block_manager *bm, in dm_bm_write_lock_zero()
604 int dm_bm_flush(struct dm_block_manager *bm) in dm_bm_flush()
613 void dm_bm_prefetch(struct dm_block_manager *bm, dm_block_t b) in dm_bm_prefetch()
618 bool dm_bm_is_read_only(struct dm_block_manager *bm) in dm_bm_is_read_only()
624 void dm_bm_set_read_only(struct dm_block_manager *bm) in dm_bm_set_read_only()
631 void dm_bm_set_read_write(struct dm_block_manager *bm) in dm_bm_set_read_write()