Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/ubi/
Dwl.h10 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()
Dwl.c132 struct ubi_wl_entry *e, struct rb_root *root);
134 struct ubi_wl_entry *e);
144 static void wl_tree_add(struct ubi_wl_entry *e, struct rb_root *root) in wl_tree_add()
150 struct ubi_wl_entry *e1; in wl_tree_add()
153 e1 = rb_entry(parent, struct ubi_wl_entry, u.rb); in wl_tree_add()
180 static void wl_entry_destroy(struct ubi_device *ubi, struct ubi_wl_entry *e) in wl_entry_destroy()
241 static int in_wl_tree(struct ubi_wl_entry *e, struct rb_root *root) in in_wl_tree()
247 struct ubi_wl_entry *e1; in in_wl_tree()
249 e1 = rb_entry(p, struct ubi_wl_entry, u.rb); in in_wl_tree()
282 static void prot_queue_add(struct ubi_device *ubi, struct ubi_wl_entry *e) in prot_queue_add()
[all …]
Dfastmap-wl.c33 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()
88 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) in ubi_wl_get_fm_peb()
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()
325 int ubi_wl_put_fm_peb(struct ubi_device *ubi, struct ubi_wl_entry *fm_e, in ubi_wl_put_fm_peb()
328 struct ubi_wl_entry *e; in ubi_wl_put_fm_peb()
[all …]
Dubi.h172 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,
Dfastmap.c1052 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()
Dbuild.c652 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()
/external/u-boot/drivers/mtd/ubispl/
Dubi-wrapper.h79 struct ubi_wl_entry *e[UBI_FM_MAX_BLOCKS];