Home
last modified time | relevance | path

Searched refs:metadata_version (Results 1 – 6 of 6) sorted by relevance

/drivers/md/
Ddm-cache-metadata.c185 uint32_t metadata_version = le32_to_cpu(disk_super->version); in check_metadata_version() local
187 if (metadata_version < MIN_CACHE_VERSION || metadata_version > MAX_CACHE_VERSION) { in check_metadata_version()
189 metadata_version, MIN_CACHE_VERSION, MAX_CACHE_VERSION); in check_metadata_version()
752 unsigned metadata_version) in metadata_open() argument
763 cmd->version = metadata_version; in metadata_open()
813 unsigned metadata_version) in lookup_or_open() argument
825 policy_hint_size, metadata_version); in lookup_or_open()
858 unsigned metadata_version) in dm_cache_metadata_open() argument
861 policy_hint_size, metadata_version); in dm_cache_metadata_open()
Ddm-clone-metadata.c184 u32 csum, metadata_version; in sb_check() local
211 metadata_version = le32_to_cpu(sb->version); in sb_check()
212 if (metadata_version < DM_CLONE_MIN_METADATA_VERSION || in sb_check()
213 metadata_version > DM_CLONE_MAX_METADATA_VERSION) { in sb_check()
215 metadata_version, DM_CLONE_MIN_METADATA_VERSION, in sb_check()
Ddm-cache-metadata.h63 unsigned metadata_version);
Ddm-era-target.c206 uint32_t metadata_version = le32_to_cpu(disk->version); in check_metadata_version() local
207 if (metadata_version < MIN_ERA_VERSION || metadata_version > MAX_ERA_VERSION) { in check_metadata_version()
209 metadata_version, MIN_ERA_VERSION, MAX_ERA_VERSION); in check_metadata_version()
Ddm-cache-target.c348 unsigned metadata_version; member
2194 cf->metadata_version = 1; in init_features()
2235 cf->metadata_version = 2; in parse_features()
2502 ca->features.metadata_version); in cache_create()
3073 unsigned count = (cf->metadata_version == 2) + !cf->discard_passdown + 1; in emit_flags()
3077 if (cf->metadata_version == 2) in emit_flags()
Dmd.c4864 __ATTR_PREALLOC(metadata_version, S_IRUGO|S_IWUSR, metadata_show, metadata_store);