Home
last modified time | relevance | path

Searched refs:file_size (Results 1 – 25 of 34) sorted by relevance

12

/u-boot/fs/squashfs/
A Dsqfs_dir.c76 u32 file_size; in sqfs_is_empty_dir() local
81 file_size = get_unaligned_le16(&dir->file_size); in sqfs_is_empty_dir()
85 file_size = get_unaligned_le16(&ldir->file_size); in sqfs_is_empty_dir()
92 return file_size == SQFS_EMPTY_FILE_SIZE; in sqfs_is_empty_dir()
A Dsqfs_inode.c30 u32 file_size = get_unaligned_le32(&reg->file_size); in sqfs_inode_size() local
34 blk_list_size = file_size / blk_size; in sqfs_inode_size()
36 blk_list_size = DIV_ROUND_UP(file_size, blk_size); in sqfs_inode_size()
68 u64 file_size = get_unaligned_le64(&lreg->file_size); in sqfs_inode_size() local
72 blk_list_size = DIV_ROUND_UP(file_size, blk_size); in sqfs_inode_size()
74 blk_list_size = file_size / blk_size; in sqfs_inode_size()
A Dsqfs_filesystem.h167 __le32 file_size; member
179 __le64 file_size; member
197 __le16 file_size; member
210 __le32 file_size; member
A Dsqfs.c485 dirs->size = get_unaligned_le16(&dir->file_size) - SQFS_DIR_HEADER_SIZE; in sqfs_search_dir()
611 dirs->size = get_unaligned_le16(&dir->file_size); in sqfs_search_dir()
937 dirs->size = le16_to_cpu(dirs->i_dir.file_size); in sqfs_opendir()
939 dirs->size = le32_to_cpu(dirs->i_ldir.file_size); in sqfs_opendir()
1032 dent->size = get_unaligned_le64(&lreg->file_size); in sqfs_readdir()
1035 dent->size = get_unaligned_le32(&reg->file_size); in sqfs_readdir()
1239 finfo->size = get_unaligned_le32(&reg->file_size); in sqfs_get_regfile_info()
1277 finfo->size = get_unaligned_le64(&lreg->file_size); in sqfs_get_lregfile_info()
1632 *size = get_unaligned_le32(&reg->file_size); in sqfs_size()
1636 *size = get_unaligned_le64(&lreg->file_size); in sqfs_size()
/u-boot/tools/
A Dmksunxiboot.c68 unsigned file_size; in main() local
116 file_size = lseek(fd_in, 0, SEEK_END); in main()
118 if (file_size > SRAM_LOAD_MAX_SIZE) { in main()
131 count = read(fd_in, img.code, file_size); in main()
132 if (count != file_size) { in main()
144 ALIGN(file_size + sizeof(struct boot_file_head), BLOCK_SIZE); in main()
A Drkspi.c36 size, params->file_size); in rkspi_set_header()
70 params->file_size = ROUND(params->file_size, RKSPI_SECT_LEN) << 1; in rkspi_vrec_header()
A Dsunxi_egon.c86 header->length = cpu_to_le32(params->file_size); in egon_set_header()
120 return ALIGN(params->file_size, PAD_SIZE) - params->file_size; in egon_vrec_header()
A Drkimage.c21 rkcommon_rc4_encode_spl(buf, 0, params->file_size); in rkimage_set_header()
A Dmkimage.c464 params.file_size = sbuf.st_size + tparams->header_size; in main()
580 uint32_t aligned_filesize = ALIGN(params.file_size, in main()
589 int i = params.file_size; in main()
627 params.file_size = sbuf.st_size; in main()
A Drkcommon.c443 params->file_size = ROUND(params->orig_file_size, RK_SIZE_ALIGN); in rkcommon_vrec_header()
542 params->file_size - params->orig_file_size); in rockchip_copy_image()
A Dmtk_image.c595 static void put_ghf_header(struct gfh_header *gfh, int file_size, in put_ghf_header() argument
612 gfh->file_info.total_size = cpu_to_le32(file_size - dev_hdr_size); in put_ghf_header()
613 gfh->file_info.max_size = cpu_to_le32(file_size); in put_ghf_header()
A Dimagetool.h72 int file_size; /* Total size of output file */ member
A Dfit_image.c852 size_t file_size = 0; in fit_image_extract() local
856 ret = fit_image_get_data_and_size(fit, image_noffset, &file_data, &file_size); in fit_image_extract()
863 return imagetool_save_subimage(file_name, (ulong) file_data, file_size); in fit_image_extract()
/u-boot/lib/efi_loader/
A Defi_file.c401 loff_t *file_size) in efi_get_file_size() argument
406 if (fs_size(fh->path, file_size)) in efi_get_file_size()
417 loff_t file_size; in file_read() local
427 if (file_size < fh->offset) { in file_read()
497 info->file_size = dent->size; in dir_read()
750 loff_t file_size; in efi_file_setpos() local
755 pos = file_size; in efi_file_setpos()
785 loff_t file_size; in efi_file_getinfo() local
803 info->file_size = file_size; in efi_file_getinfo()
879 loff_t file_size; in efi_file_setinfo() local
[all …]
/u-boot/cmd/
A Dini.c233 size_t file_size; in do_ini() local
241 file_size = (size_t)simple_strtoul( in do_ini()
244 return ini_parse(file_address, file_size, ini_handler, (void *)section); in do_ini()
/u-boot/include/
A Dbmp_layout.h26 __u32 file_size; member
/u-boot/fs/yaffs2/
A Dyaffs_yaffs2.c386 cp->size_or_equiv_obj = obj->variant.file_variant.file_size; in yaffs2_obj_checkpt_obj()
859 old_file_size = obj->variant.file_variant.file_size; in yaffs2_handle_hole()
946 loff_t file_size; in yaffs2_scan_chunk() local
1075 file_size = endpos; in yaffs2_scan_chunk()
1233 file_size = yaffs_oh_to_size(oh); in yaffs2_scan_chunk()
1241 file_size = tags.extra_file_size; in yaffs2_scan_chunk()
1297 if (file_var->scanned_size < file_size) { in yaffs2_scan_chunk()
1304 file_var->file_size = file_size; in yaffs2_scan_chunk()
1305 file_var->scanned_size = file_size; in yaffs2_scan_chunk()
1308 if (file_var->shrink_size > file_size) in yaffs2_scan_chunk()
[all …]
A Dyaffs_yaffs1.c170 file_variant.file_size = in yaffs1_scan()
325 file_variant.file_size in yaffs1_scan()
A Dyaffs_attribs.c90 return obj->variant.file_variant.file_size; in yaffs_get_file_size()
A Dyaffs_guts.c1947 the_obj->variant.file_variant.file_size = 0; in yaffs_new_obj()
2494 object->variant.file_variant.file_size); in yaffs_gc_process_chunk()
2496 object->variant.file_variant.file_size; in yaffs_gc_process_chunk()
3274 loff_t file_size = 0; in yaffs_update_oh() local
3329 file_size = in->variant.file_variant.file_size; in yaffs_update_oh()
3330 yaffs_oh_size_load(oh, file_size); in yaffs_update_oh()
3364 new_tags.extra_file_size = file_size; in yaffs_update_oh()
3542 in->variant.file_variant.file_size - in yaffs_do_file_wr()
3747 obj->variant.file_variant.file_size = new_size; in yaffs_resize_file_down()
3770 in->variant.file_variant.file_size = new_size; in yaffs_resize_file()
[all …]
/u-boot/drivers/usb/emul/
A Dsandbox_flash.c62 loff_t file_size; member
272 if (priv->file_size) in handle_ufi_command()
273 blocks = priv->file_size / SANDBOX_FLASH_BLOCK_LEN - 1; in handle_ufi_command()
401 return os_get_filesize(plat->pathname, &priv->file_size); in sandbox_flash_probe()
/u-boot/lib/efi_selftest/
A Defi_selftest_loadimage.c185 u64 file_size; member
401 priv.file_size = img.length; in decompress()
402 file_info->file_size = img.length; in decompress()
/u-boot/doc/
A DREADME.displaying-bmps17 __u32 file_size;
/u-boot/tools/binman/
A Delf.py254 file_size = len(data)
/u-boot/common/
A Dsplash_source.c102 bmp_size = le32_to_cpu(bmp_hdr->file_size); in splash_load_raw()

Completed in 67 milliseconds

12