Lines Matching full:update
21 * Jan 2007: Alexander Schmidt, hacked per-volume update.
25 * This file contains implementation of the volume update and atomic LEB change
28 * The update operation is based on the per-volume update marker which is
29 * stored in the volume table. The update marker is set before the update
30 * starts, and removed after the update has been finished. So if the update was
31 * interrupted by an unclean re-boot or due to some other reasons, the update
33 * device next time. If the update marker is set for a volume, the volume is
34 * treated as damaged and most I/O operations are prohibited. Only a new update
37 * Note, in general it is possible to implement the update operation as a
47 * set_update_marker - set update marker.
51 * This function sets the update marker flag for volume @vol. Returns zero
59 dbg_gen("set update marker for volume %d", vol->vol_id); in set_update_marker()
79 * clear_update_marker - clear update marker.
84 * This function clears the update marker for volume @vol, sets new volume
94 dbg_gen("clear update marker for volume %d", vol->vol_id); in clear_update_marker()
120 * ubi_start_update - start volume update.
123 * @bytes: update bytes
125 * This function starts volume update operation. If @bytes is zero, the volume
134 dbg_gen("start update of volume %d, %llu bytes", vol->vol_id, bytes); in ubi_start_update()
206 * write_leb - write update data.
215 * This function writes update data to corresponding logical eraseblock. In
225 * space is writable after the update.
270 * ubi_more_update_data - write more update data.
277 * be called arbitrary number of times until all the update data arriveis. This
279 * last call if the whole volume update has been successfully finished, and a
304 * copy the data to our update buffer and wait for more data or in ubi_more_update_data()
305 * flush it if the whole eraseblock is written or the update in ubi_more_update_data()
371 /* The update is finished, clear the update marker */ in ubi_more_update_data()