Searched refs:upd_buf (Results 1 – 3 of 3) sorted by relevance
/drivers/mtd/ubi/ |
D | upd.c | 123 vol->upd_buf = vmalloc(ubi->leb_size); in ubi_start_update() 124 if (!vol->upd_buf) in ubi_start_update() 147 vfree(vol->upd_buf); in ubi_start_update() 183 vol->upd_buf = vmalloc(ALIGN((int)req->bytes, ubi->min_io_size)); in ubi_start_leb_change() 184 if (!vol->upd_buf) in ubi_start_leb_change() 296 err = copy_from_user(vol->upd_buf + offs, buf, len); in ubi_more_update_data() 309 err = write_leb(ubi, vol, lnum, vol->upd_buf, flush_len, in ubi_more_update_data() 331 err = copy_from_user(vol->upd_buf, buf, len); in ubi_more_update_data() 337 err = write_leb(ubi, vol, lnum, vol->upd_buf, in ubi_more_update_data() 360 vfree(vol->upd_buf); in ubi_more_update_data() [all …]
|
D | cdev.c | 130 vfree(vol->upd_buf); in vol_cdev_release() 136 vfree(vol->upd_buf); in vol_cdev_release()
|
D | ubi.h | 364 void *upd_buf; member
|