ubi_wl_entry
sizeof(struct ubi_wl_entry),
dbg_gen("sizeof(struct ubi_wl_entry) %zu", sizeof(struct ubi_wl_entry));
struct ubi_wl_entry *wl;
struct ubi_wl_entry *wl;
struct ubi_wl_entry *e;
static struct ubi_wl_entry *find_anchor_wl_entry(struct rb_root *root)
struct ubi_wl_entry *e, *victim = NULL;
static struct ubi_wl_entry *next_peb_for_wl(struct ubi_device *ubi,
struct ubi_wl_entry *e;
e = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb);
static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi)
struct ubi_wl_entry *e)
struct ubi_wl_entry *anchor;
int ubi_wl_put_fm_peb(struct ubi_device *ubi, struct ubi_wl_entry *fm_e,
struct ubi_wl_entry *e;
static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi,
struct ubi_wl_entry *e,
struct ubi_wl_entry, u.rb);
struct ubi_wl_entry *e;
struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor)
struct ubi_wl_entry *e = NULL;
struct ubi_wl_entry *e;
struct ubi_wl_entry *wl_e;
struct ubi_wl_entry *e;
struct ubi_wl_entry *tmp_e;
static inline struct ubi_wl_entry *ubi_find_fm_block(const struct ubi_device *ubi,
struct ubi_wl_entry *e[UBI_FM_MAX_BLOCKS];
struct ubi_wl_entry *fm_anchor;
struct ubi_wl_entry **lookuptbl;
struct ubi_wl_entry *move_from;
struct ubi_wl_entry *move_to;
struct ubi_wl_entry *e;
int ubi_sync_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, int torture);
struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor);
int ubi_wl_put_fm_peb(struct ubi_device *ubi, struct ubi_wl_entry *used_e,
struct ubi_wl_entry *e1;
struct ubi_wl_entry *e2;
e1 = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb);
struct ubi_wl_entry *e = wl_wrk->e;
struct ubi_wl_entry *e = wl_wrk->e;
struct ubi_wl_entry *e, struct rb_root *root);
struct ubi_wl_entry *e;
struct ubi_wl_entry *e);
struct ubi_wl_entry *e;
static void wl_tree_add(struct ubi_wl_entry *e, struct rb_root *root)
struct ubi_wl_entry *e1;
e1 = rb_entry(parent, struct ubi_wl_entry, u.rb);
static bool scrub_possible(struct ubi_device *ubi, struct ubi_wl_entry *e)
struct ubi_wl_entry *e;
struct ubi_wl_entry *e;
e = rb_entry(rb, struct ubi_wl_entry, u.rb);
static void wl_entry_destroy(struct ubi_device *ubi, struct ubi_wl_entry *e)
struct ubi_wl_entry *e;
struct ubi_wl_entry *e;
struct ubi_wl_entry *e, *tmp;
struct ubi_wl_entry *e, struct rb_root *root)
struct ubi_wl_entry *e)
static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi)
struct ubi_wl_entry *e;
struct ubi_wl_entry *e;
static int in_wl_tree(struct ubi_wl_entry *e, struct rb_root *root)
struct ubi_wl_entry *e1;
e1 = rb_entry(p, struct ubi_wl_entry, u.rb);
static inline int in_pq(const struct ubi_device *ubi, struct ubi_wl_entry *e)
struct ubi_wl_entry *p;
static void prot_queue_add(struct ubi_device *ubi, struct ubi_wl_entry *e)
static struct ubi_wl_entry *find_wl_entry(struct ubi_device *ubi,
struct ubi_wl_entry *e;
e = rb_entry(rb_first(root), struct ubi_wl_entry, u.rb);
struct ubi_wl_entry *e1;
e1 = rb_entry(p, struct ubi_wl_entry, u.rb);
static struct ubi_wl_entry *find_mean_wl_entry(struct ubi_device *ubi,
struct ubi_wl_entry *e, *first, *last;
first = rb_entry(rb_first(root), struct ubi_wl_entry, u.rb);
last = rb_entry(rb_last(root), struct ubi_wl_entry, u.rb);
e = rb_entry(root->rb_node, struct ubi_wl_entry, u.rb);
static struct ubi_wl_entry *wl_get_wle(struct ubi_device *ubi)
struct ubi_wl_entry *e;
struct ubi_wl_entry *e;
int ubi_sync_erase(struct ubi_device *ubi, struct ubi_wl_entry *e, int torture)
struct ubi_wl_entry *e, *tmp;
static int schedule_erase(struct ubi_device *ubi, struct ubi_wl_entry *e,
static int do_sync_erase(struct ubi_device *ubi, struct ubi_wl_entry *e,
struct ubi_wl_entry *e1, *e2;
e1 = rb_entry(rb_first(&ubi->used), struct ubi_wl_entry, u.rb);
e1 = rb_entry(rb_first(&ubi->scrub), struct ubi_wl_entry, u.rb);
static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi,
struct ubi_wl_entry *e,
static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi);
static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi,
struct ubi_wl_entry *e,
static struct ubi_wl_entry *find_anchor_wl_entry(struct rb_root *root);
static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi);
static struct ubi_wl_entry *next_peb_for_wl(struct ubi_device *ubi,