Lines Matching refs:fm_raw

613 	void *fm_raw = ubi->fm_buf;  in ubi_attach_fastmap()  local
619 fmsb = (struct ubi_fm_sb *)(fm_raw); in ubi_attach_fastmap()
625 fmhdr = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
636 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
646 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
687 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
698 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
709 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
720 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap()
734 fmvhdr = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
763 fm_eba = (struct ubi_fm_eba *)(fm_raw + fm_pos); in ubi_attach_fastmap()
1091 void *fm_raw; in ubi_write_fastmap() local
1107 fm_raw = ubi->fm_buf; in ubi_write_fastmap()
1131 fmsb = (struct ubi_fm_sb *)fm_raw; in ubi_write_fastmap()
1135 fmh = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1152 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_write_fastmap()
1163 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_write_fastmap()
1175 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1188 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1200 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1213 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1231 fec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_write_fastmap()
1252 fvh = (struct ubi_fm_volhdr *)(fm_raw + fm_pos); in ubi_write_fastmap()
1266 feba = (struct ubi_fm_eba *)(fm_raw + fm_pos); in ubi_write_fastmap()
1299 fmsb->data_crc = cpu_to_be32(crc32(UBI_CRC32_INIT, fm_raw, in ubi_write_fastmap()
1316 ret = ubi_io_write(ubi, fm_raw + (i * ubi->leb_size), in ubi_write_fastmap()