Home
last modified time | relevance | path

Searched refs:hdrsize (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/lib/libfdt/
A Dfdt.c42 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) in check_off_() argument
44 return (off >= hdrsize) && (off <= totalsize); in check_off_()
47 static int check_block_(uint32_t hdrsize, uint32_t totalsize, in check_block_() argument
50 if (!check_off_(hdrsize, totalsize, base)) in check_block_()
54 if (!check_off_(hdrsize, totalsize, base + size)) in check_block_()
75 size_t hdrsize; in fdt_check_header() local
79 hdrsize = fdt_header_size(fdt); in fdt_check_header()
86 if ((fdt_totalsize(fdt) < hdrsize) in fdt_check_header()
96 if (!check_off_(hdrsize, fdt_totalsize(fdt), in fdt_check_header()
100 if (!check_block_(hdrsize, fdt_totalsize(fdt), in fdt_check_header()
[all …]
A Dfdt_sw.c107 const size_t hdrsize = FDT_ALIGN(sizeof(struct fdt_header), in fdt_create_with_flags() local
111 if (bufsize < hdrsize) in fdt_create_with_flags()
132 fdt_set_off_mem_rsvmap(fdt, hdrsize); in fdt_create_with_flags()

Completed in 3 milliseconds