Lines Matching defs:alignment
136 int i, n, reserved_pebs, alignment, data_pad, vol_type, name_len;
145 alignment = ubi32_to_cpu(vtbl[i].alignment);
169 if (reserved_pebs < 0 || alignment < 0 || data_pad < 0 ||
175 if (alignment > ubi->leb_size || alignment == 0) {
176 dbg_err("bad alignment");
180 n = alignment % ubi->min_io_size;
181 if (alignment != 1 && n) {
182 dbg_err("alignment is not multiple of min I/O unit");
186 n = ubi->leb_size % alignment;
511 vol->alignment = ubi32_to_cpu(vtbl[i].alignment);
566 vol->alignment = 1;