/openbmc/linux/include/linux/ |
H A 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 …]
|
/openbmc/linux/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()
|
H A D | fname.c | 447 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
|
H A D | keysetup.c | 757 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
|
/openbmc/linux/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 | 270 if (IS_ENCRYPTED(inode) && err > 0) { in finish_netfs_read() 356 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD); in ceph_netfs_issue_read() 396 if (IS_ENCRYPTED(inode)) { in ceph_netfs_issue_read() 709 wlen = IS_ENCRYPTED(inode) ? round_up(len, CEPH_FSCRYPT_BLOCK_SIZE) : len; in writepage_nounlock() 735 if (IS_ENCRYPTED(inode)) { in writepage_nounlock() 753 page_off, len, wlen, IS_ENCRYPTED(inode) ? "" : "not "); in writepage_nounlock() 1158 if (IS_ENCRYPTED(inode)) { in ceph_writepages_start() 1292 if (IS_ENCRYPTED(inode)) in ceph_writepages_start() 1297 if (IS_ENCRYPTED(inode) && in ceph_writepages_start()
|
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_inode) || IS_ENCRYPTED(dst_inode)) in __ceph_copy_file_range()
|
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(inode)) in ceph_getattr()
|
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 | 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()
|
/openbmc/linux/fs/f2fs/ |
H A D | hash.c | 127 if (IS_ENCRYPTED(dir)) { in f2fs_hash_filename()
|
H A D | dir.c | 196 if (IS_ENCRYPTED(dir)) { in f2fs_match_ci_name() 479 if (IS_ENCRYPTED(dir)) { in init_dent_inode() 568 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()
|
H A D | file.c | 693 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page() 906 if (IS_ENCRYPTED(inode)) in f2fs_getattr() 1846 if (IS_ENCRYPTED(inode) && in f2fs_fallocate() 2882 if (IS_ENCRYPTED(src) || IS_ENCRYPTED(dst)) in f2fs_move_file_range() 3209 if (IS_ENCRYPTED(inode)) in f2fs_fileattr_get() 3899 if (IS_ENCRYPTED(inode)) in f2fs_secure_erase() 3936 IS_ENCRYPTED(inode) && f2fs_is_multi_device(sbi))) in f2fs_sec_trim_file()
|
/openbmc/linux/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()
|
H A 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()
|
H A 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()
|
/openbmc/linux/fs/ext4/ |
H A D | move_extent.c | 599 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 | namei.c | 678 if (!IS_ENCRYPTED(dir)) { in dx_show_leaf() 857 !(IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir))) { in dx_probe() 1094 if (IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree() 1138 if (!IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree() 1411 if (IS_ENCRYPTED(parent)) { in ext4_ci_compare() 1454 (IS_ENCRYPTED(dir) && !fscrypt_has_encryption_key(dir))) { in ext4_fname_setup_ci_filename() 1471 if (!IS_ENCRYPTED(dir)) in ext4_fname_setup_ci_filename() 1505 (!IS_ENCRYPTED(parent) || fscrypt_has_encryption_key(parent))) { in ext4_match() 1509 if (IS_ENCRYPTED(parent)) { in ext4_match() 1865 if (!IS_ERR(inode) && IS_ENCRYPTED(dir) && in ext4_lookup() [all …]
|
H A D | ext4_jbd2.c | 21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
|
H A D | hash.c | 304 (!IS_ENCRYPTED(dir) || fscrypt_has_encryption_key(dir))) { in ext4fs_dirhash()
|
/openbmc/linux/fs/btrfs/ |
H A D | dir-item.c | 144 if (IS_ENCRYPTED(&dir->vfs_inode)) in btrfs_insert_dir_item()
|