Lines Matching defs:file_size
40 uint32_t file_size; /* length of the file */
306 fdata->file_size = st.st_size;
322 fread(buf, fdata->file_size, 1, f);
409 kernel_len = kernel_info.file_size;
412 exceed_bytes = kernel_info.file_size - (fw_max_len - sizeof(struct fw_header));
419 kernel_info.file_size +
439 exceed_bytes = kernel_len + rootfs_info.file_size - (fw_max_len - sizeof(struct fw_header));
445 exceed_bytes = kernel_info.file_size - (rootfs_ofs - sizeof(struct fw_header));
451 exceed_bytes = rootfs_info.file_size - (fw_max_len - rootfs_ofs);
495 if (boot_info.file_size == 0)
507 hdr->rootfs_len = htonl(rootfs_info.file_size);
618 writelen += rootfs_info.file_size;
620 writelen = rootfs_ofs + rootfs_info.file_size;
680 buf = malloc(inspect_info.file_size);
692 inspect_fw_phexdec("File size", inspect_info.file_size);
707 get_md5(buf, inspect_info.file_size, hdr->md5sum1);