Lines Matching refs:used_ebs
244 vol->used_ebs = vol->reserved_pebs; in ubi_create_volume()
247 (long long)vol->used_ebs * vol->usable_leb_size; in ubi_create_volume()
249 vol->used_ebs = div_u64_rem(vol->used_bytes, in ubi_create_volume()
253 vol->used_ebs += 1; in ubi_create_volume()
422 reserved_pebs < vol->used_ebs) { in ubi_resize_volume()
424 reserved_pebs, vol->used_ebs); in ubi_resize_volume()
504 vol->used_ebs = reserved_pebs; in ubi_resize_volume()
507 (long long)vol->used_ebs * vol->usable_leb_size; in ubi_resize_volume()
717 n = (long long)vol->used_ebs * vol->usable_leb_size; in self_check_volume()
723 if (vol->used_ebs != vol->reserved_pebs) { in self_check_volume()
741 if (vol->used_ebs < 0 || vol->used_ebs > vol->reserved_pebs) { in self_check_volume()