Lines Matching refs:nextoffset
92 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
99 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
106 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
138 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
162 int nextoffset = 0; in fdt_next_node() local
166 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0) in fdt_next_node()
167 return nextoffset; in fdt_next_node()
170 offset = nextoffset; in fdt_next_node()
171 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
185 return nextoffset; in fdt_next_node()
189 if ((nextoffset >= 0) in fdt_next_node()
190 || ((nextoffset == -FDT_ERR_TRUNCATED) && !depth)) in fdt_next_node()
193 return nextoffset; in fdt_next_node()