/Linux-v6.6/scripts/dtc/ |
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()
|
D | util.c | 316 totalsize = fdt_totalsize(blob); in utilfdt_write_err()
|
/Linux-v6.6/scripts/dtc/libfdt/ |
D | fdt.c | 20 uint32_t totalsize = fdt_totalsize(fdt); in fdt_ro_probe_() 109 if ((fdt_totalsize(fdt) < hdrsize) in fdt_check_header() 110 || (fdt_totalsize(fdt) > INT_MAX)) in fdt_check_header() 114 if (!check_off_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 120 if (!check_off_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 124 if (!check_block_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 131 if (!check_block_(hdrsize, fdt_totalsize(fdt), in fdt_check_header() 151 || (absoffset + len) > fdt_totalsize(fdt)) in fdt_offset_ptr() 334 if (fdt_totalsize(fdt) > (unsigned int)bufsize) in fdt_move() 337 memmove(buf, fdt, fdt_totalsize(fdt)); in fdt_move()
|
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()
|
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()
|
D | libfdt.h | 250 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) macro
|
D | fdt_ro.c | 168 if (absoffset > fdt_totalsize(fdt) - in fdt_mem_rsv()
|
/Linux-v6.6/arch/powerpc/boot/ |
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()
|
D | libfdt-wrapper.c | 47 int size = fdt_totalsize(fdt); in expand_buf() 174 bufsize = fdt_totalsize(fdt) + EXPAND_GRANULARITY; in fdt_init()
|
/Linux-v6.6/drivers/firmware/efi/libstub/ |
D | fdt.c | 48 if (orig_fdt_size && fdt_totalsize(orig_fdt) > orig_fdt_size) { in update_fdt() 360 efi_enter_kernel(kernel_addr, fdt_addr, fdt_totalsize((void *)fdt_addr)); in efi_boot_kernel() 377 *fdt_size = fdt_totalsize(fdt); in get_fdt()
|
/Linux-v6.6/drivers/of/ |
D | fdt.c | 387 pr_debug("size: %08x\n", fdt_totalsize(blob)); in __unflatten_device_tree() 662 fdt_totalsize(initial_boot_params)); in early_init_fdt_reserve_self() 1181 fdt_totalsize(initial_boot_params)); in early_init_dt_scan_chosen() 1285 fdt_totalsize(initial_boot_params)); in early_init_dt_verify() 1361 size = fdt_totalsize(initial_boot_params); in unflatten_and_copy_device_tree() 1390 fdt_totalsize(initial_boot_params))) { in of_fdt_raw_init() 1394 of_fdt_raw_attr.size = fdt_totalsize(initial_boot_params); in of_fdt_raw_init()
|
D | kexec.c | 289 fdt_size = fdt_totalsize(initial_boot_params) + in of_kexec_alloc_and_setup_fdt() 305 fdt_totalsize(initial_boot_params)); in of_kexec_alloc_and_setup_fdt()
|
D | overlay.c | 1010 size = fdt_totalsize(overlay_fdt); in of_overlay_fdt_apply()
|
/Linux-v6.6/arch/mips/boot/compressed/ |
D | decompress.c | 122 dtb_size = fdt_totalsize((void *)&__appended_dtb); in decompress_kernel()
|
/Linux-v6.6/arch/powerpc/mm/nohash/ |
D | kaslr_booke.c | 70 hash = rotate_xor(hash, fdt, fdt_totalsize(fdt)); in get_boot_seed() 328 regions.dtb_end = __pa(dt_ptr) + fdt_totalsize(dt_ptr); in kaslr_choose_location()
|
/Linux-v6.6/arch/powerpc/kexec/ |
D | elf_64.c | 122 kbuf.bufsz = kbuf.memsz = fdt_totalsize(fdt); in elf64_load()
|
/Linux-v6.6/arch/arm64/mm/ |
D | fixmap.c | 159 *size = fdt_totalsize(dt_virt); in fixmap_remap_fdt()
|
/Linux-v6.6/arch/arm64/kernel/ |
D | machine_kexec_file.c | 166 dtb_len = fdt_totalsize(dtb); in load_other_segments()
|
/Linux-v6.6/arch/x86/kernel/ |
D | devicetree.c | 292 size = fdt_totalsize(dt); in x86_flattree_get_config()
|
/Linux-v6.6/arch/mips/kernel/ |
D | relocate.c | 377 memcpy(fdt_relocated, fdt, fdt_totalsize(fdt)); in relocate_kernel()
|
/Linux-v6.6/arch/riscv/kernel/ |
D | elf_kexec.c | 310 kbuf.bufsz = kbuf.memsz = fdt_totalsize(fdt); in elf_kexec_load()
|
/Linux-v6.6/arch/powerpc/kernel/ |
D | prom.c | 125 size = fdt_totalsize(initial_boot_params); in move_device_tree()
|
/Linux-v6.6/arch/arm/kernel/ |
D | setup.c | 1115 fdt_totalsize(atags_vaddr)); in setup_arch()
|
/Linux-v6.6/drivers/pci/hotplug/ |
D | pnv_php.c | 276 fdt = kmemdup(fdt1, fdt_totalsize(fdt1), GFP_KERNEL); in pnv_php_add_devtree()
|
/Linux-v6.6/arch/riscv/mm/ |
D | init.c | 271 memblock_reserve(dtb_early_pa, fdt_totalsize(dtb_early_va)); in setup_bootmem()
|