Lines Matching refs:bytes
89 long long bytes) in clear_update_marker() argument
103 vol->used_bytes = bytes; in clear_update_marker()
104 vol->used_ebs = div_u64_rem(bytes, vol->usable_leb_size, in clear_update_marker()
130 long long bytes) in ubi_start_update() argument
134 dbg_gen("start update of volume %d, %llu bytes", vol->vol_id, bytes); in ubi_start_update()
149 if (bytes == 0) { in ubi_start_update()
162 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update()
164 vol->upd_bytes = bytes; in ubi_start_update()
184 vol->vol_id, req->lnum, req->bytes); in ubi_start_leb_change()
185 if (req->bytes == 0) in ubi_start_leb_change()
189 vol->upd_bytes = req->bytes; in ubi_start_leb_change()
195 vol->upd_buf = vmalloc(req->bytes); in ubi_start_leb_change()