/Linux-v6.6/include/linux/ |
D | fscrypt.h | 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(dir)) in fscrypt_prepare_lookup() 987 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_readdir() 1013 if (IS_ENCRYPTED(d_inode(dentry))) in fscrypt_prepare_setattr() [all …]
|
/Linux-v6.6/fs/crypto/ |
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()
|
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()
|
D | fscrypt_private.h | 631 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()
|
D | fname.c | 453 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
|
D | keysetup.c | 757 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
|
/Linux-v6.6/fs/ceph/ |
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()
|
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()
|
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() 1696 WARN_ON_ONCE(!IS_ENCRYPTED(inode)); in ceph_sync_write() 1889 if (IS_ENCRYPTED(inode)) { in ceph_sync_write() 2054 !IS_ENCRYPTED(inode)) { in ceph_read_iter() 2340 if ((iocb->ki_flags & IOCB_DIRECT) && !IS_ENCRYPTED(inode)) in ceph_write_iter() 2571 if (IS_ENCRYPTED(inode)) in ceph_fallocate() 2896 if (IS_ENCRYPTED(src_inode) || IS_ENCRYPTED(dst_inode)) in __ceph_copy_file_range()
|
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(inode)) in ceph_getattr()
|
D | crypto.c | 401 if (!IS_ENCRYPTED(dir)) { in ceph_fname_to_usr() 489 if (!IS_ENCRYPTED(dir)) in ceph_fscrypt_prepare_readdir()
|
D | dir.c | 787 if (IS_ENCRYPTED(dir)) { in ceph_lookup() 919 if (S_ISREG(mode) && IS_ENCRYPTED(dir)) in ceph_mknod() 1030 if (IS_ENCRYPTED(req->r_new_inode)) { in ceph_symlink() 1094 if ((op == CEPH_MDS_OP_MKSNAP) && IS_ENCRYPTED(dir) && in ceph_mkdir()
|
/Linux-v6.6/fs/f2fs/ |
D | hash.c | 127 if (IS_ENCRYPTED(dir)) { in f2fs_hash_filename()
|
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() 1026 if (IS_ENCRYPTED(d->inode)) { in f2fs_fill_dentries() 1070 if (IS_ENCRYPTED(inode)) { in f2fs_readdir()
|
D | recovery.c | 135 if (!IS_ENCRYPTED(dir)) { in init_recovered_filename() 142 if (IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir)) { in init_recovered_filename()
|
D | file.c | 660 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page() 873 if (IS_ENCRYPTED(inode)) in f2fs_getattr() 1803 if (IS_ENCRYPTED(inode) && in f2fs_fallocate() 2801 if (IS_ENCRYPTED(src) || IS_ENCRYPTED(dst)) in f2fs_move_file_range() 3117 if (IS_ENCRYPTED(inode)) in f2fs_fileattr_get() 3769 if (IS_ENCRYPTED(inode)) in f2fs_secure_erase() 3806 IS_ENCRYPTED(inode) && f2fs_is_multi_device(sbi))) in f2fs_sec_trim_file()
|
/Linux-v6.6/fs/ubifs/ |
D | file.c | 70 if (IS_ENCRYPTED(inode)) { in read_block() 649 if (IS_ENCRYPTED(inode)) { in populate_page() 1614 if (!IS_ENCRYPTED(inode)) in ubifs_get_link() 1629 if (IS_ENCRYPTED(d_inode(path->dentry))) in ubifs_symlink_getattr()
|
D | journal.c | 731 bool encrypted = IS_ENCRYPTED(inode); in ubifs_jnl_write_data() 1500 if (IS_ENCRYPTED(inode)) { in truncate_data_node() 1516 if (IS_ENCRYPTED(inode)) { in truncate_data_node() 1574 if (IS_ENCRYPTED(inode)) in ubifs_jnl_truncate()
|
D | dir.c | 261 if (IS_ENCRYPTED(dir) && in ubifs_lookup() 563 bool encrypted = IS_ENCRYPTED(dir); in ubifs_readdir() 1187 if (IS_ENCRYPTED(inode)) { in ubifs_symlink()
|
/Linux-v6.6/fs/ext4/ |
D | move_extent.c | 600 if (IS_ENCRYPTED(orig_inode) || IS_ENCRYPTED(donor_inode)) { in ext4_move_extents()
|
D | dir.c | 164 if (IS_ENCRYPTED(inode)) { in ext4_readdir() 271 if (!IS_ENCRYPTED(inode)) { in ext4_readdir()
|
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(dir) && in ext4_lookup() [all …]
|
D | ext4_jbd2.c | 21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
|
D | hash.c | 304 (!IS_ENCRYPTED(dir) || fscrypt_has_encryption_key(dir))) { in ext4fs_dirhash()
|
/Linux-v6.6/fs/btrfs/ |
D | dir-item.c | 144 if (IS_ENCRYPTED(&dir->vfs_inode)) in btrfs_insert_dir_item()
|