Lines Matching refs:ubi_wl_entry
26 static struct ubi_wl_entry *find_anchor_wl_entry(struct rb_root *root) in find_anchor_wl_entry()
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()
75 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) in ubi_wl_get_fm_peb()
77 struct ubi_wl_entry *e = NULL; in ubi_wl_get_fm_peb()
189 struct ubi_wl_entry *e; in ubi_refill_pools_and_lock()
350 static struct ubi_wl_entry *next_peb_for_wl(struct ubi_device *ubi) in next_peb_for_wl()
373 struct ubi_wl_entry *e; in need_wear_leveling()
391 e = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb); in need_wear_leveling()
400 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi) in get_peb_for_wl()
429 struct ubi_wl_entry *anchor; in ubi_ensure_anchor_pebs()
479 int ubi_wl_put_fm_peb(struct ubi_device *ubi, struct ubi_wl_entry *fm_e, in ubi_wl_put_fm_peb()
482 struct ubi_wl_entry *e; in ubi_wl_put_fm_peb()
545 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi, in may_reserve_for_fm()
546 struct ubi_wl_entry *e, in may_reserve_for_fm()
551 struct ubi_wl_entry, u.rb); in may_reserve_for_fm()