Lines Matching refs:offset
54 int offset = fdt_size_dt_struct(fdt);
60 if ((offset + len < offset) || (offset + len > spaceleft))
63 fdt_set_size_dt_struct(fdt, offset + len);
64 return _fdt_offset_ptr_w(fdt, offset);
92 int offset;
99 offset = fdt_off_dt_struct(fdt);
100 if ((offset + sizeof(*re)) > fdt_totalsize(fdt))
103 re = (struct fdt_reserve_entry *)((char *)fdt + offset);
107 fdt_set_off_dt_struct(fdt, offset + sizeof(*re));
153 int struct_top, offset;
160 offset = -strtabsize - len;
162 if (fdt_totalsize(fdt) + offset < struct_top)
165 memcpy(strtab + offset, s, len);
167 return offset;
198 int offset, nextoffset;
215 offset = 0;
216 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) {
219 _fdt_offset_ptr_w(fdt, offset);
226 offset = nextoffset;