Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/scripts/dtc/libfdt/
Dfdt.c157 uint32_t fdt_next_tag(const void *fdt, int startoffset, int *nextoffset) in fdt_next_tag() argument
164 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag()
171 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag()
207 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
237 int nextoffset = 0; in fdt_next_node() local
241 if ((nextoffset = fdt_check_node_offset_(fdt, offset)) < 0) in fdt_next_node()
242 return nextoffset; in fdt_next_node()
245 offset = nextoffset; in fdt_next_node()
246 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
260 return nextoffset; in fdt_next_node()
[all …]
Dfdt_rw.c206 int nextoffset; in fdt_add_property_() local
211 if ((nextoffset = fdt_check_node_offset_(fdt, nodeoffset)) < 0) in fdt_add_property_()
212 return nextoffset; in fdt_add_property_()
218 *prop = fdt_offset_ptr_w_(fdt, nextoffset); in fdt_add_property_()
337 int offset, nextoffset; in fdt_add_subnode_namelen() local
352 fdt_next_tag(fdt, parentoffset, &nextoffset); /* skip the BEGIN_NODE */ in fdt_add_subnode_namelen()
354 offset = nextoffset; in fdt_add_subnode_namelen()
355 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_add_subnode_namelen()
Dfdt_sw.c343 int offset, nextoffset; in fdt_finish() local
361 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
371 offset = nextoffset; in fdt_finish()
373 if (nextoffset < 0) in fdt_finish()
374 return nextoffset; in fdt_finish()
Dfdt_ro.c204 int nextoffset; in nextprop_() local
207 tag = fdt_next_tag(fdt, offset, &nextoffset); in nextprop_()
211 if (nextoffset >= 0) in nextprop_()
214 return nextoffset; in nextprop_()
219 offset = nextoffset; in nextprop_()
Dlibfdt.h122 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/kernel/linux/linux-5.10/scripts/dtc/
Dfdtget.c138 int nextoffset; /* next node offset from libfdt */ in list_subnodes() local
145 tag = fdt_next_tag(blob, node, &nextoffset); in list_subnodes()
177 node = nextoffset; in list_subnodes()
/kernel/linux/linux-5.10/fs/cramfs/
Dinode.c722 unsigned long nextoffset; in cramfs_readdir() local
742 nextoffset = offset + sizeof(*de) + namelen; in cramfs_readdir()
755 ctx->pos = offset = nextoffset; in cramfs_readdir()