Lines Matching full:update

8  * Jan 2007: Alexander Schmidt, hacked per-volume update.
12 * This file contains implementation of the volume update and atomic LEB change
15 * The update operation is based on the per-volume update marker which is
16 * stored in the volume table. The update marker is set before the update
17 * starts, and removed after the update has been finished. So if the update was
18 * interrupted by an unclean re-boot or due to some other reasons, the update
20 * device next time. If the update marker is set for a volume, the volume is
21 * treated as damaged and most I/O operations are prohibited. Only a new update
24 * Note, in general it is possible to implement the update operation as a
34 * set_update_marker - set update marker.
38 * This function sets the update marker flag for volume @vol. Returns zero
46 dbg_gen("set update marker for volume %d", vol->vol_id); in set_update_marker()
65 * clear_update_marker - clear update marker.
70 * This function clears the update marker for volume @vol, sets new volume
80 dbg_gen("clear update marker for volume %d", vol->vol_id); in clear_update_marker()
105 * ubi_start_update - start volume update.
108 * @bytes: update bytes
110 * This function starts volume update operation. If @bytes is zero, the volume
119 dbg_gen("start update of volume %d, %llu bytes", vol->vol_id, bytes); in ubi_start_update()
191 * write_leb - write update data.
200 * This function writes update data to corresponding logical eraseblock. In
210 * space is writable after the update.
253 * ubi_more_update_data - write more update data.
260 * be called arbitrary number of times until all the update data arriveis. This
262 * last call if the whole volume update has been successfully finished, and a
287 * copy the data to our update buffer and wait for more data or in ubi_more_update_data()
288 * flush it if the whole eraseblock is written or the update in ubi_more_update_data()
354 /* The update is finished, clear the update marker */ in ubi_more_update_data()