Home
last modified time | relevance | path

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

/external/u-boot/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);
/external/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()
140 *nextoffset = FDT_TAGALIGN(offset); in fdt_next_tag()
164 int nextoffset = 0; in fdt_next_node() local
168 if ((nextoffset = _fdt_check_node_offset(fdt, offset)) < 0) in fdt_next_node()
169 return nextoffset; in fdt_next_node()
172 offset = nextoffset; in fdt_next_node()
173 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_next_node()
187 return nextoffset; in fdt_next_node()
[all …]
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()
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.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_ro.c137 int nextoffset; in _nextprop() local
140 tag = fdt_next_tag(fdt, offset, &nextoffset); in _nextprop()
144 if (nextoffset >= 0) in _nextprop()
147 return nextoffset; in _nextprop()
152 offset = nextoffset; in _nextprop()
Dlibfdt.h154 uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset);
/external/u-boot/lib/libfdt/
Dfdt_region.c37 int nextoffset = 0; in fdt_find_regions() local
56 offset = nextoffset; in fdt_find_regions()
57 tag = fdt_next_tag(fdt, offset, &nextoffset); in fdt_find_regions()
58 stop_at = nextoffset; in fdt_find_regions()
131 if (nextoffset != fdt_size_dt_struct(fdt)) in fdt_find_regions()
137 region[count].size = nextoffset - start; in fdt_find_regions()
353 p->nextoffset = 0; in fdt_first_region()
488 offset = p.nextoffset; in fdt_next_region()
489 tag = fdt_next_tag(fdt, offset, &p.nextoffset); in fdt_next_region()
490 stop_at = p.nextoffset; in fdt_next_region()
[all …]
Dfdt_ro.c96 int nextoffset; in _nextprop() local
99 tag = fdt_next_tag(fdt, offset, &nextoffset); in _nextprop()
103 if (nextoffset >= 0) in _nextprop()
106 return nextoffset; in _nextprop()
111 offset = nextoffset; in _nextprop()
/external/dtc/tests/
Ddtb_reverse.c85 int nextoffset = offset; in reverse_children() local
91 CHECK(fdt_get_path(in, nextoffset, path, sizeof(path))); in reverse_children()
93 " depth=%d\n", offset, nextoffset, path, depth); in reverse_children()
95 nextoffset = fdt_next_node(in, nextoffset, &depth); in reverse_children()
99 reverse_children(in, out, nextoffset); in reverse_children()
Dnopulate.c34 int offset, nextoffset = 0; in nopulate_struct() local
41 offset = nextoffset; in nopulate_struct()
42 tag = fdt_next_tag(fdt, offset, &nextoffset); in nopulate_struct()
45 nextoffset - offset); in nopulate_struct()
46 p += nextoffset - offset; in nopulate_struct()
/external/u-boot/fs/cramfs/
Dcramfs.c120 unsigned long inodeoffset = 0, nextoffset; in cramfs_resolve() local
138 nextoffset = in cramfs_resolve()
200 inodeoffset = nextoffset; in cramfs_resolve()
299 unsigned long inodeoffset = 0, nextoffset; in cramfs_ls() local
336 nextoffset = cramfs_list_inode (info, offset + inodeoffset); in cramfs_ls()
337 if (nextoffset == 0) in cramfs_ls()
339 inodeoffset += sizeof (struct cramfs_inode) + nextoffset; in cramfs_ls()
/external/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()
/external/u-boot/include/linux/
Dlibfdt.h74 int nextoffset; /* Next node offset to check */ member
/external/u-boot/tools/
Dfdtgrep.c239 int offset, nextoffset; in display_fdt_by_regions() local
295 nextoffset = 0; in display_fdt_by_regions()
303 offset = nextoffset; in display_fdt_by_regions()
314 tag = fdt_next_tag(blob, offset, &nextoffset); in display_fdt_by_regions()
/external/u-boot/cmd/
Dfdt.c956 int nextoffset; /* next node offset from libfdt */ in fdt_print() local
998 tag = fdt_next_tag(working_fdt, nodeoffset, &nextoffset); in fdt_print()
1061 nodeoffset = nextoffset; in fdt_print()
/external/python/cpython2/Objects/
Dobmalloc.c288 uint nextoffset; /* bytes to virgin block */ member
838 if (pool->nextoffset <= pool->maxnextoffset) { in PyObject_Malloc()
841 pool->nextoffset; in PyObject_Malloc()
842 pool->nextoffset += INDEX2SIZE(size); in PyObject_Malloc()
941 pool->nextoffset = POOL_OVERHEAD + (size << 1); in PyObject_Malloc()
/external/python/cpython3/Objects/
Dobmalloc.c905 uint nextoffset; /* bytes to virgin block */ member
1424 if (pool->nextoffset <= pool->maxnextoffset) { in pymalloc_alloc()
1427 pool->nextoffset; in pymalloc_alloc()
1428 pool->nextoffset += INDEX2SIZE(size); in pymalloc_alloc()
1525 pool->nextoffset = POOL_OVERHEAD + (size << 1); in pymalloc_alloc()