Searched refs:fm_anchor (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | fastmap-wl.c | 119 if (ubi->fm_anchor) { in ubi_refill_pools() 120 wl_tree_add(ubi->fm_anchor, &ubi->free); in ubi_refill_pools() 131 ubi->fm_anchor = ubi_wl_get_fm_peb(ubi, 1); in ubi_refill_pools() 379 if (ubi->fm_anchor) { in ubi_fastmap_close() 380 return_unused_peb(ubi, ubi->fm_anchor); in ubi_fastmap_close() 381 ubi->fm_anchor = NULL; in ubi_fastmap_close()
|
D | fastmap.c | 851 int i, used_blocks, pnum, fm_anchor, ret = 0; in ubi_scan_fastmap() local 856 fm_anchor = find_fm_anchor(scan_ai); in ubi_scan_fastmap() 857 if (fm_anchor < 0) in ubi_scan_fastmap() 883 ret = ubi_io_read_data(ubi, fmsb, fm_anchor, 0, sizeof(*fmsb)); in ubi_scan_fastmap() 943 if (i == 0 && pnum != fm_anchor) { in ubi_scan_fastmap() 945 pnum, fm_anchor); in ubi_scan_fastmap() 1626 tmp_e = ubi->fm_anchor; in ubi_update_fastmap() 1627 ubi->fm_anchor = NULL; in ubi_update_fastmap()
|
D | ubi.h | 605 struct ubi_wl_entry *fm_anchor; member
|