Searched refs:st_size (Results 26 - 49 of 49) sorted by relevance

12

/u-boot/tools/
H A Dmtk_image.c739 lk->size = cpu_to_le32(sbuf->st_size - sizeof(union lk_hdr));
748 img_size = sbuf->st_size;
751 mtk_image_set_mt7621_header(ptr, sbuf->st_size, params->addr);
756 mtk_image_set_nand_header(ptr, sbuf->st_size, params->addr);
758 mtk_image_set_gen_header(ptr, sbuf->st_size, params->addr);
H A Dmkexynosspl.c124 len = stat.st_size;
H A Dsunxi_egon.c164 for (i = 0; i < sbuf->st_size / 4; i++)
H A Dsocfpgaimage.c407 sbuf.st_size <= (sfp_max_size(ver) - sizeof(uint32_t))) {
408 data_size = sbuf.st_size;
H A Drenesas_spkgimage.c237 params->orig_file_size = s.st_size;
241 uint32_t payload_len = conf.blp_len + s.st_size + SPKG_CRC_SIZE;
H A Dimage-host.c317 if (sbuf.st_size != expected_size) {
319 filename, (long long)sbuf.st_size, expected_size);
324 n = read(fd, data, sbuf.st_size);
332 if (n != sbuf.st_size) {
334 filename, n, (long long)sbuf.st_size);
H A Dzynqmpbif.c220 *size = sbuf.st_size;
222 buf = malloc(sbuf.st_size);
227 while (len < sbuf.st_size) {
228 r = read(fd, bufp, sbuf.st_size - len);
H A Datmelimage.c213 size_t size = sbuf->st_size;
H A Dpblimage.c292 uboot_size = roundup(st.st_size, 64);
H A Dzynqimage.c277 zynqhdr->image_size = cpu_to_le32((uint32_t)sbuf->st_size);
H A Dkwbimage.c1238 headersz += ALIGN(s.st_size, 4) + sizeof(uint32_t);
1322 ret = fread(*cur, s.st_size, 1, bin);
1332 *cur += ALIGN(s.st_size, 4);
1342 ALIGN(s.st_size, 4);
1917 * Do not use sbuf->st_size as it contains size with padding.
1921 s.st_size = 0;
1927 datasz = ALIGN(s.st_size, 4);
2178 s.st_size = 0;
2273 size = 4 + (align - (alloc_len + s.st_size + 4) % align) % align;
H A Dasn1_compiler.c605 if (!(buffer = malloc(st.st_size + 1))) {
610 if ((readlen = read(fd, buffer, st.st_size)) < 0) {
620 if (readlen != st.st_size) {
H A Difdtool.c609 *sizep = buf.st_size;
1022 size = buf.st_size;
H A Defivar.py86 if os.path.exists(self.infile) and os.stat(self.infile).st_size > self.efi.var_file_size:
H A Drelocate-rela.c670 debug(" st_size:\t0x%x\n", elf32_to_cpu(symbols.st_size));
/u-boot/fs/yaffs2/
H A Dyaffsfs.h57 loff_t st_size; /* total size, in bytes */ member in struct:yaffs_stat
H A Dyaffs_uboot_glue.c379 yaffs_read(h, addr, (int)s.st_size);
421 (long)stat.st_size);
H A Dyaffsfs.c1606 buf->st_size = yaffs_get_obj_length(obj);
1608 buf->st_blocks = lldiv(buf->st_size + buf->st_blksize - 1,
/u-boot/include/
H A Delf.h357 Elf32_Word st_size; /* symbol size */ member in struct:__anon32
369 Elf64_Xword st_size; /* symbol size */ member in struct:__anon33
/u-boot/test/py/tests/
H A Dtest_fit.py140 return os.stat(fname).st_size
/u-boot/tools/env/
H A Dfw_env.c1758 if (s.st_size >= sizeof(buf)) {
1762 size = fread(buf, s.st_size, 1, fp);
1768 buf[s.st_size] = '\0';
1790 ENVSIZE(0) = s.st_size;
/u-boot/arch/sandbox/cpu/
H A Dos.c681 next->size = buf.st_size;
724 *size = buf.st_size;
/u-boot/tools/buildman/
H A Dbuilderthread.py333 if os.path.exists(err_file) and os.stat(err_file).st_size:
/u-boot/fs/jffs2/
H A Djffs2_1pass.c915 st->st_size, s, name);
918 printf(" %s %8ld %s %s", mkmodestr(st->st_mode,str), st->st_size, s, name);
936 st.st_size = i->isize;

Completed in 307 milliseconds

12