Lines Matching defs:hdrsize
52 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off)
54 return (off >= hdrsize) && (off <= totalsize);
57 static int check_block_(uint32_t hdrsize, uint32_t totalsize,
60 if (!check_off_(hdrsize, totalsize, base))
64 if (!check_off_(hdrsize, totalsize, base + size))
91 size_t hdrsize;
107 hdrsize = fdt_header_size(fdt);
109 if ((fdt_totalsize(fdt) < hdrsize)
114 if (!check_off_(hdrsize, fdt_totalsize(fdt),
120 if (!check_off_(hdrsize, fdt_totalsize(fdt),
124 if (!check_block_(hdrsize, fdt_totalsize(fdt),
131 if (!check_block_(hdrsize, fdt_totalsize(fdt),