Searched refs:scan_ai (Results 1 – 3 of 3) sorted by relevance
1490 struct ubi_attach_info *scan_ai; in scan_fast() local1494 scan_ai = alloc_ai(); in scan_fast()1495 if (!scan_ai) in scan_fast()1498 scan_ai->ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_fast()1499 if (!scan_ai->ech) in scan_fast()1502 scan_ai->vidb = ubi_alloc_vid_buf(ubi, GFP_KERNEL); in scan_fast()1503 if (!scan_ai->vidb) in scan_fast()1510 err = scan_peb(ubi, scan_ai, pnum, true); in scan_fast()1515 ubi_free_vid_buf(scan_ai->vidb); in scan_fast()1516 kfree(scan_ai->ech); in scan_fast()[all …]
860 struct ubi_attach_info *scan_ai) in ubi_scan_fastmap() argument873 fm_anchor = find_fm_anchor(scan_ai); in ubi_scan_fastmap()878 list_for_each_entry(aeb, &scan_ai->fastmap, u.list) { in ubi_scan_fastmap()
968 struct ubi_attach_info *scan_ai);