Lines Matching refs:nextoffset
126 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
133 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
140 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
175 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
199 int nextoffset = 0; in fdt_next_node() local
203 if ((nextoffset = fdt_check_node_offset_(fdt, offset)) < 0) in fdt_next_node()
204 return nextoffset; in fdt_next_node()
207 offset = nextoffset; in fdt_next_node()
208 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
222 return nextoffset; in fdt_next_node()
226 if ((nextoffset >= 0) in fdt_next_node()
227 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
230 return nextoffset; in fdt_next_node()