Searched refs:ubi_wl_entry (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/drivers/mtd/ubi/ |
H A D | wl.h | 6 static struct ubi_wl_entry *find_anchor_wl_entry(struct rb_root *root); 7 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi); 8 static struct ubi_wl_entry *next_peb_for_wl(struct ubi_device *ubi); 17 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi, 18 struct ubi_wl_entry *e, 21 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi); 24 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi, in may_reserve_for_fm() 25 struct ubi_wl_entry *e, in may_reserve_for_fm()
|
H A D | fastmap-wl.c | 29 struct ubi_wl_entry *e, *victim = NULL; in find_anchor_wl_entry() 43 struct ubi_wl_entry *e) in return_unused_peb() 58 struct ubi_wl_entry *e; in return_unused_pool_pebs() 77 struct ubi_wl_entry *e = NULL; in ubi_wl_get_fm_peb() 135 struct ubi_wl_entry *e; in ubi_refill_pools() 309 struct ubi_wl_entry *e; in need_wear_leveling() 327 e = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb); in need_wear_leveling() 365 struct ubi_wl_entry *anchor; in ubi_ensure_anchor_pebs() 418 struct ubi_wl_entry *e; in ubi_wl_put_fm_peb() 482 struct ubi_wl_entry *e, in may_reserve_for_fm() [all …]
|
H A D | wl.c | 145 struct ubi_wl_entry *e1; in wl_tree_add() 242 struct ubi_wl_entry *e1; in in_wl_tree() 277 struct ubi_wl_entry *p; in in_pq() 322 struct ubi_wl_entry *e; in find_wl_entry() 384 struct ubi_wl_entry *e; in wl_get_wle() 415 struct ubi_wl_entry *e; in prot_queue_del() 1252 struct ubi_wl_entry *e; 1354 struct ubi_wl_entry *e; 1504 struct ubi_wl_entry *e; 1620 struct ubi_wl_entry *e; [all …]
|
H A D | ubi.h | 178 struct ubi_wl_entry { struct 241 struct ubi_wl_entry *e[UBI_FM_MAX_BLOCKS]; 602 struct ubi_wl_entry *fm_anchor; 617 struct ubi_wl_entry **lookuptbl; 618 struct ubi_wl_entry *move_from; 619 struct ubi_wl_entry *move_to; 805 struct ubi_wl_entry *e; 913 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor); 914 int ubi_wl_put_fm_peb(struct ubi_device *ubi, struct ubi_wl_entry *used_e, 1213 static inline struct ubi_wl_entry *ubi_find_fm_block(const struct ubi_device *ubi, in ubi_find_fm_block()
|
H A D | fastmap.c | 1061 struct ubi_wl_entry *e; in ubi_scan_fastmap() 1141 struct ubi_wl_entry *wl_e; in ubi_write_fastmap() 1456 struct ubi_wl_entry *e; in invalidate_fastmap() 1540 struct ubi_wl_entry *tmp_e; in ubi_update_fastmap()
|
H A D | build.c | 597 dbg_gen("sizeof(struct ubi_wl_entry) %zu", sizeof(struct ubi_wl_entry)); in io_init() 1243 sizeof(struct ubi_wl_entry), in ubi_init()
|
H A D | debug.c | 424 struct ubi_wl_entry *wl; in eraseblk_count_seq_show()
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | wl.h | 10 static struct ubi_wl_entry *find_anchor_wl_entry(struct rb_root *root); 11 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi); 21 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi, 22 struct ubi_wl_entry *e, 25 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi); 28 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi, in may_reserve_for_fm() 29 struct ubi_wl_entry *e, in may_reserve_for_fm()
|
H A D | fastmap-wl.c | 33 static struct ubi_wl_entry *find_anchor_wl_entry(struct rb_root *root) in find_anchor_wl_entry() 36 struct ubi_wl_entry *e, *victim = NULL; in find_anchor_wl_entry() 58 struct ubi_wl_entry *e; in return_unused_pool_pebs() 70 struct ubi_wl_entry *e; in anchor_pebs_avalible() 90 struct ubi_wl_entry *e = NULL; in ubi_wl_get_fm_peb() 121 struct ubi_wl_entry *e; in ubi_refill_pools() 258 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi) in get_peb_for_wl() 328 struct ubi_wl_entry *e; in ubi_wl_put_fm_peb() 386 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi, in may_reserve_for_fm() 387 struct ubi_wl_entry *e, in may_reserve_for_fm() [all …]
|
H A D | wl.c | 150 struct ubi_wl_entry *e1; in wl_tree_add() 247 struct ubi_wl_entry *e1; in in_wl_tree() 314 struct ubi_wl_entry *e1; in find_wl_entry() 376 struct ubi_wl_entry *e; in wl_get_wle() 407 struct ubi_wl_entry *e; in prot_queue_del() 1202 struct ubi_wl_entry *e; 1292 struct ubi_wl_entry *e; 1414 struct ubi_wl_entry *e; 1533 struct ubi_wl_entry *e; 1774 struct ubi_wl_entry *p; [all …]
|
H A D | ubi.h | 172 struct ubi_wl_entry { struct 235 struct ubi_wl_entry *e[UBI_FM_MAX_BLOCKS]; 363 struct ubi_wl_entry; 588 struct ubi_wl_entry **lookuptbl; 589 struct ubi_wl_entry *move_from; 590 struct ubi_wl_entry *move_to; 767 struct ubi_wl_entry *e; 874 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor); 875 int ubi_wl_put_fm_peb(struct ubi_device *ubi, struct ubi_wl_entry *used_e,
|
H A D | fastmap.c | 1052 struct ubi_wl_entry *e; in ubi_scan_fastmap() 1112 struct ubi_wl_entry *wl_e; in ubi_write_fastmap() 1416 struct ubi_wl_entry *e; in invalidate_fastmap() 1497 struct ubi_wl_entry *tmp_e; in ubi_update_fastmap()
|
H A D | build.c | 652 dbg_gen("sizeof(struct ubi_wl_entry) %zu", sizeof(struct ubi_wl_entry)); in io_init() 1270 sizeof(struct ubi_wl_entry), in ubi_init()
|
/openbmc/u-boot/drivers/mtd/ubispl/ |
H A D | ubi-wrapper.h | 79 struct ubi_wl_entry *e[UBI_FM_MAX_BLOCKS];
|