Lines Matching refs:fm_raw
562 void *fm_raw = ubi->fm_buf; in ubi_attach_fastmap() local
568 fmsb = (struct ubi_fm_sb *)(fm_raw); in ubi_attach_fastmap()
574 fmhdr = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
585 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
595 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
636 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
647 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
658 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
669 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
683 fmvhdr = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
712 fm_eba = (struct ubi_fm_eba *)(fm_raw + fm_pos); in ubi_attach_fastmap()
1125 void *fm_raw; in ubi_write_fastmap() local
1142 fm_raw = ubi->fm_buf; in ubi_write_fastmap()
1169 fmsb = (struct ubi_fm_sb *)fm_raw; in ubi_write_fastmap()
1173 fmh = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1190 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_write_fastmap()
1201 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_write_fastmap()
1213 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1226 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1238 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1251 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1269 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1290 fvh = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1304 feba = (struct ubi_fm_eba *)(fm_raw + fm_pos); in ubi_write_fastmap()
1341 fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw, in ubi_write_fastmap()
1358 ret = ubi_io_write_data(ubi, fm_raw + (i * ubi->leb_size), in ubi_write_fastmap()