Home
last modified time | relevance | path

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

/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);
15 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi,
16 struct ubi_wl_entry *e,
19 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi);
22 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi, in may_reserve_for_fm()
23 struct ubi_wl_entry *e, in may_reserve_for_fm()
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 …]
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 *get_peb_for_wl(struct ubi_device *ubi) in get_peb_for_wl()
313 struct ubi_wl_entry *anchor; in ubi_ensure_anchor_pebs()
363 int ubi_wl_put_fm_peb(struct ubi_device *ubi, struct ubi_wl_entry *fm_e, in ubi_wl_put_fm_peb()
[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,
1212 static inline struct ubi_wl_entry *ubi_find_fm_block(const struct ubi_device *ubi, in ubi_find_fm_block()
Dfastmap.c1061 struct ubi_wl_entry *e; in ubi_scan_fastmap()
1142 struct ubi_wl_entry *wl_e; in ubi_write_fastmap()
1457 struct ubi_wl_entry *e; in invalidate_fastmap()
1541 struct ubi_wl_entry *tmp_e; in ubi_update_fastmap()
Dbuild.c596 dbg_gen("sizeof(struct ubi_wl_entry) %zu", sizeof(struct ubi_wl_entry)); in io_init()
1236 sizeof(struct ubi_wl_entry), in ubi_init()
Ddebug.c424 struct ubi_wl_entry *wl; in eraseblk_count_seq_show()