Searched refs:UBI_VID_HDR_SIZE (Results 1 – 4 of 4) sorted by relevance
107 #define UBI_VID_HDR_SIZE sizeof(struct ubi_vid_hdr) macro111 #define UBI_VID_HDR_SIZE_CRC (UBI_VID_HDR_SIZE - sizeof(__be32))
672 ubi->vid_hdr_alsize = ALIGN(UBI_VID_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()698 if ((ubi->vid_hdr_shift + UBI_VID_HDR_SIZE) > ubi->vid_hdr_alsize) { in io_init()702 UBI_VID_HDR_SIZE, ubi->vid_hdr_alsize); in io_init()707 ubi->leb_start = ubi->vid_hdr_offset + UBI_VID_HDR_SIZE; in io_init()724 ubi->leb_start < ubi->vid_hdr_offset + UBI_VID_HDR_SIZE || in io_init()725 ubi->leb_start > ubi->peb_size - UBI_VID_HDR_SIZE || in io_init()746 if (ubi->vid_hdr_offset + UBI_VID_HDR_SIZE <= ubi->hdrs_min_io_size) { in io_init()
1022 ubi->vid_hdr_shift + UBI_VID_HDR_SIZE); in ubi_io_read_vid_hdr()1031 if (ubi_check_pattern(vid_hdr, 0xFF, UBI_VID_HDR_SIZE)) { in ubi_io_read_vid_hdr()
118 vid_hdr, UBI_VID_HDR_SIZE, 1); in ubi_dump_vid_hdr()