MCPcopy Create free account
hub / github.com/F-Stack/f-stack / fdt_first_subnode

Function fdt_first_subnode

freebsd/contrib/libfdt/fdt.c:205–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203}
204
205int fdt_first_subnode(const void *fdt, int offset)
206{
207 int depth = 0;
208
209 offset = fdt_next_node(fdt, offset, &depth);
210 if (offset < 0 || depth != 1)
211 return -FDT_ERR_NOTFOUND;
212
213 return offset;
214}
215
216int fdt_next_subnode(const void *fdt, int offset)
217{

Callers

nothing calls this directly

Calls 1

fdt_next_nodeFunction · 0.85

Tested by

no test coverage detected