Lines Matching defs:file_size
38 uint32_t file_size; /* length of the file */
320 fdata->file_size = st.st_size;
336 fread(buf, fdata->file_size, 1, f);
419 kernel_len = kernel_info.file_size;
422 if (kernel_info.file_size >
444 if (kernel_len + rootfs_info.file_size >
450 if (kernel_info.file_size >
456 if (rootfs_info.file_size >
502 if (boot_info.file_size == 0) {
508 hdr->boot_ofs = htonl(rootfs_ofs + rootfs_info.file_size);
509 hdr->boot_len = htonl(rootfs_info.file_size);
519 hdr->rootfs_len = htonl(rootfs_info.file_size);
523 hdr->boot_len = htonl(boot_info.file_size);
647 writelen += rootfs_info.file_size;
649 writelen = rootfs_ofs + rootfs_info.file_size;
744 buf = malloc(inspect_info.file_size);
756 inspect_fw_phexdec("File size", inspect_info.file_size);
777 get_md5(buf, inspect_info.file_size, hdr->md5sum1);