Home
last modified time | relevance | path

Searched refs:fsverity_info (Results 1 – 13 of 13) sorted by relevance

/linux/include/linux/
H A Dfsverity.h29 struct fsverity_info;
161 struct fsverity_info *__fsverity_get_info(const struct inode *inode);
170 static inline struct fsverity_info *fsverity_get_info(const struct inode *inode) in fsverity_get_info()
198 void fsverity_readahead(struct fsverity_info *vi, pgoff_t index,
200 bool fsverity_verify_blocks(struct fsverity_info *vi, struct folio *folio,
202 void fsverity_verify_bio(struct fsverity_info *vi, struct bio *bio);
212 static inline struct fsverity_info *fsverity_get_info(const struct inode *inode) in fsverity_get_info()
260 static inline void fsverity_readahead(struct fsverity_info *vi, pgoff_t index, in fsverity_readahead()
265 static inline bool fsverity_verify_blocks(struct fsverity_info *vi, in fsverity_verify_blocks()
273 static inline void fsverity_verify_bio(struct fsverity_info *vi, in fsverity_verify_bio()
[all …]
/linux/fs/verity/
H A Dfsverity_private.h73 struct fsverity_info { struct
129 struct fsverity_info *fsverity_create_info(struct inode *inode,
132 int fsverity_set_info(struct fsverity_info *vi);
133 void fsverity_free_info(struct fsverity_info *vi);
134 void fsverity_remove_info(struct fsverity_info *vi);
145 int fsverity_verify_signature(const struct fsverity_info *vi,
151 fsverity_verify_signature(const struct fsverity_info *vi, in fsverity_verify_signature()
H A Dopen.c18 .key_len = sizeof_field(struct fsverity_info, inode),
19 .key_offset = offsetof(struct fsverity_info, inode),
20 .head_offset = offsetof(struct fsverity_info, rhash_head),
186 struct fsverity_info *fsverity_create_info(struct inode *inode, in fsverity_create_info()
189 struct fsverity_info *vi; in fsverity_create_info()
252 int fsverity_set_info(struct fsverity_info *vi) in fsverity_set_info()
259 struct fsverity_info *__fsverity_get_info(const struct inode *inode) in __fsverity_get_info()
349 struct fsverity_info *vi = fsverity_get_info(inode), *found; in ensure_verity_info()
392 void fsverity_free_info(struct fsverity_info *vi) in fsverity_free_info()
399 void fsverity_remove_info(struct fsverity_info *vi) in fsverity_remove_info()
[all …]
H A Dverify.c22 struct fsverity_info *vi;
51 void fsverity_readahead(struct fsverity_info *vi, pgoff_t index, in fsverity_readahead()
86 static bool is_hash_block_verified(struct fsverity_info *vi, struct page *hpage, in is_hash_block_verified()
158 static bool verify_data_block(struct fsverity_info *vi, in verify_data_block()
325 struct fsverity_info *vi) in fsverity_init_verification_context()
351 struct fsverity_info *vi = ctx->vi; in fsverity_verify_pending_blocks()
381 struct fsverity_info *vi = ctx->vi; in fsverity_add_data_blocks()
417 bool fsverity_verify_blocks(struct fsverity_info *vi, struct folio *folio, in fsverity_verify_blocks()
448 void fsverity_verify_bio(struct fsverity_info *vi, struct bio *bio) in fsverity_verify_bio()
H A Dread_metadata.c17 const struct fsverity_info *vi, in fsverity_read_merkle_tree()
164 const struct fsverity_info *vi; in fsverity_ioctl_read_metadata()
H A Dsignature.c53 int fsverity_verify_signature(const struct fsverity_info *vi, in fsverity_verify_signature()
H A Denable.c187 struct fsverity_info *vi; in enable_verity()
/linux/fs/ext4/
H A Dreadpage.c66 struct fsverity_info *vi;
102 struct fsverity_info *vi = ctx->vi; in verity_work()
181 struct fsverity_info *vi) in ext4_set_bio_post_read_ctx()
211 static int ext4_mpage_readpages(struct inode *inode, struct fsverity_info *vi, in ext4_mpage_readpages()
398 struct fsverity_info *vi = NULL; in ext4_read_folio()
419 struct fsverity_info *vi = NULL; in ext4_readahead()
/linux/include/trace/events/
H A Dfsverity.h12 struct fsverity_info;
41 TP_PROTO(const struct inode *inode, const struct fsverity_info *vi,
/linux/fs/f2fs/
H A Ddata.c118 struct fsverity_info *vi;
196 struct fsverity_info *vi = ctx->vi; in f2fs_verify_bio()
1100 struct fsverity_info *vi, block_t blkaddr, in f2fs_grab_read_bio()
1148 static void f2fs_submit_page_read(struct inode *inode, struct fsverity_info *vi, in f2fs_submit_page_read()
1258 static inline struct fsverity_info *f2fs_need_verity(const struct inode *inode, in f2fs_need_verity()
2158 static int f2fs_read_single_page(struct inode *inode, struct fsverity_info *vi, in f2fs_read_single_page()
2462 struct fsverity_info *vi, in f2fs_read_data_large_folio()
2612 static int f2fs_mpage_readpages(struct inode *inode, struct fsverity_info *vi, in f2fs_mpage_readpages()
2741 struct fsverity_info *vi = NULL; in f2fs_read_data_folio()
2767 struct fsverity_info *vi = NULL; in f2fs_readahead()
H A Df2fs.h1673 struct fsverity_info *vi; /* verity info if needed */
1729 struct fsverity_info *vi; /* fs-verity context if needed */
/linux/fs/btrfs/
H A Dextent_io.c478 static bool btrfs_verify_folio(struct fsverity_info *vi, struct folio *folio, in btrfs_verify_folio()
488 static void end_folio_read(struct fsverity_info *vi, struct folio *folio, in end_folio_read()
578 struct fsverity_info *vi = NULL; in end_bbio_data_read()
999 struct fsverity_info *vi) in btrfs_do_readpage()
1348 struct fsverity_info *vi = NULL; in btrfs_read_folio()
2733 struct fsverity_info *vi = NULL; in btrfs_readahead()
/linux/fs/
H A Dbuffer.c306 struct fsverity_info *vi;
353 struct fsverity_info *vi = NULL; in end_buffer_async_read_io()