/external/u-boot/drivers/mtd/ubi/ |
wl.h | 8 void update_fastmap_work_fn(struct ubi_device *ubi); 11 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi); 12 static void ubi_fastmap_close(struct ubi_device *ubi); 13 static inline void ubi_fastmap_init(struct ubi_device *ubi, int *count) 21 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi, 25 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi); 26 static inline void ubi_fastmap_close(struct ubi_device *ubi) { } 27 static inline void ubi_fastmap_init(struct ubi_device *ubi, int *count) { } 28 static struct ubi_wl_entry *may_reserve_for_fm(struct ubi_device *ubi,
|
debug.h | 11 void ubi_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len); 52 int ubi_self_check_all_ff(struct ubi_device *ubi, int pnum, int offset, 56 int ubi_debugfs_init_dev(struct ubi_device *ubi); 57 void ubi_debugfs_exit_dev(struct ubi_device *ubi); 66 static inline int ubi_dbg_is_bgt_disabled(const struct ubi_device *ubi) 77 static inline int ubi_dbg_is_bitflip(const struct ubi_device *ubi) 91 static inline int ubi_dbg_is_write_failure(const struct ubi_device *ubi) 105 static inline int ubi_dbg_is_erase_failure(const struct ubi_device *ubi) 112 static inline int ubi_dbg_chk_io(const struct ubi_device *ubi) 117 static inline int ubi_dbg_chk_gen(const struct ubi_device *ubi [all...] |
ubi.h | 314 struct ubi_device *ubi; 415 * struct ubi_device - UBI device description structure 529 struct ubi_device { struct 765 int (*func)(struct ubi_device *ubi, struct ubi_work *wrk, int shutdown); 785 int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, 790 struct ubi_ainf_peb *ubi_early_get_peb(struct ubi_device *ubi, 792 int ubi_attach(struct ubi_device *ubi, int force_scan); 796 int ubi_change_vtbl_record(struct ubi_device *ubi, int idx, 798 int ubi_vtbl_rename_volumes(struct ubi_device *ubi, 800 int ubi_read_volume_table(struct ubi_device *ubi, struct ubi_attach_info *ai) [all...] |
misc.c | 23 int ubi_calc_data_len(const struct ubi_device *ubi, const void *buf, 49 int ubi_check_volume(struct ubi_device *ubi, int vol_id) 93 void ubi_update_reserved(struct ubi_device *ubi) 112 void ubi_calculate_reserved(struct ubi_device *ubi)
|
fastmap-wl.c | 16 void update_fastmap_work_fn(struct ubi_device *ubi) 20 struct ubi_device *ubi = container_of(wrk, struct ubi_device, fm_work); 54 static void return_unused_pool_pebs(struct ubi_device *ubi, 88 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) 117 void ubi_refill_pools(struct ubi_device *ubi) 181 static int produce_free_peb(struct ubi_device *ubi) 204 int ubi_wl_get_peb(struct ubi_device *ubi) 258 static struct ubi_wl_entry *get_peb_for_wl(struct ubi_device *ubi) 289 int ubi_ensure_anchor_pebs(struct ubi_device *ubi [all...] |
wl.c | 130 static int self_check_ec(struct ubi_device *ubi, int pnum, int ec); 131 static int self_check_in_wl_tree(const struct ubi_device *ubi, 133 static int self_check_in_pq(const struct ubi_device *ubi, 180 static void wl_entry_destroy(struct ubi_device *ubi, struct ubi_wl_entry *e) 193 static int do_work(struct ubi_device *ubi) 282 static void prot_queue_add(struct ubi_device *ubi, struct ubi_wl_entry *e) 302 static struct ubi_wl_entry *find_wl_entry(struct ubi_device *ubi, 345 static struct ubi_wl_entry *find_mean_wl_entry(struct ubi_device *ubi, 374 static struct ubi_wl_entry *wl_get_wle(struct ubi_device *ubi) 405 static int prot_queue_del(struct ubi_device *ubi, int pnum [all...] |
build.c | 112 static struct ubi_device *ubi_devices[UBI_MAX_DEVICES]; 114 struct ubi_device *ubi_devices[UBI_MAX_DEVICES]; 182 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) 214 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) 267 struct ubi_device *ubi = ubi_devices[i]; 286 struct ubi_device *ubi_get_device(int ubi_num) 288 struct ubi_device *ubi; 306 void ubi_put_device(struct ubi_device *ubi) 321 struct ubi_device *ubi_get_by_major(int major) 324 struct ubi_device *ubi [all...] |
io.c | 87 static int self_check_not_bad(const struct ubi_device *ubi, int pnum); 88 static int self_check_peb_ec_hdr(const struct ubi_device *ubi, int pnum); 89 static int self_check_ec_hdr(const struct ubi_device *ubi, int pnum, 91 static int self_check_peb_vid_hdr(const struct ubi_device *ubi, int pnum); 92 static int self_check_vid_hdr(const struct ubi_device *ubi, int pnum, 94 static int self_check_write(struct ubi_device *ubi, const void *buf, int pnum, 119 int ubi_io_read(const struct ubi_device *ubi, void *buf, int pnum, int offset, 228 int ubi_io_write(struct ubi_device *ubi, const void *buf, int pnum, int offset, 325 static int do_sync_erase(struct ubi_device *ubi, int pnum) 405 static int torture_peb(struct ubi_device *ubi, int pnum [all...] |
kapi.c | 31 void ubi_do_get_device_info(struct ubi_device *ubi, struct ubi_device_info *di) 55 struct ubi_device *ubi; 74 void ubi_do_get_volume_info(struct ubi_device *ubi, struct ubi_volume *vol, 125 struct ubi_device *ubi; 243 struct ubi_device *ubi; 334 struct ubi_device *ubi = vol->ubi; 378 struct ubi_device *ubi = vol->ubi; 432 struct ubi_device *ubi = vol->ubi; 472 struct ubi_device *ubi = vol->ubi; 524 struct ubi_device *ubi = vol->ubi [all...] |
upd.c | 47 static int set_update_marker(struct ubi_device *ubi, struct ubi_volume *vol) 80 static int clear_update_marker(struct ubi_device *ubi, struct ubi_volume *vol, 120 int ubi_start_update(struct ubi_device *ubi, struct ubi_volume *vol, 174 int ubi_start_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, 225 static int write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, 271 int ubi_more_update_data(struct ubi_device *ubi, struct ubi_volume *vol, 391 int ubi_more_leb_change_data(struct ubi_device *ubi, struct ubi_volume *vol,
|
vtbl.c | 60 static void self_vtbl_check(const struct ubi_device *ubi); 69 static int ubi_update_layout_vol(struct ubi_device *ubi) 96 int ubi_change_vtbl_record(struct ubi_device *ubi, int idx, 127 int ubi_vtbl_rename_volumes(struct ubi_device *ubi, 163 static int vtbl_check(const struct ubi_device *ubi, 295 static int create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, 368 static struct ubi_vtbl_record *process_lvol(struct ubi_device *ubi, 491 static struct ubi_vtbl_record *create_empty_lvol(struct ubi_device *ubi, 527 static int init_volumes(struct ubi_device *ubi, 708 static int check_attaching_info(const struct ubi_device *ubi [all...] |
eba.c | 52 unsigned long long ubi_next_sqnum(struct ubi_device *ubi) 71 static int ubi_get_compat(const struct ubi_device *ubi, int vol_id) 88 static struct ubi_ltree_entry *ltree_lookup(struct ubi_device *ubi, int vol_id, 127 static struct ubi_ltree_entry *ltree_add_entry(struct ubi_device *ubi, 197 static int leb_read_lock(struct ubi_device *ubi, int vol_id, int lnum) 214 static void leb_read_unlock(struct ubi_device *ubi, int vol_id, int lnum) 239 static int leb_write_lock(struct ubi_device *ubi, int vol_id, int lnum) 261 static int leb_write_trylock(struct ubi_device *ubi, int vol_id, int lnum) 290 static void leb_write_unlock(struct ubi_device *ubi, int vol_id, int lnum) 316 int ubi_eba_unmap_leb(struct ubi_device *ubi, struct ubi_volume *vol [all...] |
debug.c | 24 void ubi_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len) 255 struct ubi_device *ubi; 318 struct ubi_device *ubi; 395 int ubi_debugfs_init_dev(struct ubi_device *ubi) 499 void ubi_debugfs_exit_dev(struct ubi_device *ubi) 512 int ubi_dbg_power_cut(struct ubi_device *ubi, int caller) 547 int ubi_debugfs_init_dev(struct ubi_device *ubi) 552 void ubi_debugfs_exit_dev(struct ubi_device *ubi) 556 int ubi_dbg_power_cut(struct ubi_device *ubi, int caller)
|
vmt.c | 25 static int self_check_volumes(struct ubi_device *ubi); 66 struct ubi_device *ubi; 151 int ubi_create_volume(struct ubi_device *ubi, struct ubi_mkvol_req *req) 357 struct ubi_device *ubi = vol->ubi; 429 struct ubi_device *ubi = vol->ubi; 545 int ubi_rename_volumes(struct ubi_device *ubi, struct list_head *rename_list) 584 int ubi_add_volume(struct ubi_device *ubi, struct ubi_volume *vol) 630 void ubi_free_volume(struct ubi_device *ubi, struct ubi_volume *vol) 646 static int self_check_volume(struct ubi_device *ubi, int vol_id) 794 static int self_check_volumes(struct ubi_device *ubi [all...] |
attach.c | 87 static int self_check_ai(struct ubi_device *ubi, struct ubi_attach_info *ai); 187 static int validate_vid_hdr(const struct ubi_device *ubi, 319 int ubi_compare_lebs(struct ubi_device *ubi, const struct ubi_ainf_peb *aeb, 444 int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum, 657 static int early_erase_peb(struct ubi_device *ubi, 704 struct ubi_ainf_peb *ubi_early_get_peb(struct ubi_device *ubi, 758 static int check_corruption(struct ubi_device *ubi, struct ubi_vid_hdr *vid_hdr, 814 static int scan_peb(struct ubi_device *ubi, struct ubi_attach_info *ai, 1063 static int late_analysis(struct ubi_device *ubi, struct ubi_attach_info *ai) [all...] |
fastmap.c | 25 static inline int *init_seen(struct ubi_device *ubi) 54 static inline void set_seen(struct ubi_device *ubi, int pnum, int *seen) 67 static int self_check_seen(struct ubi_device *ubi, int *seen) 88 size_t ubi_calc_fm_size(struct ubi_device *ubi) 112 static struct ubi_vid_hdr *new_fm_vhdr(struct ubi_device *ubi, int vol_id) 272 static int update_vol(struct ubi_device *ubi, struct ubi_attach_info *ai, 368 static int process_pool_aeb(struct ubi_device *ubi, struct ubi_attach_info *ai, 454 static int scan_pool(struct ubi_device *ubi, struct ubi_attach_info *ai, 458 static int scan_pool(struct ubi_device *ubi, struct ubi_attach_info *ai, 604 static int ubi_attach_fastmap(struct ubi_device *ubi [all...] |
/external/u-boot/include/ |
ubi_uboot.h | 77 extern struct ubi_device *ubi_devices[];
|
/external/u-boot/cmd/ |
ubi.c | 36 static struct ubi_device *ubi; 54 static void display_volume_info(struct ubi_device *ubi) 65 static void display_ubi_info(struct ubi_device *ubi) 121 static int verify_mkvol_req(const struct ubi_device *ubi,
|