Home
last modified time | relevance | path

Searched refs:ubi_vid_hdr (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/mtd/ubispl/
H A Dubispl.c50 struct ubi_vid_hdr *vh, int unused) in ubi_io_read_vid_hdr()
100 struct ubi_vid_hdr *vh, in ubi_rescan_fm_vid_hdr()
125 struct ubi_vid_hdr *vh, u32 vol_id, in ubi_add_peb_to_vol()
149 struct ubi_vid_hdr *cur = ubi->blockinfo + cur_pnum; in ubi_add_peb_to_vol()
194 static int ubi_scan_vid_hdr(struct ubi_scan_info *ubi, struct ubi_vid_hdr *vh, in ubi_scan_vid_hdr()
229 struct ubi_vid_hdr *vh; in assign_aeb_to_av()
250 struct ubi_vid_hdr *vh; in scan_pool()
497 struct ubi_vid_hdr *vh; in ubi_scan_fastmap()
722 struct ubi_vid_hdr *vh, *vrepl; in ubi_load_block()
801 struct ubi_vid_hdr *tmp = ubi->blockinfo + pnum; in ubi_load_block()
H A Dubispl.h99 struct ubi_vid_hdr fm_vh;
114 struct ubi_vid_hdr blockinfo[CONFIG_SPL_UBI_MAX_PEBS];
/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dubi.h787 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips);
860 struct ubi_vid_hdr *vid_hdr);
895 struct ubi_vid_hdr *vid_hdr, int verbose);
897 struct ubi_vid_hdr *vid_hdr);
920 int pnum, const struct ubi_vid_hdr *vid_hdr);
1026 static inline struct ubi_vid_hdr *
1048 struct ubi_vid_hdr *vid_hdr) in ubi_free_vid_hdr()
H A Dubi-media.h105 #define UBI_VID_HDR_SIZE sizeof(struct ubi_vid_hdr)
266 struct ubi_vid_hdr { struct
H A Dio.c93 const struct ubi_vid_hdr *vid_hdr);
506 struct ubi_vid_hdr vid_hdr; in nor_erase_prepare()
871 const struct ubi_vid_hdr *vid_hdr) in validate_vid_hdr()
999 struct ubi_vid_hdr *vid_hdr, int verbose) in ubi_io_read_vid_hdr()
1083 struct ubi_vid_hdr *vid_hdr) in ubi_io_write_vid_hdr()
1231 const struct ubi_vid_hdr *vid_hdr) in self_check_vid_hdr()
1274 struct ubi_vid_hdr *vid_hdr; in self_check_peb_vid_hdr()
H A Dattach.c92 static struct ubi_vid_hdr *vidh;
189 const struct ubi_vid_hdr *vid_hdr, in validate_vid_hdr()
256 const struct ubi_vid_hdr *vid_hdr) in add_volume()
321 int pnum, const struct ubi_vid_hdr *vid_hdr) in ubi_compare_lebs()
325 struct ubi_vid_hdr *vh = NULL; in ubi_compare_lebs()
446 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips) in ubi_add_to_av()
759 static int check_corruption(struct ubi_device *ubi, struct ubi_vid_hdr *vid_hdr, in check_corruption()
H A Deba.c369 struct ubi_vid_hdr *vid_hdr; in ubi_eba_read_leb()
555 struct ubi_vid_hdr *vid_hdr; in recover_peb()
659 struct ubi_vid_hdr *vid_hdr; in ubi_eba_write_leb()
792 struct ubi_vid_hdr *vid_hdr; in ubi_eba_write_leb_st()
909 struct ubi_vid_hdr *vid_hdr; in ubi_eba_atomic_leb_change()
1055 struct ubi_vid_hdr *vid_hdr) in ubi_eba_copy_leb()
H A Dfastmap.c113 static struct ubi_vid_hdr *new_fm_vhdr(struct ubi_device *ubi, int vol_id) in new_fm_vhdr()
115 struct ubi_vid_hdr *new; in new_fm_vhdr()
274 struct ubi_ainf_volume *av, struct ubi_vid_hdr *new_vh, in update_vol()
370 struct ubi_vid_hdr *new_vh, in process_pool_aeb()
464 struct ubi_vid_hdr *vh; in scan_pool()
882 struct ubi_vid_hdr *vh; in ubi_scan_fastmap()
1115 struct ubi_vid_hdr *avhdr, *dvhdr; in ubi_write_fastmap()
1418 struct ubi_vid_hdr *vh = NULL; in invalidate_fastmap()
H A Ddebug.h14 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr);
H A Ddebug.c73 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr) in ubi_dump_vid_hdr()
H A Dvtbl.c300 struct ubi_vid_hdr *vid_hdr;
H A Dbuild.c1251 BUILD_BUG_ON(sizeof(struct ubi_vid_hdr) != 64); in ubi_init()
H A Dwl.c680 struct ubi_vid_hdr *vid_hdr;
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dubi-media.h107 #define UBI_VID_HDR_SIZE sizeof(struct ubi_vid_hdr)
268 struct ubi_vid_hdr { struct
H A Dio.c87 const struct ubi_vid_hdr *vid_hdr);
465 struct ubi_vid_hdr vid_hdr; in nor_erase_prepare()
833 const struct ubi_vid_hdr *vid_hdr) in validate_vid_hdr()
969 struct ubi_vid_hdr *vid_hdr = ubi_get_vid_hdr(vidb); in ubi_io_read_vid_hdr()
1051 struct ubi_vid_hdr *vid_hdr = ubi_get_vid_hdr(vidb); in ubi_io_write_vid_hdr()
1197 const struct ubi_vid_hdr *vid_hdr) in self_check_vid_hdr()
1241 struct ubi_vid_hdr *vid_hdr; in self_check_peb_vid_hdr()
H A Dattach.c297 struct ubi_vid_hdr *vid_hdr, int ec) in add_fastmap()
331 const struct ubi_vid_hdr *vid_hdr, in validate_vid_hdr()
398 const struct ubi_vid_hdr *vid_hdr) in add_volume()
439 int pnum, const struct ubi_vid_hdr *vid_hdr) in ubi_compare_lebs()
564 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips) in ubi_add_to_av()
872 static int check_corruption(struct ubi_device *ubi, struct ubi_vid_hdr *vid_hdr, in check_corruption()
946 struct ubi_vid_hdr *vidh = ubi_get_vid_hdr(vidb); in scan_peb()
1661 struct ubi_vid_hdr *vidh = ubi_get_vid_hdr(vidb); in self_check_ai()
H A Dubi.h163 struct ubi_vid_hdr *hdr;
828 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips);
962 int pnum, const struct ubi_vid_hdr *vid_hdr);
1123 static inline struct ubi_vid_hdr *ubi_get_vid_hdr(struct ubi_vid_io_buf *vidb) in ubi_get_vid_hdr()
H A Deba.c503 struct ubi_vid_hdr *vid_hdr; in check_mapping()
601 struct ubi_vid_hdr *vid_hdr; in ubi_eba_read_leb()
812 struct ubi_vid_hdr *vid_hdr; in try_recover_peb()
1013 struct ubi_vid_hdr *vid_hdr; in ubi_eba_write_leb()
1116 struct ubi_vid_hdr *vid_hdr; in ubi_eba_write_leb_st()
1194 struct ubi_vid_hdr *vid_hdr; in ubi_eba_atomic_leb_change()
1306 struct ubi_vid_hdr *vid_hdr = ubi_get_vid_hdr(vidb); in ubi_eba_copy_leb()
H A Dfastmap.c107 struct ubi_vid_hdr *vh; in new_fm_vbuf()
243 struct ubi_ainf_volume *av, struct ubi_vid_hdr *new_vh, in update_vol()
337 struct ubi_vid_hdr *new_vh, in process_pool_aeb()
405 struct ubi_vid_hdr *vh; in scan_pool()
865 struct ubi_vid_hdr *vh; in ubi_scan_fastmap()
1145 struct ubi_vid_hdr *avhdr, *dvhdr; in ubi_write_fastmap()
1459 struct ubi_vid_hdr *vh; in invalidate_fastmap()
H A Ddebug.h13 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr);
H A Ddebug.c70 void ubi_dump_vid_hdr(const struct ubi_vid_hdr *vid_hdr) in ubi_dump_vid_hdr()
H A Dvtbl.c290 struct ubi_vid_hdr *vid_hdr; in create_vtbl()
H A Dbuild.c1194 BUILD_BUG_ON(sizeof(struct ubi_vid_hdr) != 64); in ubi_init()
H A Dwl.c653 struct ubi_vid_hdr *vid_hdr;