Lines Matching full:ubi
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);
9 static bool need_wear_leveling(struct ubi_device *ubi);
10 static void ubi_fastmap_close(struct ubi_device *ubi);
11 static inline void ubi_fastmap_init(struct ubi_device *ubi, int *count) in ubi_fastmap_init() argument
13 if (ubi->fm_disabled) in ubi_fastmap_init()
14 ubi->fm_pool_rsv_cnt = 0; in ubi_fastmap_init()
16 *count += (ubi->fm_size / ubi->leb_size) * 2 + ubi->fm_pool_rsv_cnt; in ubi_fastmap_init()
17 INIT_WORK(&ubi->fm_work, update_fastmap_work_fn); in ubi_fastmap_init()
19 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi,
23 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi);
24 static inline void ubi_fastmap_close(struct ubi_device *ubi) { } in ubi_fastmap_close() argument
25 static inline void ubi_fastmap_init(struct ubi_device *ubi, int *count) { } in ubi_fastmap_init() argument
26 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi, in may_reserve_for_fm() argument