Lines Matching refs:amortizedshift
196 unsigned int amortizedshift, in unpack_compacted_index() argument
206 if (1 << amortizedshift == 4) in unpack_compacted_index()
208 else if (1 << amortizedshift == 2 && lclusterbits == 12) in unpack_compacted_index()
213 encodebits = ((vcnt << amortizedshift) - sizeof(__le32)) * 8 / vcnt; in unpack_compacted_index()
214 base = round_down(eofs, vcnt << amortizedshift); in unpack_compacted_index()
217 i = (eofs - base) >> amortizedshift; in unpack_compacted_index()
254 in += (vcnt << amortizedshift) - sizeof(__le32); in unpack_compacted_index()
270 unsigned int amortizedshift; in compacted_load_cluster_from_disk() local
293 amortizedshift = 2; in compacted_load_cluster_from_disk()
300 amortizedshift = 1; in compacted_load_cluster_from_disk()
305 amortizedshift = 2; in compacted_load_cluster_from_disk()
307 pos += lcn * (1 << amortizedshift); in compacted_load_cluster_from_disk()
311 return unpack_compacted_index(m, amortizedshift, erofs_blkoff(pos)); in compacted_load_cluster_from_disk()