Searched refs:vid_hdr_alsize (Results 1 – 3 of 3) sorted by relevance
642 int vid_hdr_alsize; member1086 memset(buf, 0, ubi->vid_hdr_alsize); in ubi_init_vid_buf()1107 buf = kmalloc(ubi->vid_hdr_alsize, gfp_flags); in ubi_alloc_vid_buf()
1158 ubi->vid_hdr_alsize - (ubi->vid_hdr_shift + UBI_VID_HDR_SIZE)); in ubi_io_write_vid_hdr()1160 memset((char *)p + UBI_VID_HDR_SIZE, 0xFF, ubi->vid_hdr_alsize - UBI_VID_HDR_SIZE); in ubi_io_write_vid_hdr()1164 ubi->vid_hdr_alsize); in ubi_io_write_vid_hdr()1342 ubi->vid_hdr_alsize); in self_check_peb_vid_hdr()
672 ubi->vid_hdr_alsize = ALIGN(UBI_VID_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()678 dbg_gen("vid_hdr_alsize %d", ubi->vid_hdr_alsize); 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()