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()
140 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
164 int nextoffset = 0; in fdt_next_node() local
168 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0) in fdt_next_node()
169 return nextoffset; in fdt_next_node()
172 offset = nextoffset; in fdt_next_node()
173 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
187 return nextoffset; in fdt_next_node()
191 if ((nextoffset >= 0) in fdt_next_node()
192 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
195 return nextoffset; in fdt_next_node()