Lines Matching refs:filesize
236 u64 filesize, const u8 *root_hash, in append_fsverity_descriptor() argument
261 desc->orig_file_size = cpu_to_le64(filesize); in append_fsverity_descriptor()
344 u64 filesize; in fsveritysetup() local
356 if (!get_file_size(in, &filesize)) in fsveritysetup()
359 if (filesize <= 0) { in fsveritysetup()
370 if (!filedes_seek(out, filesize, SEEK_SET)) in fsveritysetup()
379 if (!copy_file_data(in, out, filesize)) in fsveritysetup()
384 aligned_filesize = ALIGN(filesize, params->blocksize); in fsveritysetup()
385 if (!write_zeroes(out, aligned_filesize - filesize)) in fsveritysetup()
391 if (!apply_elisions_and_patches(params, in, filesize, in fsveritysetup()
414 status = append_fsverity_descriptor(params, filesize, root_hash, in fsveritysetup()
436 (void)ftruncate(out->fd, filesize); in fsveritysetup()