Home
last modified time | relevance | path

Searched refs:UBI_VID_HDR_SIZE (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dubi-media.h105 #define UBI_VID_HDR_SIZE sizeof(struct ubi_vid_hdr) macro
109 #define UBI_VID_HDR_SIZE_CRC (UBI_VID_HDR_SIZE - sizeof(__be32))
H A Dbuild.c724 ubi->vid_hdr_alsize = ALIGN(UBI_VID_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()
744 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init()
761 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init()
762 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init()
783 if (ubi->vid_hdr_offset + UBI_VID_HDR_SIZE <= ubi->hdrs_min_io_size) { in io_init()
H A Ddebug.c91 vid_hdr, UBI_VID_HDR_SIZE, 1); in ubi_dump_vid_hdr()
H A Dio.c1019 if (ubi_check_pattern(vid_hdr, 0xFF, UBI_VID_HDR_SIZE)) { in ubi_io_read_vid_hdr()
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dubi-media.h107 #define UBI_VID_HDR_SIZE sizeof(struct ubi_vid_hdr) macro
111 #define UBI_VID_HDR_SIZE_CRC (UBI_VID_HDR_SIZE - sizeof(__be32))
H A Dbuild.c665 ubi->vid_hdr_alsize = ALIGN(UBI_VID_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()
685 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init()
702 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init()
703 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init()
724 if (ubi->vid_hdr_offset + UBI_VID_HDR_SIZE <= ubi->hdrs_min_io_size) { in io_init()
H A Dio.c976 ubi->vid_hdr_shift + UBI_VID_HDR_SIZE); in ubi_io_read_vid_hdr()
985 if (ubi_check_pattern(vid_hdr, 0xFF, UBI_VID_HDR_SIZE)) { in ubi_io_read_vid_hdr()
H A Ddebug.c88 vid_hdr, UBI_VID_HDR_SIZE, 1); in ubi_dump_vid_hdr()