Lines Matching refs:amortizedshift
241 unsigned int amortizedshift, in unpack_compacted_index() argument
252 if (1 << amortizedshift == 4) in unpack_compacted_index()
254 else if (1 << amortizedshift == 2 && lclusterbits == 12) in unpack_compacted_index()
260 encodebits = ((vcnt << amortizedshift) - sizeof(__le32)) * 8 / vcnt; in unpack_compacted_index()
261 base = round_down(eofs, vcnt << amortizedshift); in unpack_compacted_index()
264 i = (eofs - base) >> amortizedshift; in unpack_compacted_index()
340 in += (vcnt << amortizedshift) - sizeof(__le32); in unpack_compacted_index()
356 unsigned int amortizedshift; in compacted_load_cluster_from_disk() local
380 amortizedshift = 2; in compacted_load_cluster_from_disk()
387 amortizedshift = 1; in compacted_load_cluster_from_disk()
392 amortizedshift = 2; in compacted_load_cluster_from_disk()
394 pos += lcn * (1 << amortizedshift); in compacted_load_cluster_from_disk()
398 return unpack_compacted_index(m, amortizedshift, erofs_blkoff(pos), in compacted_load_cluster_from_disk()