Searched refs:totalsize (Results 1 – 18 of 18) sorted by relevance
/u-boot/scripts/dtc/libfdt/ |
A D | fdt.c | 20 uint32_t totalsize = fdt_totalsize(fdt); in fdt_ro_probe_() local 39 if (totalsize < INT32_MAX) in fdt_ro_probe_() 40 return totalsize; in fdt_ro_probe_() 45 static int check_off_(uint32_t hdrsize, uint32_t totalsize, uint32_t off) in check_off_() argument 47 return (off >= hdrsize) && (off <= totalsize); in check_off_() 50 static int check_block_(uint32_t hdrsize, uint32_t totalsize, in check_block_() argument 53 if (!check_off_(hdrsize, totalsize, base)) in check_block_() 57 if (!check_off_(hdrsize, totalsize, base + size)) in check_block_()
|
A D | fdt.h | 14 fdt32_t totalsize; /* total size of DT block */ member
|
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 | libfdt.h | 206 #define fdt_totalsize(fdt) (fdt_get_header(fdt, totalsize)) 223 fdt_set_hdr_(totalsize);
|
/u-boot/scripts/dtc/ |
A D | flattree.c | 406 - fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 409 int tsize = fdt32_to_cpu(fdt.totalsize); in dt_to_blob() 411 fdt.totalsize = cpu_to_fdt32(tsize); in dt_to_blob() 856 if (totalsize < FDT_V1_SIZE) in dt_from_blob() 859 blob = xmalloc(totalsize); in dt_from_blob() 863 fdt->totalsize = cpu_to_fdt32(totalsize); in dt_from_blob() 865 sizeleft = totalsize - sizeof(magic) - sizeof(totalsize); in dt_from_blob() 871 totalsize); in dt_from_blob() 888 if (off_mem_rsvmap >= totalsize) in dt_from_blob() 891 if (off_dt >= totalsize) in dt_from_blob() [all …]
|
A D | util.c | 300 int totalsize; in utilfdt_write_err() local 311 totalsize = fdt_totalsize(blob); in utilfdt_write_err() 314 while (offset < totalsize) { in utilfdt_write_err() 315 ret = write(fd, ptr + offset, totalsize - offset); in utilfdt_write_err()
|
/u-boot/lib/ |
A D | circbuf.c | 19 buf->totalsize = size; in buf_init() 87 if (buf->size < buf->totalsize) { in buf_push()
|
/u-boot/include/ |
A D | circbuf.h | 12 unsigned int totalsize; /* number of bytes allocated */ member
|
A D | gzip.h | 61 void gzwrite_progress_finish(int retcode, u64 totalwritten, u64 totalsize,
|
/u-boot/test/py/tests/ |
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,
|
A D | vboot_forge.py | 320 header.totalsize = fp.tell()
|
/u-boot/lib/efi_selftest/ |
A D | efi_selftest_fdt.c | 75 end = &pos[f2h(header->totalsize) >> 2]; in get_property()
|
A D | dtbdump.c | 442 dtb_size = f2h(dtb->totalsize); in do_save()
|
/u-boot/drivers/serial/ |
A D | usbtty.c | 445 if ((usbtty_output.size + 2) >= usbtty_output.totalsize) { in usbtty_putc() 468 int maxlen = usbtty_output.totalsize; in __usbtty_puts() 916 unsigned int rx_avail = buf->totalsize - buf->size; in fill_buffer()
|
/u-boot/tools/dtoc/ |
A D | fdt.py | 237 fdt_obj.resize(fdt_obj.totalsize() + 1024 + 514 fdt_obj.resize(fdt_obj.totalsize() + 1024)
|
/u-boot/tools/binman/ |
A D | image.py | 99 dtb_size = probe_dtb.GetFdtObj().totalsize()
|
A D | ftest.py | 1812 start += dtb._fdt_obj.totalsize() 1829 size = dtb._fdt_obj.totalsize() 2321 fdt_size = dtb.GetFdtObj().totalsize() 3131 start += dtb._fdt_obj.totalsize()
|
/u-boot/scripts/dtc/pylibfdt/ |
A D | libfdt.i_shipped | 209 def totalsize(self): 547 del self._fdt[self.totalsize():]
|
Completed in 30 milliseconds