Searched refs:fm_anchor (Results 1 - 4 of 4) sorted by relevance
/linux-master/drivers/mtd/ubi/ |
H A D | fastmap-wl.c | 117 * 3. fm pebs - 1: Twice fastmap size deducted by fastmap and fm_anchor 207 if (ubi->fm_anchor) { 208 wl_tree_add(ubi->fm_anchor, &ubi->free); 210 ubi->fm_anchor = NULL; 218 ubi->fm_anchor = ubi_wl_get_fm_peb(ubi, 1); 434 if (ubi->fm_anchor) { 442 ubi->fm_anchor = anchor; 525 if (ubi->fm_anchor) { 526 return_unused_peb(ubi, ubi->fm_anchor); 527 ubi->fm_anchor [all...] |
H A D | fastmap.c | 869 int i, used_blocks, pnum, fm_anchor, ret = 0; local 874 fm_anchor = find_fm_anchor(scan_ai); 875 if (fm_anchor < 0) 905 ret = ubi_io_read_data(ubi, fmsb, fm_anchor, 0, sizeof(*fmsb)); 965 if (i == 0 && pnum != fm_anchor) { 967 pnum, fm_anchor); 1574 tmp_e = ubi->fm_anchor; 1575 ubi->fm_anchor = NULL;
|
H A D | wl.c | 375 * If no fastmap has been written and fm_anchor is not 708 if (e1 && ubi->fm_anchor && 709 (ubi->fm_anchor->ec - e1->ec >= UBI_WL_THRESHOLD)) { 712 * fm_anchor is no longer considered a good anchor. 716 wl_tree_add(ubi->fm_anchor, &ubi->free); 717 ubi->fm_anchor = NULL; 1113 if (!ubi->fm_disabled && !ubi->fm_anchor && 1119 ubi->fm_anchor = e;
|
H A D | ubi.h | 489 * @fm_anchor: The next anchor PEB to use for fastmap 601 struct ubi_wl_entry *fm_anchor; member in struct:ubi_device
|
Completed in 168 milliseconds