Home
last modified time | relevance | path

Searched refs:i_verity_info (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/include/linux/
H A Dfsverity.h131 * I.e., another task may publish ->i_verity_info concurrently, in fsverity_get_info()
135 return smp_load_acquire(&inode->i_verity_info); in fsverity_get_info()
161 * Filesystems must call this on inode eviction to free ->i_verity_info.
165 if (inode->i_verity_info) in fsverity_cleanup_inode()
307 * This checks whether ->i_verity_info has been set.
312 * FS_IOC_ENABLE_VERITY completing. (S_VERITY is set before ->i_verity_info.)
327 * set up the inode's ->i_verity_info if not already done.
H A Dfs.h747 struct fsverity_info *i_verity_info; member
/kernel/linux/linux-5.10/fs/verity/
H A Dopen.c241 * Multiple tasks may race to set ->i_verity_info, so use in fsverity_set_info()
243 * fsverity_get_info(). I.e., here we publish ->i_verity_info with a in fsverity_set_info()
246 if (cmpxchg_release(&inode->i_verity_info, NULL, vi) != NULL) { in fsverity_set_info()
250 * Afterwards, the caller may access ->i_verity_info directly, in fsverity_set_info()
265 /* Ensure the inode has an ->i_verity_info */
314 * set up the inode's ->i_verity_info if not already done.
361 * Filesystems must call this on inode eviction to free ->i_verity_info.
365 fsverity_free_info(inode->i_verity_info); in fsverity_cleanup_inode()
366 inode->i_verity_info = NULL; in fsverity_cleanup_inode()
H A Dverify.c199 const struct fsverity_info *vi = inode->i_verity_info; in fsverity_verify_page()
233 const struct fsverity_info *vi = inode->i_verity_info; in fsverity_verify_bio()
/kernel/linux/linux-6.6/fs/verity/
H A Dopen.c271 * Multiple tasks may race to set ->i_verity_info, so use in fsverity_set_info()
273 * fsverity_get_info(). I.e., here we publish ->i_verity_info with a in fsverity_set_info()
276 if (cmpxchg_release(&inode->i_verity_info, NULL, vi) != NULL) { in fsverity_set_info()
280 * Afterwards, the caller may access ->i_verity_info directly, in fsverity_set_info()
377 /* Ensure the inode has an ->i_verity_info */
422 fsverity_free_info(inode->i_verity_info); in __fsverity_cleanup_inode()
423 inode->i_verity_info = NULL; in __fsverity_cleanup_inode()
H A Dverify.c257 struct fsverity_info *vi = inode->i_verity_info; in verify_data_blocks()
/kernel/linux/linux-5.10/include/linux/
H A Dfsverity.h120 * I.e., another task may publish ->i_verity_info concurrently, in fsverity_get_info()
124 return smp_load_acquire(&inode->i_verity_info); in fsverity_get_info()
247 * This checks whether ->i_verity_info has been set.
252 * FS_IOC_ENABLE_VERITY completing. (S_VERITY is set before ->i_verity_info.)
H A Dfs.h720 struct fsverity_info *i_verity_info; member
/kernel/linux/common_modules/xpm/validator/
H A Dexec_signature_info.c268 if (file_node->i_verity_info == NULL) in is_fs_verity()

Completed in 17 milliseconds