Home
last modified time | relevance | path

Searched refs:fm_pos (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/mtd/ubi/
Dfastmap.c618 size_t fm_pos = 0, fm_size = ubi->fm_size; in ubi_attach_fastmap() local
628 fm_pos += sizeof(struct ubi_fm_sb); in ubi_attach_fastmap()
629 if (fm_pos >= fm_size) in ubi_attach_fastmap()
632 fmhdr = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
633 fm_pos += sizeof(*fmhdr); in ubi_attach_fastmap()
634 if (fm_pos >= fm_size) in ubi_attach_fastmap()
643 fmpl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
644 fm_pos += sizeof(*fmpl); in ubi_attach_fastmap()
645 if (fm_pos >= fm_size) in ubi_attach_fastmap()
653 fmpl_wl = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
[all …]
/external/u-boot/drivers/mtd/ubispl/
Dubispl.c291 size_t fm_pos = 0, fm_size = ubi->fm_size; in ubi_attach_fastmap() local
296 fm_pos += sizeof(struct ubi_fm_sb); in ubi_attach_fastmap()
297 if (fm_pos >= fm_size) in ubi_attach_fastmap()
300 fmhdr = (struct ubi_fm_hdr *)(fm_raw + fm_pos); in ubi_attach_fastmap()
301 fm_pos += sizeof(*fmhdr); in ubi_attach_fastmap()
302 if (fm_pos >= fm_size) in ubi_attach_fastmap()
311 fmpl1 = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
312 fm_pos += sizeof(*fmpl1); in ubi_attach_fastmap()
313 if (fm_pos >= fm_size) in ubi_attach_fastmap()
321 fmpl2 = (struct ubi_fm_scan_pool *)(fm_raw + fm_pos); in ubi_attach_fastmap()
[all …]