Lines Matching refs:struct_size
14 int mem_rsv_size, int struct_size) in fdt_blocks_misordered_() argument
20 (fdt_off_dt_struct(fdt) + struct_size)) in fdt_blocks_misordered_()
394 int mem_rsv_size, int struct_size) in fdt_packblocks_() argument
400 strings_off = struct_off + struct_size; in fdt_packblocks_()
405 memmove(new + struct_off, old + fdt_off_dt_struct(old), struct_size); in fdt_packblocks_()
407 fdt_set_size_dt_struct(new, struct_size); in fdt_packblocks_()
418 int mem_rsv_size, struct_size; in fdt_open_into() local
430 struct_size = fdt_size_dt_struct(fdt); in fdt_open_into()
432 struct_size = 0; in fdt_open_into()
433 while (fdt_next_tag(fdt, struct_size, &struct_size) != FDT_END) in fdt_open_into()
435 if (struct_size < 0) in fdt_open_into()
436 return struct_size; in fdt_open_into()
440 !fdt_blocks_misordered_(fdt, mem_rsv_size, struct_size)) { in fdt_open_into()
446 fdt_set_size_dt_struct(buf, struct_size); in fdt_open_into()
453 + struct_size + fdt_size_dt_strings(fdt); in fdt_open_into()
468 fdt_packblocks_(fdt, tmp, mem_rsv_size, struct_size); in fdt_open_into()