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