Lines Matching refs:upd_bytes
154 vol->upd_bytes = bytes; in ubi_start_update()
178 vol->upd_bytes = req->bytes; in ubi_start_leb_change()
271 count, vol->upd_bytes, vol->upd_received); in ubi_more_update_data()
277 if (vol->upd_received + count > vol->upd_bytes) in ubi_more_update_data()
278 to_write = count = vol->upd_bytes - vol->upd_received; in ubi_more_update_data()
301 vol->upd_received + len == vol->upd_bytes) { in ubi_more_update_data()
336 vol->upd_received + len == vol->upd_bytes) { in ubi_more_update_data()
349 ubi_assert(vol->upd_received <= vol->upd_bytes); in ubi_more_update_data()
350 if (vol->upd_received == vol->upd_bytes) { in ubi_more_update_data()
355 err = clear_update_marker(ubi, vol, vol->upd_bytes); in ubi_more_update_data()
386 count, vol->upd_bytes, vol->upd_received); in ubi_more_leb_change_data()
391 if (vol->upd_received + count > vol->upd_bytes) in ubi_more_leb_change_data()
392 count = vol->upd_bytes - vol->upd_received; in ubi_more_leb_change_data()
400 if (vol->upd_received == vol->upd_bytes) { in ubi_more_leb_change_data()
401 int len = ALIGN((int)vol->upd_bytes, ubi->min_io_size); in ubi_more_leb_change_data()
403 memset(vol->upd_buf + vol->upd_bytes, 0xFF, in ubi_more_leb_change_data()
404 len - vol->upd_bytes); in ubi_more_leb_change_data()
412 ubi_assert(vol->upd_received <= vol->upd_bytes); in ubi_more_leb_change_data()
413 if (vol->upd_received == vol->upd_bytes) { in ubi_more_leb_change_data()