Lines Matching refs:upd_bytes
160 vol->upd_bytes = bytes;
184 vol->upd_bytes = req->bytes;
282 count, vol->upd_bytes, vol->upd_received);
288 if (vol->upd_received + count > vol->upd_bytes)
289 to_write = count = vol->upd_bytes - vol->upd_received;
312 vol->upd_received + len == vol->upd_bytes) {
347 vol->upd_received + len == vol->upd_bytes) {
360 ubi_assert(vol->upd_received <= vol->upd_bytes);
361 if (vol->upd_received == vol->upd_bytes) {
366 err = clear_update_marker(ubi, vol, vol->upd_bytes);
397 count, vol->upd_bytes, vol->upd_received);
402 if (vol->upd_received + count > vol->upd_bytes)
403 count = vol->upd_bytes - vol->upd_received;
411 if (vol->upd_received == vol->upd_bytes) {
412 int len = ALIGN((int)vol->upd_bytes, ubi->min_io_size);
414 memset(vol->upd_buf + vol->upd_bytes, 0xFF,
415 len - vol->upd_bytes);
423 ubi_assert(vol->upd_received <= vol->upd_bytes);
424 if (vol->upd_received == vol->upd_bytes) {