Searched refs:fm_anchor (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/mtd/ubi/ ! |
D | fastmap-wl.c | 146 if (ubi->fm_anchor) { in ubi_refill_pools() 147 wl_tree_add(ubi->fm_anchor, &ubi->free); in ubi_refill_pools() 155 ubi->fm_anchor = ubi_wl_get_fm_peb(ubi, 1); in ubi_refill_pools() 368 if (ubi->fm_anchor) { in ubi_ensure_anchor_pebs() 376 ubi->fm_anchor = anchor; in ubi_ensure_anchor_pebs() 459 if (ubi->fm_anchor) { in ubi_fastmap_close() 460 return_unused_peb(ubi, ubi->fm_anchor); in ubi_fastmap_close() 461 ubi->fm_anchor = NULL; in ubi_fastmap_close()
|
D | fastmap.c | 868 int i, used_blocks, pnum, fm_anchor, ret = 0; in ubi_scan_fastmap() local 873 fm_anchor = find_fm_anchor(scan_ai); in ubi_scan_fastmap() 874 if (fm_anchor < 0) in ubi_scan_fastmap() 904 ret = ubi_io_read_data(ubi, fmsb, fm_anchor, 0, sizeof(*fmsb)); in ubi_scan_fastmap() 964 if (i == 0 && pnum != fm_anchor) { in ubi_scan_fastmap() 966 pnum, fm_anchor); in ubi_scan_fastmap() 1624 tmp_e = ubi->fm_anchor; in ubi_update_fastmap() 1625 ubi->fm_anchor = NULL; in ubi_update_fastmap()
|
D | wl.c | 696 if (e1 && ubi->fm_anchor && 697 (ubi->fm_anchor->ec - e1->ec >= UBI_WL_THRESHOLD)) { 704 wl_tree_add(ubi->fm_anchor, &ubi->free); 705 ubi->fm_anchor = NULL; 1098 if (!ubi->fm_disabled && !ubi->fm_anchor && 1104 ubi->fm_anchor = e;
|
D | ubi.h | 602 struct ubi_wl_entry *fm_anchor; member
|