Lines Matching refs:fm_raw

620 	void *fm_raw = ubi->fm_buf;  in ubi_attach_fastmap()  local
626 fmsb = (struct ubi_fm_sb *)(fm_raw); in ubi_attach_fastmap()
632 fmhdr = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
643 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
653 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
694 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
705 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
716 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
727 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
741 fmvhdr = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
770 fm_eba = (struct ubi_fm_eba *)(fm_raw + fm_pos); in ubi_attach_fastmap()
1105 void *fm_raw; in ubi_write_fastmap() local
1121 fm_raw = ubi->fm_buf; in ubi_write_fastmap()
1145 fmsb = (struct ubi_fm_sb *)fm_raw; in ubi_write_fastmap()
1149 fmh = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1166 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_write_fastmap()
1177 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_write_fastmap()
1189 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1202 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1214 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1227 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1245 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1266 fvh = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1280 feba = (struct ubi_fm_eba *)(fm_raw + fm_pos); in ubi_write_fastmap()
1313 fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw, in ubi_write_fastmap()
1330 ret = ubi_io_write(ubi, fm_raw + (i * ubi->leb_size), in ubi_write_fastmap()