Searched refs:fm_pos (Results 1 – 1 of 1) sorted by relevance
562 size_t fm_pos = 0, fm_size = ubi->fm_size; in ubi_attach_fastmap() local572 fm_pos += sizeof(struct ubi_fm_sb); in ubi_attach_fastmap()573 if (fm_pos >= fm_size) in ubi_attach_fastmap()576 fmhdr = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()577 fm_pos += sizeof(*fmhdr); in ubi_attach_fastmap()578 if (fm_pos >= fm_size) in ubi_attach_fastmap()587 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()588 fm_pos += sizeof(*fmpl); in ubi_attach_fastmap()589 if (fm_pos >= fm_size) in ubi_attach_fastmap()597 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()[all …]