Home
last modified time | relevance | path

Searched refs:amortizedshift (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/fs/erofs/
H A Dzmap.c208 unsigned int amortizedshift, in unpack_compacted_index()
218 if (1 << amortizedshift == 4 && lclusterbits <= 14) in unpack_compacted_index()
220 else if (1 << amortizedshift == 2 && lclusterbits == 12) in unpack_compacted_index()
225 encodebits = ((vcnt << amortizedshift) - sizeof(__le32)) * 8 / vcnt; in unpack_compacted_index()
226 base = round_down(eofs, vcnt << amortizedshift); in unpack_compacted_index()
229 i = (eofs - base) >> amortizedshift; in unpack_compacted_index()
266 in += (vcnt << amortizedshift) - sizeof(__le32); in unpack_compacted_index()
281 unsigned int amortizedshift; in compacted_load_cluster_from_disk() local
301 amortizedshift = 2; in compacted_load_cluster_from_disk()
308 amortizedshift in compacted_load_cluster_from_disk()
207 unpack_compacted_index(struct z_erofs_maprecorder *m, unsigned int amortizedshift, unsigned int eofs) unpack_compacted_index() argument
[all...]
/kernel/linux/linux-6.6/fs/erofs/
H A Dzmap.c118 unsigned int amortizedshift, in unpack_compacted_index()
128 if (1 << amortizedshift == 4 && lclusterbits <= 14) in unpack_compacted_index()
130 else if (1 << amortizedshift == 2 && lclusterbits <= 12) in unpack_compacted_index()
136 m->nextpackoff = round_down(pos, vcnt << amortizedshift) + in unpack_compacted_index()
137 (vcnt << amortizedshift); in unpack_compacted_index()
140 encodebits = ((vcnt << amortizedshift) - sizeof(__le32)) * 8 / vcnt; in unpack_compacted_index()
142 base = round_down(eofs, vcnt << amortizedshift); in unpack_compacted_index()
145 i = (eofs - base) >> amortizedshift; in unpack_compacted_index()
220 in += (vcnt << amortizedshift) - sizeof(__le32); in unpack_compacted_index()
234 unsigned int amortizedshift; in z_erofs_load_compact_lcluster() local
117 unpack_compacted_index(struct z_erofs_maprecorder *m, unsigned int amortizedshift, erofs_off_t pos, bool lookahead) unpack_compacted_index() argument
[all...]

Completed in 2 milliseconds