Searched refs:totalsize (Results 1 - 19 of 19) sorted by relevance

/u-boot/include/
H A Dcircbuf.h12 unsigned int totalsize; /* number of bytes allocated */ member in struct:circbuf
H A Dgzip.h61 void gzwrite_progress_finish(int retcode, ulong totalwritten, ulong totalsize,
/u-boot/scripts/dtc/libfdt/
H A Dfdt.c20 uint32_t totalsize = fdt_totalsize(fdt); local
39 if (totalsize < INT32_MAX)
40 return totalsize;
45 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) argument
47 return (off >= hdrsize) && (off <= totalsize);
50 static int check_block_(uint32_t hdrsize, uint32_t totalsize, argument
53 if (!check_off_(hdrsize, totalsize, base))
57 if (!check_off_(hdrsize, totalsize, base + size))
H A Dfdt.h14 fdt32_t totalsize; /* total size of DT block */ member in struct:fdt_header
H A Dfdt_ro.c36 int32_t totalsize; local
49 totalsize = fdt_ro_probe_(fdt);
50 err = totalsize;
51 if (totalsize < 0)
56 if (absoffset >= (unsigned)totalsize)
58 len = totalsize - absoffset;
H A Dlibfdt.h206 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize))
223 fdt_set_hdr_(totalsize); variable
/u-boot/scripts/dtc/
H A Dflattree.c350 fdt->totalsize = cpu_to_fdt32(reserve_off + reservesize + dtsize + strsize);
388 * If the user asked for more space than is used, adjust the totalsize.
391 padlen = minsize - fdt32_to_cpu(fdt.totalsize);
397 fdt32_to_cpu(fdt.totalsize), minsize);
405 padlen = ALIGN(fdt32_to_cpu(fdt.totalsize) + padlen, alignsize)
406 - fdt32_to_cpu(fdt.totalsize);
409 int tsize = fdt32_to_cpu(fdt.totalsize);
411 fdt.totalsize = cpu_to_fdt32(tsize);
482 fprintf(f, "\t/* totalsize */\n");
814 uint32_t magic, totalsize, versio local
[all...]
H A Dutil.c300 int totalsize; local
311 totalsize = fdt_totalsize(blob);
314 while (offset < totalsize) {
315 ret = write(fd, ptr + offset, totalsize - offset);
/u-boot/lib/
H A Dcircbuf.c18 buf->totalsize = size;
86 if (buf->size < buf->totalsize) {
/u-boot/test/py/tests/
H A Dvboot_evil.py436 (totalsize, off_dt_struct, off_dt_strings, off_mem_rsvmap, version,
462 totalsize = 0x28 + len(rsv_map) + size_dt_struct + size_dt_strings
467 header = struct.pack('>IIIIIIIIII', MAGIC, totalsize, off_dt_struct,
H A Dvboot_forge.py78 ('I', 'totalsize'),
320 header.totalsize = fp.tell()
/u-boot/lib/efi_selftest/
H A Defi_selftest_fdt.c77 end = &pos[f2h(header->totalsize) >> 2];
/u-boot/drivers/serial/
H A Dusbtty.c431 if ((usbtty_output.size + 2) >= usbtty_output.totalsize) {
454 int maxlen = usbtty_output.totalsize;
892 unsigned int rx_avail = buf->totalsize - buf->size;
/u-boot/lib/efi_loader/
H A Dboothart.c146 end = &pos[f2h(header->totalsize) >> 2];
H A Ddtbdump.c441 dtb_size = f2h(dtb->totalsize);
/u-boot/tools/binman/
H A Dimage.py127 dtb_size = probe_dtb.GetFdtObj().totalsize()
H A Dftest.py725 """Get the totalsize field from a device-tree binary
2050 start += dtb._fdt_obj.totalsize()
2067 size = dtb._fdt_obj.totalsize()
2579 fdt_size = dtb.GetFdtObj().totalsize()
3399 start += dtb._fdt_obj.totalsize()
4736 fdt_size = dtb.GetFdtObj().totalsize()
/u-boot/tools/dtoc/
H A Dfdt.py262 fdt_obj.resize(fdt_obj.totalsize() + 1024 +
671 fdt_obj.resize(fdt_obj.totalsize() + 1024)
/u-boot/tools/binman/etype/
H A Dfit.py824 offset = fdt.GetFdtObj().totalsize() + data_offset

Completed in 144 milliseconds