Home
last modified time | relevance | path

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

/Linux-v5.4/scripts/dtc/libfdt/
Dfdt.c111 unsigned absoffset = offset + fdt_off_dt_struct(fdt); in fdt_offset_ptr() local
113 if ((absoffset < offset) in fdt_offset_ptr()
114 || ((absoffset + len) < absoffset) in fdt_offset_ptr()
115 || (absoffset + len) > fdt_totalsize(fdt)) in fdt_offset_ptr()
Dfdt_ro.c36 uint32_t absoffset = stroffset + fdt_off_dt_strings(fdt); in fdt_get_string() local
46 if (absoffset >= fdt_totalsize(fdt)) in fdt_get_string()
48 len = fdt_totalsize(fdt) - absoffset; in fdt_get_string()
70 s = (const char *)fdt + absoffset; in fdt_get_string()
151 int absoffset = fdt_off_mem_rsvmap(fdt) + offset; in fdt_mem_rsv() local
153 if (absoffset < fdt_off_mem_rsvmap(fdt)) in fdt_mem_rsv()
155 if (absoffset > fdt_totalsize(fdt) - sizeof(struct fdt_reserve_entry)) in fdt_mem_rsv()