Home
last modified time | relevance | path

Searched refs:nextoffset (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/scripts/dtc/libfdt/
Dfdt.c94 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()
[all …]
Dfdt_sw.c263 int offset, nextoffset; in fdt_finish() local
281 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
291 offset = nextoffset; in fdt_finish()
293 if (nextoffset < 0) in fdt_finish()
294 return nextoffset; in fdt_finish()
Dfdt_rw.c225 int nextoffset; in fdt_add_property_() local
229 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_add_property_()
230 return nextoffset; in fdt_add_property_()
236 *prop = fdt_offset_ptr_w_(fdt, nextoffset); in fdt_add_property_()
351 int offset, nextoffset; in fdt_add_subnode_namelen() local
366 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */ in fdt_add_subnode_namelen()
368 offset = nextoffset; in fdt_add_subnode_namelen()
369 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_add_subnode_namelen()
Dfdt_ro.c138 int nextoffset; in nextprop_() local
141 tag = fdt_next_tag(fdt, offset, &nextoffset); in nextprop_()
145 if (nextoffset >= 0) in nextprop_()
148 return nextoffset; in nextprop_()
153 offset = nextoffset; in nextprop_()
Dlibfdt.h154 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/Linux-v4.19/scripts/dtc/
Dfdtget.c152 int nextoffset; /* next node offset from libfdt */ in list_subnodes() local
159 tag = fdt_next_tag(blob, node, &nextoffset); in list_subnodes()
191 node = nextoffset; in list_subnodes()
/Linux-v4.19/fs/cramfs/
Dinode.c717 unsigned long nextoffset; in cramfs_readdir() local
737 nextoffset = offset + sizeof(*de) + namelen; in cramfs_readdir()
750 ctx->pos = offset = nextoffset; in cramfs_readdir()