/kernel/linux/linux-5.10/include/linux/ |
H A D | fscrypt.h | 95 * built without fscrypt support, you must use IS_ENCRYPTED() directly instead. 99 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_needs_contents_encryption() 419 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_new_inode() 443 if (IS_ENCRYPTED(dir)) in fscrypt_setup_filename() 514 if (IS_ENCRYPTED(inode)) in fscrypt_file_open() 554 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_symlink() 700 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key() 734 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_link() 767 if (IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_di in fscrypt_prepare_rename() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | fscrypt.h | 201 * built without fscrypt support, you must use IS_ENCRYPTED() directly instead. 205 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_needs_contents_encryption() 575 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_new_inode() 599 if (IS_ENCRYPTED(dir)) in fscrypt_setup_filename() 671 if (IS_ENCRYPTED(inode)) in fscrypt_file_open() 728 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_symlink() 896 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_link() 929 if (IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_dir)) in fscrypt_prepare_rename() 962 if (IS_ENCRYPTED(di in fscrypt_prepare_lookup() [all...] |
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | crypto.h | 113 if (!IS_ENCRYPTED(parent)) in ceph_fname_alloc_buffer() 121 if (IS_ENCRYPTED(parent)) in ceph_fname_free_buffer() 147 if (IS_ENCRYPTED(inode)) { in ceph_fscrypt_adjust_off_and_len() 187 if (IS_ENCRYPTED(dir)) in ceph_fscrypt_prepare_context()
|
H A D | addr.c | 271 if (IS_ENCRYPTED(inode) && err > 0) { in finish_netfs_read() 357 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD); in ceph_netfs_issue_read() 397 if (IS_ENCRYPTED(inode)) { in ceph_netfs_issue_read() 707 wlen = IS_ENCRYPTED(inode) ? round_up(len, CEPH_FSCRYPT_BLOCK_SIZE) : len; in writepage_nounlock() 733 if (IS_ENCRYPTED(inode)) { in writepage_nounlock() 751 page_off, len, wlen, IS_ENCRYPTED(inode) ? "" : "not "); in writepage_nounlock() 1154 if (IS_ENCRYPTED(inode)) { in ceph_writepages_start() 1288 if (IS_ENCRYPTED(inode)) in ceph_writepages_start() 1293 if (IS_ENCRYPTED(inode) && in ceph_writepages_start()
|
H A D | crypto.c | 401 if (!IS_ENCRYPTED(dir)) { in ceph_fname_to_usr() 489 if (!IS_ENCRYPTED(dir)) in ceph_fscrypt_prepare_readdir()
|
H A D | file.c | 792 if (IS_ENCRYPTED(dir)) { in ceph_atomic_open() 886 if (IS_ENCRYPTED(dir) && in ceph_atomic_open() 971 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD); in __ceph_sync_read() 1071 if (ret > 0 && IS_ENCRYPTED(inode)) { in __ceph_sync_read() 1699 WARN_ON_ONCE(!IS_ENCRYPTED(inode)); in ceph_sync_write() 1892 if (IS_ENCRYPTED(inode)) { in ceph_sync_write() 2057 !IS_ENCRYPTED(inode)) { in ceph_read_iter() 2343 if ((iocb->ki_flags & IOCB_DIRECT) && !IS_ENCRYPTED(inode)) in ceph_write_iter() 2574 if (IS_ENCRYPTED(inode)) in ceph_fallocate() 2899 if (IS_ENCRYPTED(src_inod in __ceph_copy_file_range() [all...] |
H A D | inode.c | 196 if (IS_ENCRYPTED(parent)) { in ceph_get_snapdir() 798 ci->i_truncate_size, truncate_size, !!IS_ENCRYPTED(inode)); in ceph_fill_file_size() 802 if (IS_ENCRYPTED(inode)) { in ceph_fill_file_size() 1042 if (IS_ENCRYPTED(inode)) in ceph_fill_inode() 1085 if (IS_ENCRYPTED(inode) && size && in ceph_fill_inode() 1166 if (IS_ENCRYPTED(inode)) { in ceph_fill_inode() 1204 if (IS_ENCRYPTED(inode)) { in ceph_fill_inode() 2581 if (IS_ENCRYPTED(inode) && attr->ia_size < isize && in __ceph_setattr() 2609 if (IS_ENCRYPTED(inode) && attr->ia_size) { in __ceph_setattr() 3040 if (IS_ENCRYPTED(inod in ceph_getattr() [all...] |
/kernel/linux/linux-5.10/fs/crypto/ |
H A D | hooks.c | 40 if (IS_ENCRYPTED(d_inode(dir)) && in fscrypt_file_open() 92 if (IS_ENCRYPTED(new_dir) && in __fscrypt_prepare_rename() 98 IS_ENCRYPTED(old_dir) && in __fscrypt_prepare_rename() 148 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags() 315 if (WARN_ON(!IS_ENCRYPTED(inode))) in fscrypt_get_symlink()
|
H A D | policy.c | 379 if (!IS_ENCRYPTED(inode)) in fscrypt_get_policy() 601 if (!IS_ENCRYPTED(parent)) in fscrypt_has_permitted_context() 605 if (!IS_ENCRYPTED(child)) in fscrypt_has_permitted_context() 651 if (IS_ENCRYPTED(dir)) { in fscrypt_policy_to_inherit()
|
/kernel/linux/linux-6.6/fs/crypto/ |
H A D | hooks.c | 40 if (IS_ENCRYPTED(d_inode(dir)) && in fscrypt_file_open() 82 if (IS_ENCRYPTED(new_dir) && in __fscrypt_prepare_rename() 88 IS_ENCRYPTED(old_dir) && in __fscrypt_prepare_rename() 181 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags() 348 if (WARN_ON_ONCE(!IS_ENCRYPTED(inode))) in fscrypt_get_symlink()
|
H A D | policy.c | 419 if (!IS_ENCRYPTED(inode)) in fscrypt_get_policy() 641 if (!IS_ENCRYPTED(parent)) in fscrypt_has_permitted_context() 645 if (!IS_ENCRYPTED(child)) in fscrypt_has_permitted_context() 697 if (IS_ENCRYPTED(dir)) { in fscrypt_policy_to_inherit()
|
H A D | fscrypt_private.h | 631 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | dir.c | 121 if (IS_ENCRYPTED(inode)) { in ext4_readdir() 150 if (IS_ENCRYPTED(inode)) { in ext4_readdir() 256 if (!IS_ENCRYPTED(inode)) { in ext4_readdir() 621 if (IS_ENCRYPTED(inode)) in ext4_dir_open()
|
H A D | move_extent.c | 596 if (IS_ENCRYPTED(orig_inode) || IS_ENCRYPTED(donor_inode)) { in ext4_move_extents()
|
H A D | ext4_jbd2.c | 21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
|
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | hash.c | 127 if (IS_ENCRYPTED(dir)) { in f2fs_hash_filename()
|
H A D | dir.c | 195 if (IS_ENCRYPTED(dir)) { in f2fs_match_ci_name() 478 if (IS_ENCRYPTED(dir)) { in init_dent_inode() 567 if (IS_ENCRYPTED(inode)) { in f2fs_init_inode_metadata() 1027 if (IS_ENCRYPTED(d->inode)) { in f2fs_fill_dentries() 1071 if (IS_ENCRYPTED(inode)) { in f2fs_readdir()
|
H A D | recovery.c | 135 if (!IS_ENCRYPTED(dir)) { in init_recovered_filename() 142 if (IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir)) { in init_recovered_filename()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
H A D | dir.c | 533 if (IS_ENCRYPTED(inode)) { in f2fs_init_inode_metadata() 546 if (IS_ENCRYPTED(dir)) in f2fs_init_inode_metadata() 984 if (IS_ENCRYPTED(d->inode)) { in f2fs_fill_dentries() 1028 if (IS_ENCRYPTED(inode)) { in f2fs_readdir() 1090 if (IS_ENCRYPTED(inode)) in f2fs_dir_open()
|
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | move_extent.c | 600 if (IS_ENCRYPTED(orig_inode) || IS_ENCRYPTED(donor_inode)) { in ext4_move_extents()
|
H A D | dir.c | 164 if (IS_ENCRYPTED(inode)) { in ext4_readdir() 271 if (!IS_ENCRYPTED(inode)) { in ext4_readdir()
|
H A D | ext4_jbd2.c | 21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
|
H A D | namei.c | 677 if (!IS_ENCRYPTED(dir)) { in dx_show_leaf() 856 !(IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir))) { in dx_probe() 1093 if (IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree() 1137 if (!IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree() 1410 if (IS_ENCRYPTED(parent)) { in ext4_ci_compare() 1453 (IS_ENCRYPTED(dir) && !fscrypt_has_encryption_key(dir))) { in ext4_fname_setup_ci_filename() 1470 if (!IS_ENCRYPTED(dir)) in ext4_fname_setup_ci_filename() 1504 (!IS_ENCRYPTED(parent) || fscrypt_has_encryption_key(parent))) { in ext4_match() 1508 if (IS_ENCRYPTED(parent)) { in ext4_match() 1862 if (!IS_ERR(inode) && IS_ENCRYPTED(di in ext4_lookup() [all...] |
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | file.c | 70 if (IS_ENCRYPTED(inode)) { in read_block() 645 if (IS_ENCRYPTED(inode)) { in populate_page() 1624 if (!IS_ENCRYPTED(inode)) in ubifs_get_link() 1638 if (IS_ENCRYPTED(d_inode(path->dentry))) in ubifs_symlink_getattr()
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | file.c | 70 if (IS_ENCRYPTED(inode)) { in read_block() 644 if (IS_ENCRYPTED(inode)) { in populate_page() 1609 if (!IS_ENCRYPTED(inode)) in ubifs_get_link() 1624 if (IS_ENCRYPTED(d_inode(path->dentry))) in ubifs_symlink_getattr()
|