Searched refs:fm_buf (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/mtd/ubi/ |
H A D | fastmap.c | 611 void *fm_raw = ubi->fm_buf; ubi_attach_fastmap() 868 memset(ubi->fm_buf, 0, ubi->fm_size); ubi_scan_fastmap() 994 ret = ubi_io_read(ubi, ubi->fm_buf + (ubi->leb_size * i), pnum, ubi_scan_fastmap() 1006 fmsb2 = (struct ubi_fm_sb *)(ubi->fm_buf); ubi_scan_fastmap() 1009 crc = crc32(UBI_CRC32_INIT, ubi->fm_buf, fm_size); ubi_scan_fastmap() 1100 fm_raw = ubi->fm_buf; ubi_write_fastmap() 1101 memset(ubi->fm_buf, 0, ubi->fm_size); ubi_write_fastmap()
|
H A D | build.c | 991 ubi->fm_buf = vzalloc(ubi->fm_size); ubi_attach_mtd_dev() 992 if (!ubi->fm_buf) ubi_attach_mtd_dev() 1068 vfree(ubi->fm_buf); ubi_attach_mtd_dev() 1147 vfree(ubi->fm_buf); ubi_detach_mtd_dev()
|
H A D | ubi.h | 458 * @fm_protect: serializes ubi_update_fastmap(), protects @fm_buf and makes sure 460 * @fm_buf: vmalloc()'d buffer which holds the raw fastmap 570 void *fm_buf; member in struct:ubi_device
|
Completed in 141 milliseconds