Lines Matching refs:offset
96 unsigned int offset = fdt_size_dt_struct(fdt); in fdt_grab_space_() local
102 if ((offset + len < offset) || (offset + len > spaceleft)) in fdt_grab_space_()
105 fdt_set_size_dt_struct(fdt, offset + len); in fdt_grab_space_()
106 return fdt_offset_ptr_w_(fdt, offset); in fdt_grab_space_()
191 int offset; in fdt_add_reservemap_entry() local
195 offset = fdt_off_dt_struct(fdt); in fdt_add_reservemap_entry()
196 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) in fdt_add_reservemap_entry()
199 re = (struct fdt_reserve_entry *)((char *)fdt + offset); in fdt_add_reservemap_entry()
203 fdt_set_off_dt_struct(fdt, offset + sizeof(*re)); in fdt_add_reservemap_entry()
255 unsigned int struct_top, offset; in fdt_add_string_() local
257 offset = strtabsize + len; in fdt_add_string_()
259 if (fdt_totalsize(fdt) - offset < struct_top) in fdt_add_string_()
262 memcpy(strtab - offset, s, len); in fdt_add_string_()
264 return -offset; in fdt_add_string_()
343 int offset, nextoffset; in fdt_finish() local
360 offset = 0; in fdt_finish()
361 while ((tag = fdt_next_tag(fdt, offset, &nextoffset)) != FDT_END) { in fdt_finish()
364 fdt_offset_ptr_w_(fdt, offset); in fdt_finish()
371 offset = nextoffset; in fdt_finish()