/linux/scripts/dtc/ |
A D | flattree.c | 392 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 395 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 397 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob() 842 if (totalsize < FDT_V1_SIZE) in dt_from_blob() 845 blob = xmalloc(totalsize); in dt_from_blob() 849 fdt->totalsize = cpu_to_fdt32(totalsize); in dt_from_blob() 851 sizeleft = totalsize - sizeof(magic) - sizeof(totalsize); in dt_from_blob() 857 totalsize); in dt_from_blob() 874 if (off_mem_rsvmap >= totalsize) in dt_from_blob() 877 if (off_dt >= totalsize) in dt_from_blob() [all …]
|
A D | util.c | 294 int totalsize; in utilfdt_write_err() local 305 totalsize = fdt_totalsize(blob); in utilfdt_write_err() 308 while (offset < totalsize) { in utilfdt_write_err() 309 ret = write(fd, ptr + offset, totalsize - offset); in utilfdt_write_err()
|
/linux/scripts/dtc/libfdt/ |
A D | fdt.c | 20 uint32_t totalsize = fdt_totalsize(fdt); in fdt_ro_probe_() local 23 return totalsize; in fdt_ro_probe_() 46 if (totalsize < INT32_MAX) in fdt_ro_probe_() 47 return totalsize; in fdt_ro_probe_() 52 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) in check_off_() argument 54 return (off >= hdrsize) && (off <= totalsize); in check_off_() 57 static int check_block_(uint32_t hdrsize, uint32_t totalsize, in check_block_() argument 60 if (!check_off_(hdrsize, totalsize, base)) in check_block_() 64 if (!check_off_(hdrsize, totalsize, base + size)) in check_block_()
|
A D | fdt_ro.c | 36 int32_t totalsize; in fdt_get_string() local 49 totalsize = fdt_ro_probe_(fdt); in fdt_get_string() 50 err = totalsize; in fdt_get_string() 51 if (totalsize < 0) in fdt_get_string() 56 if (absoffset >= (unsigned)totalsize) in fdt_get_string() 58 len = totalsize - absoffset; in fdt_get_string()
|
A D | fdt.h | 14 fdt32_t totalsize; /* total size of DT block */ member
|
A D | libfdt.h | 250 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) 267 fdt_set_hdr_(totalsize);
|
/linux/sound/soc/sof/imx/ |
A D | imx-common.c | 34 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in imx8_get_registers() 36 xoops->arch_hdr.totalsize); in imx8_get_registers() 39 offset += xoops->arch_hdr.totalsize; in imx8_get_registers()
|
/linux/arch/x86/include/asm/ |
A D | microcode_intel.h | 16 unsigned int totalsize; member 47 ((struct microcode_intel *)mc)->hdr.totalsize : \
|
/linux/arch/arm/mach-pxa/ |
A D | am200epd.c | 203 int totalsize; in am200_presetup_fb() local 237 totalsize = fw + am200_board.wfm_size + padding_size + (fw*fh); in am200_presetup_fb() 247 am200_fb_info.modes->yres = DIV_ROUND_UP(totalsize, fw); in am200_presetup_fb()
|
/linux/sound/soc/sof/intel/ |
A D | atom.c | 49 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in atom_get_registers() 51 xoops->arch_hdr.totalsize); in atom_get_registers() 54 offset += xoops->arch_hdr.totalsize; in atom_get_registers()
|
A D | bdw.c | 237 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in bdw_get_registers() 239 xoops->arch_hdr.totalsize); in bdw_get_registers() 242 offset += xoops->arch_hdr.totalsize; in bdw_get_registers()
|
A D | hda.c | 514 if (xoops->arch_hdr.totalsize > EXCEPT_MAX_HDR_SIZE) { in hda_dsp_get_registers() 516 xoops->arch_hdr.totalsize); in hda_dsp_get_registers() 519 offset += xoops->arch_hdr.totalsize; in hda_dsp_get_registers()
|
/linux/arch/sh/kernel/cpu/ |
A D | init.c | 196 #define CSHAPE(totalsize, linesize, assoc) \ argument 197 ((totalsize & ~0xff) | (linesize << 4) | assoc)
|
/linux/net/core/ |
A D | xdp.c | 589 unsigned int headroom, totalsize; in xdpf_clone() local 595 totalsize = headroom + xdpf->len; in xdpf_clone() 597 if (unlikely(totalsize > PAGE_SIZE)) in xdpf_clone() 604 memcpy(addr, xdpf, totalsize); in xdpf_clone()
|
/linux/arch/powerpc/include/asm/ |
A D | prom.h | 50 __be32 totalsize; /* total size of DT block */ member
|
/linux/include/sound/sof/ |
A D | header.h | 186 uint32_t totalsize; /* Total size of oops message */ member
|
/linux/arch/alpha/kernel/ |
A D | setup.c | 1238 #define CSHAPE(totalsize, linesize, assoc) \ argument 1239 ((totalsize & ~0xff) | (linesize << 4) | assoc)
|
/linux/arch/powerpc/platforms/powermac/ |
A D | bootx_init.c | 398 hdr->totalsize = mem_end - mem_start; in bootx_flatten_dt()
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_main.c | 2440 unsigned int totalsize = metasize + datasize; in igc_construct_skb_zc() local 2450 memcpy(__skb_put(skb, totalsize), xdp->data_meta, totalsize); in igc_construct_skb_zc()
|
/linux/arch/powerpc/kernel/ |
A D | prom_init.c | 2758 hdr->totalsize = cpu_to_be32(dt_struct_end - dt_header_start); in flatten_device_tree()
|