Home
last modified time | relevance | path

Searched refs:vid_hdr_alsize (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Dubi.h541 * @vid_hdr_alsize: size of the VID header aligned to @hdrs_min_io_size
644 int vid_hdr_alsize; member
1074 memset(buf, 0, ubi->vid_hdr_alsize); in ubi_init_vid_buf()
1095 buf = kmalloc(ubi->vid_hdr_alsize, gfp_flags); in ubi_alloc_vid_buf()
H A Dbuild.c666 ubi->vid_hdr_alsize = ALIGN(UBI_VID_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()
672 dbg_gen("vid_hdr_alsize %d", ubi->vid_hdr_alsize); in io_init()
686 * Memory allocation for VID header is ubi->vid_hdr_alsize in io_init()
689 * ubi->vid_hdr_alsize, so that all vid header operations in io_init()
692 if ((ubi->vid_hdr_shift + UBI_VID_HDR_SIZE) > ubi->vid_hdr_alsize) { in io_init()
696 UBI_VID_HDR_SIZE, ubi->vid_hdr_alsize); in io_init()
H A Dio.c70 * copy. It always allocates a @ubi->vid_hdr_alsize bytes buffer for the VID
1076 ubi->vid_hdr_alsize); in ubi_io_write_vid_hdr()
1254 ubi->vid_hdr_alsize); in self_check_peb_vid_hdr()
/kernel/linux/linux-6.6/drivers/mtd/ubi/
H A Dubi.h539 * @vid_hdr_alsize: size of the VID header aligned to @hdrs_min_io_size
642 int vid_hdr_alsize; member
1073 memset(buf, 0, ubi->vid_hdr_alsize); in ubi_init_vid_buf()
1094 buf = kmalloc(ubi->vid_hdr_alsize, gfp_flags); in ubi_alloc_vid_buf()
H A Dbuild.c666 ubi->vid_hdr_alsize = ALIGN(UBI_VID_HDR_SIZE, ubi->hdrs_min_io_size); in io_init()
672 dbg_gen("vid_hdr_alsize %d", ubi->vid_hdr_alsize); in io_init()
686 * Memory allocation for VID header is ubi->vid_hdr_alsize in io_init()
689 * ubi->vid_hdr_alsize, so that all vid header operations in io_init()
692 if ((ubi->vid_hdr_shift + UBI_VID_HDR_SIZE) > ubi->vid_hdr_alsize) { in io_init()
696 UBI_VID_HDR_SIZE, ubi->vid_hdr_alsize); in io_init()
H A Dio.c70 * copy. It always allocates a @ubi->vid_hdr_alsize bytes buffer for the VID
1078 ubi->vid_hdr_alsize); in ubi_io_write_vid_hdr()
1256 ubi->vid_hdr_alsize); in self_check_peb_vid_hdr()

Completed in 13 milliseconds