Searched refs:fmec (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/mtd/ubispl/ |
| H A D | ubispl.c | 288 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local 361 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap() 362 fm_pos += sizeof(*fmec); in ubi_attach_fastmap() 369 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap() 370 fm_pos += sizeof(*fmec); in ubi_attach_fastmap() 374 generic_set_bit(be32_to_cpu(fmec->pnum), ubi->fm_used); in ubi_attach_fastmap() 379 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap() 380 fm_pos += sizeof(*fmec); in ubi_attach_fastmap() 387 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap() 388 fm_pos += sizeof(*fmec); in ubi_attach_fastmap()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ubi/ |
| H A D | fastmap.c | 615 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local 695 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap() 696 fm_pos += sizeof(*fmec); in ubi_attach_fastmap() 700 add_aeb(ai, &ai->free, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap() 701 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap() 706 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap() 707 fm_pos += sizeof(*fmec); in ubi_attach_fastmap() 711 add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap() 712 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap() 717 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ubi/ |
| H A D | fastmap.c | 558 struct ubi_fm_ec *fmec; in ubi_attach_fastmap() local 638 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap() 639 fm_pos += sizeof(*fmec); in ubi_attach_fastmap() 643 ret = add_aeb(ai, &ai->free, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap() 644 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap() 651 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap() 652 fm_pos += sizeof(*fmec); in ubi_attach_fastmap() 656 ret = add_aeb(ai, &used, be32_to_cpu(fmec->pnum), in ubi_attach_fastmap() 657 be32_to_cpu(fmec->ec), 0); in ubi_attach_fastmap() 664 fmec = (struct ubi_fm_ec *)(fm_raw + fm_pos); in ubi_attach_fastmap() [all …]
|