Searched refs:nextoffset (Results 1 - 6 of 6) sorted by relevance

/haiku/src/libs/libfdt/
H A Dfdt_check.c17 int offset, nextoffset = 0; local
39 offset = nextoffset;
40 tag = fdt_next_tag(fdt, offset, &nextoffset);
42 if (nextoffset < 0)
43 return nextoffset;
H A Dfdt.c165 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) argument
172 *nextoffset = -FDT_ERR_TRUNCATED;
179 *nextoffset = -FDT_ERR_BADSTRUCTURE;
215 *nextoffset = FDT_TAGALIGN(offset);
245 int nextoffset = 0; local
249 if ((nextoffset = fdt_check_node_offset_(fdt, offset)) < 0)
250 return nextoffset;
253 offset = nextoffset;
254 tag = fdt_next_tag(fdt, offset, &nextoffset);
268 return nextoffset;
[all...]
H A Dfdt_rw.c206 int nextoffset; local
211 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0)
212 return nextoffset;
218 *prop = fdt_offset_ptr_w_(fdt, nextoffset);
337 int offset, nextoffset; local
352 tag = fdt_next_tag(fdt, parentoffset, &nextoffset);
357 offset = nextoffset;
358 tag = fdt_next_tag(fdt, offset, &nextoffset);
H A Dfdt_sw.c343 int offset, nextoffset; local
361 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) {
371 offset = nextoffset;
373 if (nextoffset < 0)
374 return nextoffset;
H A Dfdt_ro.c204 int nextoffset; local
207 tag = fdt_next_tag(fdt, offset, &nextoffset);
211 if (nextoffset >= 0)
214 return nextoffset;
219 offset = nextoffset;
/haiku/headers/libs/libfdt/
H A Dlibfdt.h127 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);

Completed in 77 milliseconds