Lines Matching refs:nextoffset
153 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
160 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
167 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
203 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
229 int nextoffset = 0; in fdt_next_node() local
233 if ((nextoffset = fdt_check_node_offset_(fdt, offset)) < 0) in fdt_next_node()
234 return nextoffset; in fdt_next_node()
237 offset = nextoffset; in fdt_next_node()
238 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
252 return nextoffset; in fdt_next_node()
256 if ((nextoffset >= 0) in fdt_next_node()
257 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
260 return nextoffset; in fdt_next_node()