Lines Matching refs:upd_bytes
162 vol->upd_bytes = bytes; in ubi_start_update()
186 vol->upd_bytes = req->bytes; in ubi_start_leb_change()
284 count, vol->upd_bytes, vol->upd_received); in ubi_more_update_data()
290 if (vol->upd_received + count > vol->upd_bytes) in ubi_more_update_data()
291 to_write = count = vol->upd_bytes - vol->upd_received; in ubi_more_update_data()
314 vol->upd_received + len == vol->upd_bytes) { in ubi_more_update_data()
349 vol->upd_received + len == vol->upd_bytes) { in ubi_more_update_data()
362 ubi_assert(vol->upd_received <= vol->upd_bytes); in ubi_more_update_data()
363 if (vol->upd_received == vol->upd_bytes) { in ubi_more_update_data()
368 err = clear_update_marker(ubi, vol, vol->upd_bytes); in ubi_more_update_data()
399 count, vol->upd_bytes, vol->upd_received); in ubi_more_leb_change_data()
404 if (vol->upd_received + count > vol->upd_bytes) in ubi_more_leb_change_data()
405 count = vol->upd_bytes - vol->upd_received; in ubi_more_leb_change_data()
413 if (vol->upd_received == vol->upd_bytes) { in ubi_more_leb_change_data()
414 int len = ALIGN((int)vol->upd_bytes, ubi->min_io_size); in ubi_more_leb_change_data()
416 memset(vol->upd_buf + vol->upd_bytes, 0xFF, in ubi_more_leb_change_data()
417 len - vol->upd_bytes); in ubi_more_leb_change_data()
425 ubi_assert(vol->upd_received <= vol->upd_bytes); in ubi_more_leb_change_data()
426 if (vol->upd_received == vol->upd_bytes) { in ubi_more_leb_change_data()