69 vtbl_rec.upd_marker = 1;
99 vtbl_rec.upd_marker = 0;
134 dbg_gen(
"start update of volume %d, %llu bytes", vol->
vol_id, bytes);
138 err = set_update_marker(ubi, vol);
154 err = clear_update_marker(ubi, vol, 0);
186 dbg_gen(
"start changing LEB %d:%d, %u bytes",
233 void *
buf,
int len,
int used_ebs)
240 memset(buf + len, 0xFF, l - len);
243 dbg_gen(
"all %d bytes contain 0xFF - skip", len);
279 const void __user *buf,
int count)
281 int lnum,
offs, err = 0, len, to_write =
count;
283 dbg_gen(
"write %d of %lld bytes, %lld already passed",
315 int flush_len = offs + len;
321 ubi_assert(flush_len <= vol->usable_leb_size);
322 err = write_leb(ubi, vol, lnum, vol->
upd_buf, flush_len,
350 err = write_leb(ubi, vol, lnum, vol->
upd_buf,
368 err = clear_update_marker(ubi, vol, vol->
upd_bytes);
394 const void __user *buf,
int count)
398 dbg_gen(
"write %d of %lld bytes, %lld already passed",