Home
last modified time | relevance | path

Searched refs:IS_ENCRYPTED (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.6.21/include/linux/
Dfscrypt.h205 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-6.6.21/fs/crypto/
Dhooks.c40 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()
Dpolicy.c419 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()
Dfscrypt_private.h631 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()
Dfname.c453 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
Dkeysetup.c757 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
/linux-6.6.21/fs/ceph/
Dcrypto.h113 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()
Daddr.c271 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()
Dfile.c792 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()
Dinode.c196 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()
Dcrypto.c401 if (!IS_ENCRYPTED(dir)) { in ceph_fname_to_usr()
489 if (!IS_ENCRYPTED(dir)) in ceph_fscrypt_prepare_readdir()
Ddir.c787 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-6.6.21/fs/f2fs/
Dhash.c127 if (IS_ENCRYPTED(dir)) { in f2fs_hash_filename()
Ddir.c195 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()
Drecovery.c135 if (!IS_ENCRYPTED(dir)) { in init_recovered_filename()
142 if (IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir)) { in init_recovered_filename()
Dfile.c660 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()
1804 if (IS_ENCRYPTED(inode) && in f2fs_fallocate()
2802 if (IS_ENCRYPTED(src) || IS_ENCRYPTED(dst)) in f2fs_move_file_range()
3123 if (IS_ENCRYPTED(inode)) in f2fs_fileattr_get()
3776 if (IS_ENCRYPTED(inode)) in f2fs_secure_erase()
3813 IS_ENCRYPTED(inode) && f2fs_is_multi_device(sbi))) in f2fs_sec_trim_file()
/linux-6.6.21/fs/ubifs/
Dfile.c70 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()
Djournal.c731 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()
Ddir.c261 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-6.6.21/fs/ext4/
Dmove_extent.c600 if (IS_ENCRYPTED(orig_inode) || IS_ENCRYPTED(donor_inode)) { in ext4_move_extents()
Ddir.c164 if (IS_ENCRYPTED(inode)) { in ext4_readdir()
271 if (!IS_ENCRYPTED(inode)) { in ext4_readdir()
Dnamei.c677 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 …]
Dext4_jbd2.c21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
Dhash.c304 (!IS_ENCRYPTED(dir) || fscrypt_has_encryption_key(dir))) { in ext4fs_dirhash()
/linux-6.6.21/fs/btrfs/
Ddir-item.c144 if (IS_ENCRYPTED(&dir->vfs_inode)) in btrfs_insert_dir_item()

12