Lines Matching defs:file_size
41 uint32_t file_size; /* length of the file */
160 fdata->file_size = st.st_size;
176 fread(buf, fdata->file_size, 1, f);
214 if (kernel_info.file_size > board->kernel_len) {
228 if (rootfs_info.file_size > board->rootfs_len) {
285 kernel_info.file_size + rootfs_info.file_size +
306 hdr->length = HOST_TO_LE32(kernel_info.file_size +
316 tail = (struct fw_tail *) (p + kernel_info.file_size);
318 tail->crc = HOST_TO_BE32(cyg_crc32(p, kernel_info.file_size +
321 p += kernel_info.file_size + sizeof(struct fw_tail);
326 hdr->length = HOST_TO_LE32(rootfs_info.file_size +
336 tail = (struct fw_tail *) (p + rootfs_info.file_size);
338 tail->crc = HOST_TO_BE32(cyg_crc32(p, rootfs_info.file_size +
341 p += rootfs_info.file_size + sizeof(struct fw_tail);