Home
last modified time | relevance | path

Searched refs:fdt_totalsize (Results 1 – 25 of 26) sorted by relevance

12

/linux/scripts/dtc/libfdt/
A Dfdt.c20 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 Dfdt_sw.c71 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 Dfdt_rw.c21 || (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 Dlibfdt.h250 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) macro
A Dfdt_ro.c168 if (absoffset > fdt_totalsize(fdt) - in fdt_mem_rsv()
/linux/scripts/dtc/
A Dfdtoverlay.c56 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 Dutil.c305 totalsize = fdt_totalsize(blob); in utilfdt_write_err()
/linux/arch/powerpc/boot/
A Depapr.c42 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 Dlibfdt-wrapper.c47 int size = fdt_totalsize(fdt); in expand_buf()
174 bufsize = fdt_totalsize(fdt) + EXPAND_GRANULARITY; in fdt_init()
/linux/drivers/of/
A Dfdt.c387 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 Dkexec.c274 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 Doverlay.c1034 size = fdt_totalsize(overlay_fdt); in of_overlay_fdt_apply()
/linux/drivers/firmware/efi/libstub/
A Dfdt.c49 if (orig_fdt_size && fdt_totalsize(orig_fdt) > orig_fdt_size) { in update_fdt()
366 *fdt_size = fdt_totalsize(fdt); in get_fdt()
A Defi-stub.c300 efi_enter_kernel(image_addr, fdt_addr, fdt_totalsize((void *)fdt_addr)); in efi_pe_entry()
/linux/arch/mips/boot/compressed/
A Ddecompress.c121 dtb_size = fdt_totalsize((void *)&__appended_dtb); in decompress_kernel()
/linux/arch/powerpc/mm/nohash/
A Dkaslr_booke.c76 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 Delf_64.c122 kbuf.bufsz = kbuf.memsz = fdt_totalsize(fdt); in elf64_load()
/linux/arch/arm64/kernel/
A Dmachine_kexec_file.c158 dtb_len = fdt_totalsize(dtb); in load_other_segments()
/linux/arch/x86/kernel/
A Ddevicetree.c295 size = fdt_totalsize(dt); in x86_flattree_get_config()
/linux/arch/mips/kernel/
A Drelocate.c377 memcpy(fdt_relocated, fdt, fdt_totalsize(fdt)); in relocate_kernel()
/linux/arch/powerpc/kernel/
A Dprom.c122 size = fdt_totalsize(initial_boot_params); in move_device_tree()
/linux/arch/riscv/mm/
A Dinit.c222 memblock_reserve(dtb_early_pa, fdt_totalsize(dtb_early_va)); in setup_bootmem()
/linux/arch/arm/kernel/
A Dsetup.c1107 fdt_totalsize(atags_vaddr)); in setup_arch()
/linux/drivers/pci/hotplug/
A Dpnv_php.c275 fdt = kmemdup(fdt1, fdt_totalsize(fdt1), GFP_KERNEL); in pnv_php_add_devtree()
/linux/arch/arm64/mm/
A Dmmu.c1332 *size = fdt_totalsize(dt_virt); in fixmap_remap_fdt()

Completed in 42 milliseconds

12