Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dcompression.c1249 u32 entropy_sum = 0; in shannon_entropy() local
1257 entropy_sum += p * (sz_base - p_base); in shannon_entropy()
1260 entropy_sum /= ws->sample_size; in shannon_entropy()
1261 return entropy_sum * 100 / entropy_max; in shannon_entropy()