Home | History | Annotate | Download | only in dist

Lines Matching defs:hdrsize

44 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off)
46 return (off >= hdrsize) && (off <= totalsize);
49 static int check_block_(uint32_t hdrsize, uint32_t totalsize,
52 if (!check_off_(hdrsize, totalsize, base))
56 if (!check_off_(hdrsize, totalsize, base + size))
77 size_t hdrsize;
81 hdrsize = fdt_header_size(fdt);
88 if ((fdt_totalsize(fdt) < hdrsize)
93 if (!check_off_(hdrsize, fdt_totalsize(fdt), fdt_off_mem_rsvmap(fdt)))
98 if (!check_off_(hdrsize, fdt_totalsize(fdt),
102 if (!check_block_(hdrsize, fdt_totalsize(fdt),
109 if (!check_block_(hdrsize, fdt_totalsize(fdt),