Lines Matching refs:nextoffset
94 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
101 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
108 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
143 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
167 int nextoffset = 0; in fdt_next_node() local
171 if ((nextoffset = fdt_check_node_offset_(fdt, offset)) < 0) in fdt_next_node()
172 return nextoffset; in fdt_next_node()
175 offset = nextoffset; in fdt_next_node()
176 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
190 return nextoffset; in fdt_next_node()
194 if ((nextoffset >= 0) in fdt_next_node()
195 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
198 return nextoffset; in fdt_next_node()