Lines Matching refs:hpage
19 static bool is_hash_block_verified(struct fsverity_info *vi, struct page *hpage, in is_hash_block_verified() argument
36 return PageChecked(hpage); in is_hash_block_verified()
53 if (PageChecked(hpage)) { in is_hash_block_verified()
62 if (PageChecked(hpage)) { in is_hash_block_verified()
74 SetPageChecked(hpage); in is_hash_block_verified()
149 struct page *hpage; in verify_data_block() local
172 hpage = inode->i_sb->s_vop->read_merkle_tree_page(inode, in verify_data_block()
175 if (IS_ERR(hpage)) { in verify_data_block()
178 PTR_ERR(hpage), hpage_idx); in verify_data_block()
181 haddr = kmap_local_page(hpage) + hblock_offset_in_page; in verify_data_block()
182 if (is_hash_block_verified(vi, hpage, hblock_idx)) { in verify_data_block()
186 put_page(hpage); in verify_data_block()
189 hblocks[level].page = hpage; in verify_data_block()
200 struct page *hpage = hblocks[level - 1].page; in verify_data_block() local
217 SetPageChecked(hpage); in verify_data_block()
221 put_page(hpage); in verify_data_block()