Lines Matching refs:bytes
83 long long bytes) in clear_update_marker() argument
96 vol->used_bytes = bytes; in clear_update_marker()
97 vol->used_ebs = div_u64_rem(bytes, vol->usable_leb_size, in clear_update_marker()
123 long long bytes) in ubi_start_update() argument
127 dbg_gen("start update of volume %d, %llu bytes", vol->vol_id, bytes); in ubi_start_update()
146 if (bytes == 0) { in ubi_start_update()
160 vol->upd_ebs = div_u64(bytes + vol->usable_leb_size - 1, in ubi_start_update()
162 vol->upd_bytes = bytes; in ubi_start_update()
182 vol->vol_id, req->lnum, req->bytes); in ubi_start_leb_change()
183 if (req->bytes == 0) in ubi_start_leb_change()
186 vol->upd_bytes = req->bytes; in ubi_start_leb_change()
191 vol->upd_buf = vmalloc(req->bytes); in ubi_start_leb_change()