Home
last modified time | relevance | path

Searched refs:may_format_device (Results 1 – 3 of 3) sorted by relevance

/drivers/md/
Ddm-cache-metadata.c533 bool may_format_device) in __create_persistent_data_objects() argument
545 r = __open_or_format_metadata(cmd, may_format_device); in __create_persistent_data_objects()
750 bool may_format_device, in metadata_open() argument
773 r = __create_persistent_data_objects(cmd, may_format_device); in metadata_open()
811 bool may_format_device, in lookup_or_open() argument
824 cmd = metadata_open(bdev, data_block_size, may_format_device, in lookup_or_open()
856 bool may_format_device, in dm_cache_metadata_open() argument
860 struct dm_cache_metadata *cmd = lookup_or_open(bdev, data_block_size, may_format_device, in dm_cache_metadata_open()
Ddm-clone-metadata.c423 static int __open_or_format_metadata(struct dm_clone_metadata *cmd, bool may_format_device) in __open_or_format_metadata() argument
433 return may_format_device ? __format_metadata(cmd) : -EPERM; in __open_or_format_metadata()
439 bool may_format_device) in __create_persistent_data_structures() argument
452 r = __open_or_format_metadata(cmd, may_format_device); in __create_persistent_data_structures()
Ddm-cache-metadata.h61 bool may_format_device,