Lines Matching refs:bytes
82 long long bytes) in clear_update_marker() argument
95 vol->used_bytes = bytes; in clear_update_marker()
96 vol->used_ebs = div_u64_rem(bytes, vol->usable_leb_size, in clear_update_marker()
122 long long bytes) in ubi_start_update() argument
126 dbg_gen("start update of volume %d, %llu bytes", vol->vol_id, bytes); in ubi_start_update()
145 if (bytes == 0) { in ubi_start_update()
159 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update()
161 vol->upd_bytes = bytes; in ubi_start_update()
181 vol->vol_id, req->lnum, req->bytes); in ubi_start_leb_change()
182 if (req->bytes == 0) in ubi_start_leb_change()
185 vol->upd_bytes = req->bytes; in ubi_start_leb_change()
190 vol->upd_buf = vmalloc(req->bytes); in ubi_start_leb_change()