Home
last modified time | relevance | path

Searched refs:fm_next_anchor (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/mtd/ubi/
A Dfastmap-wl.c123 if (ubi->fm_next_anchor) { in ubi_refill_pools()
124 wl_tree_add(ubi->fm_next_anchor, &ubi->free); in ubi_refill_pools()
132 ubi->fm_next_anchor = ubi_wl_get_fm_peb(ubi, 1); in ubi_refill_pools()
293 if (!ubi->fm_next_anchor) { in ubi_ensure_anchor_pebs()
294 ubi->fm_next_anchor = ubi_wl_get_fm_peb(ubi, 1); in ubi_ensure_anchor_pebs()
295 if (!ubi->fm_next_anchor) in ubi_ensure_anchor_pebs()
384 if (ubi->fm_next_anchor) { in ubi_fastmap_close()
385 return_unused_peb(ubi, ubi->fm_next_anchor); in ubi_fastmap_close()
386 ubi->fm_next_anchor = NULL; in ubi_fastmap_close()
A Dwl.c692 if (e1 && ubi->fm_next_anchor &&
693 (ubi->fm_next_anchor->ec - e1->ec >= UBI_WL_THRESHOLD)) {
700 wl_tree_add(ubi->fm_next_anchor, &ubi->free);
701 ubi->fm_next_anchor = NULL;
1088 if (!ubi->fm_disabled && !ubi->fm_next_anchor &&
1093 ubi->fm_next_anchor = e;
A Dfastmap.c1223 if (ubi->fm_next_anchor) { in ubi_write_fastmap()
1226 fec->pnum = cpu_to_be32(ubi->fm_next_anchor->pnum); in ubi_write_fastmap()
1227 set_seen(ubi, ubi->fm_next_anchor->pnum, seen_pebs); in ubi_write_fastmap()
1228 fec->ec = cpu_to_be32(ubi->fm_next_anchor->ec); in ubi_write_fastmap()
A Dubi.h604 struct ubi_wl_entry *fm_next_anchor; member

Completed in 13 milliseconds