Home
last modified time | relevance | path

Searched refs:sparse_sample_rate (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/md/dm-vdo/indexer/
H A Dconfig.c75 if (saved_config->sparse_sample_rate != user->sparse_sample_rate) { in are_matching_configurations()
77 saved_config->sparse_sample_rate, in are_matching_configurations()
78 user->sparse_sample_rate); in are_matching_configurations()
134 decode_u32_le(buffer, &offset, &config.sparse_sample_rate); in uds_validate_config_contents()
210 encode_u32_le(buffer, &offset, config->sparse_sample_rate); in uds_write_config_contents()
345 config->sparse_sample_rate = (params->sparse ? DEFAULT_SPARSE_SAMPLE_RATE : 0); in uds_make_configuration()
374 vdo_log_debug(" Sparse sample rate: %10u", config->sparse_sample_rate); in uds_log_configuration()
H A Dconfig.h60 u32 sparse_sample_rate; member
80 u32 sparse_sample_rate; member
106 u32 sparse_sample_rate; member
H A Dvolume-index.c114 u32 sparse_sample_rate; member
164 return volume_index->sparse_sample_rate > 0; in has_sparse()
173 return (uds_extract_sampling_bytes(name) % volume_index->sparse_sample_rate) == 0; in uds_is_volume_index_sample()
332 sample_rate = config->sparse_sample_rate; in split_configuration()
925 decode_u32_le(buffer, &offset, &header.sparse_sample_rate); in start_restoring_volume_index()
938 volume_index->sparse_sample_rate = header.sparse_sample_rate; in start_restoring_volume_index()
939 } else if (volume_index->sparse_sample_rate != header.sparse_sample_rate) { in start_restoring_volume_index()
942 volume_index->sparse_sample_rate, in start_restoring_volume_index()
943 header.sparse_sample_rate); in start_restoring_volume_index()
1068 encode_u32_le(buffer, &offset, volume_index->sparse_sample_rate); in start_saving_volume_index()
[all …]
H A Dvolume-index.h94 u32 sparse_sample_rate; member