Lines Matching refs:offset
74 int offset = fdt_size_dt_struct(fdt);
80 if ((offset + len < offset) || (offset + len > spaceleft))
83 fdt_set_size_dt_struct(fdt, offset + len);
84 return fdt_offset_ptr_w(fdt, offset, len);
112 int offset;
119 offset = fdt_off_dt_struct(fdt);
120 if ((offset + sizeof(*re)) > fdt_totalsize(fdt))
123 re = (struct fdt_reserve_entry *)((char *)fdt + offset);
127 fdt_set_off_dt_struct(fdt, offset + sizeof(*re));
173 int struct_top, offset;
180 offset = -strtabsize - len;
182 if (fdt_totalsize(fdt) + offset < struct_top)
185 memcpy(strtab + offset, s, len);
187 return offset;
218 int offset, nextoffset;
235 offset = 0;
236 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) {
239 fdt_offset_ptr_w(fdt, offset, sizeof(*prop));
249 offset = nextoffset;