Home
last modified time | relevance | path

Searched refs:ubi_wl_entry (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/mtd/ubi/
Dwl.h6 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()
Dfastmap-wl.c26 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()
135 struct ubi_wl_entry *e; in ubi_refill_pools()
284 static struct ubi_wl_entry *next_peb_for_wl(struct ubi_device *ubi) in next_peb_for_wl()
307 struct ubi_wl_entry *e; in need_wear_leveling()
325 e = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb); in need_wear_leveling()
[all …]
Dwl.c127 struct ubi_wl_entry *e, struct rb_root *root);
129 struct ubi_wl_entry *e);
139 static void wl_tree_add(struct ubi_wl_entry *e, struct rb_root *root) in wl_tree_add()
145 struct ubi_wl_entry *e1; in wl_tree_add()
148 e1 = rb_entry(parent, struct ubi_wl_entry, u.rb); in wl_tree_add()
175 static void wl_entry_destroy(struct ubi_device *ubi, struct ubi_wl_entry *e) in wl_entry_destroy()
236 static int in_wl_tree(struct ubi_wl_entry *e, struct rb_root *root) in in_wl_tree()
242 struct ubi_wl_entry *e1; in in_wl_tree()
244 e1 = rb_entry(p, struct ubi_wl_entry, u.rb); in in_wl_tree()
275 static inline int in_pq(const struct ubi_device *ubi, struct ubi_wl_entry *e) in in_pq()
[all …]
Dubi.h178 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()
Dfastmap.c1060 struct ubi_wl_entry *e; in ubi_scan_fastmap()
1140 struct ubi_wl_entry *wl_e; in ubi_write_fastmap()
1455 struct ubi_wl_entry *e; in invalidate_fastmap()
1539 struct ubi_wl_entry *tmp_e; in ubi_update_fastmap()
Dbuild.c595 dbg_gen("sizeof(struct ubi_wl_entry) %zu", sizeof(struct ubi_wl_entry)); in io_init()
1218 sizeof(struct ubi_wl_entry), in ubi_init()
Ddebug.c424 struct ubi_wl_entry *wl; in eraseblk_count_seq_show()