Searched refs:totalsize (Results 1 - 19 of 19) sorted by relevance
/u-boot/include/ |
H A D | circbuf.h | 12 unsigned int totalsize; /* number of bytes allocated */ member in struct:circbuf
|
H A D | gzip.h | 61 void gzwrite_progress_finish(int retcode, ulong totalwritten, ulong totalsize,
|
/u-boot/scripts/dtc/libfdt/ |
H A D | fdt.c | 20 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 D | fdt.h | 14 fdt32_t totalsize; /* total size of DT block */ member in struct:fdt_header
|
H A D | fdt_ro.c | 36 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 D | libfdt.h | 206 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) 223 fdt_set_hdr_(totalsize); variable
|
/u-boot/scripts/dtc/ |
H A D | flattree.c | 350 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 D | util.c | 300 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 D | circbuf.c | 18 buf->totalsize = size; 86 if (buf->size < buf->totalsize) {
|
/u-boot/test/py/tests/ |
H A D | vboot_evil.py | 436 (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 D | vboot_forge.py | 78 ('I', 'totalsize'), 320 header.totalsize = fp.tell()
|
/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_fdt.c | 77 end = &pos[f2h(header->totalsize) >> 2];
|
/u-boot/drivers/serial/ |
H A D | usbtty.c | 431 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 D | boothart.c | 146 end = &pos[f2h(header->totalsize) >> 2];
|
H A D | dtbdump.c | 441 dtb_size = f2h(dtb->totalsize);
|
/u-boot/tools/binman/ |
H A D | image.py | 127 dtb_size = probe_dtb.GetFdtObj().totalsize()
|
H A D | ftest.py | 725 """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 D | fdt.py | 262 fdt_obj.resize(fdt_obj.totalsize() + 1024 + 671 fdt_obj.resize(fdt_obj.totalsize() + 1024)
|
/u-boot/tools/binman/etype/ |
H A D | fit.py | 824 offset = fdt.GetFdtObj().totalsize() + data_offset
|
Completed in 144 milliseconds