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
40 * set_update_marker - set update marker.
44 * This function sets the update marker flag for volume @vol. Returns zero
52 dbg_gen("set update marker for volume %d", vol->vol_id); in set_update_marker()
71 * clear_update_marker - clear update marker.
76 * This function clears the update marker for volume @vol, sets new volume
86 dbg_gen("clear update marker for volume %d", vol->vol_id); in clear_update_marker()
111 * ubi_start_update - start volume update.
114 * @bytes: update bytes
116 * This function starts volume update operation. If @bytes is zero, the volume
125 dbg_gen("start update of volume %d, %llu bytes", vol->vol_id, bytes); in ubi_start_update()
197 * write_leb - write update data.
206 * This function writes update data to corresponding logical eraseblock. In
216 * space is writable after the update.
259 * ubi_more_update_data - write more update data.
266 * be called arbitrary number of times until all the update data arriveis. This
268 * last call if the whole volume update has been successfully finished, and a
298 * copy the data to our update buffer and wait for more data or in ubi_more_update_data()
299 * flush it if the whole eraseblock is written or the update in ubi_more_update_data()
365 /* The update is finished, clear the update marker */ in ubi_more_update_data()