Home
last modified time | relevance | path

Searched refs:upd_bytes (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/mtd/ubi/
H A Dupd.c154 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()
350 if (vol->upd_received == vol->upd_bytes) { in ubi_more_update_data()
386 count, vol->upd_bytes, vol->upd_received); 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()
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()
[all …]
H A Dubi.h362 long long upd_bytes; member
H A Dcdev.c133 vol->upd_received, vol->upd_bytes, vol->ubi->ubi_num, in vol_cdev_release()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dupd.c160 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()
361 if (vol->upd_received == vol->upd_bytes) { in ubi_more_update_data()
397 count, vol->upd_bytes, vol->upd_received); 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()
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()
[all …]
H A Dubi.h339 long long upd_bytes; member