Home
last modified time | relevance | path

Searched refs:totalsize (Results 1 – 4 of 4) sorted by relevance

/trusted-firmware-a-3.4.0/lib/libfdt/
Dfdt.c20 uint32_t totalsize = fdt_totalsize(fdt); in fdt_ro_probe_() local
23 return totalsize; in fdt_ro_probe_()
42 if (totalsize < INT32_MAX) in fdt_ro_probe_()
43 return totalsize; in fdt_ro_probe_()
48 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) in check_off_() argument
50 return (off >= hdrsize) && (off <= totalsize); in check_off_()
53 static int check_block_(uint32_t hdrsize, uint32_t totalsize, in check_block_() argument
56 if (!check_off_(hdrsize, totalsize, base)) in check_block_()
60 if (!check_off_(hdrsize, totalsize, base + size)) in check_block_()
Dfdt_ro.c36 int32_t totalsize; in fdt_get_string() local
49 totalsize = fdt_ro_probe_(fdt); in fdt_get_string()
50 err = totalsize; in fdt_get_string()
51 if (totalsize < 0) in fdt_get_string()
56 if (absoffset >= (unsigned)totalsize) in fdt_get_string()
58 len = totalsize - absoffset; in fdt_get_string()
/trusted-firmware-a-3.4.0/include/lib/libfdt/
Dfdt.h14 fdt32_t totalsize; /* total size of DT block */ member
Dlibfdt.h241 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize))
258 fdt_set_hdr_(totalsize);