/linux/scripts/dtc/libfdt/ |
A D | fdt.c | 20 uint32_t totalsize = fdt_totalsize(fdt); in fdt_ro_probe_() 110 if ((fdt_totalsize(fdt) < hdrsize) in fdt_check_header() 111 || (fdt_totalsize(fdt) > INT_MAX)) in fdt_check_header() 115 if (!check_off_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 123 if (!check_off_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 127 if (!check_block_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 134 if (!check_block_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 154 || (absoffset + len) > fdt_totalsize(fdt)) in fdt_offset_ptr() 330 if (fdt_totalsize(fdt) > (unsigned int)bufsize) in fdt_move() 333 memmove(buf, fdt, fdt_totalsize(fdt)); in fdt_move()
|
A D | fdt_sw.c | 71 fdt_off_dt_strings(fdt) != fdt_totalsize(fdt)) in fdt_sw_probe_struct_() 99 spaceleft = fdt_totalsize(fdt) - fdt_off_dt_struct(fdt) in fdt_grab_space_() 162 headsize + tailsize > fdt_totalsize(fdt)) in fdt_resize() 168 oldtail = (char *)fdt + fdt_totalsize(fdt) - tailsize; in fdt_resize() 196 if ((offset + sizeof(*re)) > fdt_totalsize(fdt)) in fdt_add_reservemap_entry() 215 fdt_set_off_dt_strings(fdt, fdt_totalsize(fdt)); in fdt_finish_reservemap() 252 char *strtab = (char *)fdt + fdt_totalsize(fdt); in fdt_add_string_() 259 if (fdt_totalsize(fdt) - offset < struct_top) in fdt_add_string_() 278 char *strtab = (char *)fdt + fdt_totalsize(fdt); in fdt_find_add_string_() 354 oldstroffset = fdt_totalsize(fdt) - fdt_size_dt_strings(fdt); in fdt_finish()
|
A D | fdt_rw.c | 21 || (fdt_totalsize(fdt) < in fdt_blocks_misordered_() 64 if (dsize - oldlen + newlen > fdt_totalsize(fdt)) in fdt_splice_() 425 const char *fdtend = fdtstart + fdt_totalsize(fdt); in fdt_open_into()
|
A D | libfdt.h | 250 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) macro
|
A D | fdt_ro.c | 168 if (absoffset > fdt_totalsize(fdt) - in fdt_mem_rsv()
|
/linux/scripts/dtc/ |
A D | fdtoverlay.c | 56 tmpo = xmalloc(fdt_totalsize(overlay)); in apply_one() 68 memcpy(tmpo, overlay, fdt_totalsize(overlay)); in apply_one() 107 if (fdt_totalsize(blob) > buf_len) { in do_fdtoverlay() 110 (unsigned long)buf_len, fdt_totalsize(blob)); in do_fdtoverlay() 126 if (fdt_totalsize(ovblob[i]) > ov_len) { in do_fdtoverlay() 130 fdt_totalsize(ovblob[i])); in do_fdtoverlay() 135 buf_len = fdt_totalsize(blob); in do_fdtoverlay()
|
A D | util.c | 305 totalsize = fdt_totalsize(blob); in utilfdt_write_err()
|
/linux/arch/powerpc/boot/ |
A D | epapr.c | 42 if (ima_size < fdt_addr + fdt_totalsize((void *)fdt_addr)) in platform_fixups() 45 fdt_addr, fdt_totalsize((void *)fdt_addr), ima_size); in platform_fixups()
|
A D | libfdt-wrapper.c | 47 int size = fdt_totalsize(fdt); in expand_buf() 174 bufsize = fdt_totalsize(fdt) + EXPAND_GRANULARITY; in fdt_init()
|
/linux/drivers/of/ |
A D | fdt.c | 387 pr_debug("size: %08x\n", fdt_totalsize(blob)); in __unflatten_device_tree() 659 fdt_totalsize(initial_boot_params), in early_init_fdt_reserve_self() 1178 fdt_totalsize(initial_boot_params)); in early_init_dt_scan_chosen() 1257 fdt_totalsize(initial_boot_params)); in early_init_dt_verify() 1333 size = fdt_totalsize(initial_boot_params); in unflatten_and_copy_device_tree() 1362 fdt_totalsize(initial_boot_params))) { in of_fdt_raw_init() 1366 of_fdt_raw_attr.size = fdt_totalsize(initial_boot_params); in of_fdt_raw_init()
|
A D | kexec.c | 274 fdt_size = fdt_totalsize(initial_boot_params) + in of_kexec_alloc_and_setup_fdt() 290 fdt_totalsize(initial_boot_params)); in of_kexec_alloc_and_setup_fdt()
|
A D | overlay.c | 1034 size = fdt_totalsize(overlay_fdt); in of_overlay_fdt_apply()
|
/linux/drivers/firmware/efi/libstub/ |
A D | fdt.c | 49 if (orig_fdt_size && fdt_totalsize(orig_fdt) > orig_fdt_size) { in update_fdt() 366 *fdt_size = fdt_totalsize(fdt); in get_fdt()
|
A D | efi-stub.c | 300 efi_enter_kernel(image_addr, fdt_addr, fdt_totalsize((void *)fdt_addr)); in efi_pe_entry()
|
/linux/arch/mips/boot/compressed/ |
A D | decompress.c | 121 dtb_size = fdt_totalsize((void *)&__appended_dtb); in decompress_kernel()
|
/linux/arch/powerpc/mm/nohash/ |
A D | kaslr_booke.c | 76 hash = rotate_xor(hash, fdt, fdt_totalsize(fdt)); in get_boot_seed() 334 regions.dtb_end = __pa(dt_ptr) + fdt_totalsize(dt_ptr); in kaslr_choose_location()
|
/linux/arch/powerpc/kexec/ |
A D | elf_64.c | 122 kbuf.bufsz = kbuf.memsz = fdt_totalsize(fdt); in elf64_load()
|
/linux/arch/arm64/kernel/ |
A D | machine_kexec_file.c | 158 dtb_len = fdt_totalsize(dtb); in load_other_segments()
|
/linux/arch/x86/kernel/ |
A D | devicetree.c | 295 size = fdt_totalsize(dt); in x86_flattree_get_config()
|
/linux/arch/mips/kernel/ |
A D | relocate.c | 377 memcpy(fdt_relocated, fdt, fdt_totalsize(fdt)); in relocate_kernel()
|
/linux/arch/powerpc/kernel/ |
A D | prom.c | 122 size = fdt_totalsize(initial_boot_params); in move_device_tree()
|
/linux/arch/riscv/mm/ |
A D | init.c | 222 memblock_reserve(dtb_early_pa, fdt_totalsize(dtb_early_va)); in setup_bootmem()
|
/linux/arch/arm/kernel/ |
A D | setup.c | 1107 fdt_totalsize(atags_vaddr)); in setup_arch()
|
/linux/drivers/pci/hotplug/ |
A D | pnv_php.c | 275 fdt = kmemdup(fdt1, fdt_totalsize(fdt1), GFP_KERNEL); in pnv_php_add_devtree()
|
/linux/arch/arm64/mm/ |
A D | mmu.c | 1332 *size = fdt_totalsize(dt_virt); in fixmap_remap_fdt()
|