Lines Matching defs:data

82  * Verify a single data block against the file's Merkle tree.
89 * Return: %true if the data block is valid, else %false.
93 const void *data, u64 data_pos, unsigned long max_ra_pages)
123 * This can happen in the data page spanning EOF when the Merkle
125 * doesn't cover data blocks fully past EOF. But the entire
128 * to verify that any data blocks fully past EOF are all zeroes.
130 if (memchr_inv(data, 0, params->block_size)) {
231 /* Finally, verify the data block. */
232 if (fsverity_hash_block(params, inode, data, real_hash) != 0)
267 void *data;
270 data = kmap_local_folio(data_folio, offset);
271 valid = verify_data_block(inode, vi, data, pos + offset,
273 kunmap_local(data);
283 * fsverity_verify_blocks() - verify data in a folio
284 * @folio: the folio containing the data to verify
285 * @len: the length of the data to verify in the folio
286 * @offset: the offset of the data to verify in the folio
288 * Verify data that has just been read from a verity file. The data must be
290 * length and offset of the data must be Merkle tree block size aligned.
292 * Return: %true if the data is valid, else %false.
305 * Verify the bio's data against the file's Merkle tree. All bio data segments
306 * must be aligned to the file's Merkle tree block size. If any data fails
310 * that issue bios to read data directly into the page cache. Filesystems that
322 * If this bio is for data readahead, then we also do readahead
325 * some additional pages -- up to 1/4 the number of data pages.
345 * fsverity_get_verified_data_size() - get verified data size of a verity file
348 * Return: verified data size