Lines Matching refs:nextoffset
131 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
138 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
145 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
180 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
204 int nextoffset = 0; in fdt_next_node() local
208 if ((nextoffset = fdt_check_node_offset_(fdt, offset)) < 0) in fdt_next_node()
209 return nextoffset; in fdt_next_node()
212 offset = nextoffset; in fdt_next_node()
213 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
227 return nextoffset; in fdt_next_node()
231 if ((nextoffset >= 0) in fdt_next_node()
232 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
235 return nextoffset; in fdt_next_node()