Home
last modified time | relevance | path

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

12

/Linux-v5.15/include/linux/
Dfscrypt.h200 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_needs_contents_encryption()
517 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_new_inode()
541 if (IS_ENCRYPTED(dir)) in fscrypt_setup_filename()
612 if (IS_ENCRYPTED(inode)) in fscrypt_file_open()
663 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_symlink()
816 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_link()
849 if (IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_dir)) in fscrypt_prepare_rename()
882 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_lookup()
907 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_readdir()
933 if (IS_ENCRYPTED(d_inode(dentry))) in fscrypt_prepare_setattr()
[all …]
Dfs.h2292 #define IS_ENCRYPTED(inode) ((inode)->i_flags & S_ENCRYPTED) macro
/Linux-v5.15/fs/crypto/
Dhooks.c42 if (IS_ENCRYPTED(d_inode(dir)) && in fscrypt_file_open()
84 if (IS_ENCRYPTED(new_dir) && in __fscrypt_prepare_rename()
90 IS_ENCRYPTED(old_dir) && in __fscrypt_prepare_rename()
154 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags()
322 if (WARN_ON(!IS_ENCRYPTED(inode))) in fscrypt_get_symlink()
Dpolicy.c379 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()
657 if (IS_ENCRYPTED(dir)) { in fscrypt_policy_to_inherit()
Dfscrypt_private.h590 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()
Dfname.c421 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
Dkeysetup.c709 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
/Linux-v5.15/fs/f2fs/
Dhash.c126 if (IS_ENCRYPTED(dir)) { in f2fs_hash_filename()
Ddir.c227 if (IS_ENCRYPTED(dir)) { in f2fs_match_ci_name()
506 if (IS_ENCRYPTED(dir)) { in init_dent_inode()
595 if (IS_ENCRYPTED(inode)) { in f2fs_init_inode_metadata()
1046 if (IS_ENCRYPTED(d->inode)) { in f2fs_fill_dentries()
1090 if (IS_ENCRYPTED(inode)) { in f2fs_readdir()
Drecovery.c130 if (!IS_ENCRYPTED(dir)) { in init_recovered_filename()
137 if (IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir)) { in init_recovered_filename()
Dfile.c661 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page()
830 if (IS_ENCRYPTED(inode)) in f2fs_getattr()
1747 if (IS_ENCRYPTED(inode) && in f2fs_fallocate()
2754 if (IS_ENCRYPTED(src) || IS_ENCRYPTED(dst)) in f2fs_move_file_range()
3059 if (IS_ENCRYPTED(inode)) in f2fs_fileattr_get()
3694 if (IS_ENCRYPTED(inode)) in f2fs_secure_erase()
3731 IS_ENCRYPTED(inode) && f2fs_is_multi_device(sbi))) in f2fs_sec_trim_file()
Dnamei.c555 if (IS_ENCRYPTED(dir) && in f2fs_lookup()
686 if (IS_ENCRYPTED(inode)) in f2fs_symlink()
Ddata.c1961 if (IS_ENCRYPTED(inode)) in f2fs_fiemap()
2532 !IS_ENCRYPTED(inode)) in check_inplace_update_policy()
/Linux-v5.15/fs/ext4/
Dnamei.c647 if (!IS_ENCRYPTED(dir)) { in dx_show_leaf()
822 !(IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir))) in dx_probe()
1039 if (IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()
1078 if (!IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()
1338 if (IS_ENCRYPTED(parent)) { in ext4_ci_compare()
1381 (IS_ENCRYPTED(dir) && !fscrypt_has_encryption_key(dir))) { in ext4_fname_setup_ci_filename()
1398 if (!IS_ENCRYPTED(dir)) in ext4_fname_setup_ci_filename()
1433 (!IS_ENCRYPTED(parent) || fscrypt_has_encryption_key(parent))) { in ext4_match()
1437 if (IS_ENCRYPTED(parent)) { in ext4_match()
1792 if (!IS_ERR(inode) && IS_ENCRYPTED(dir) && in ext4_lookup()
[all …]
Dmove_extent.c596 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()
Dext4_jbd2.c21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
Dhash.c300 (!IS_ENCRYPTED(dir) || fscrypt_has_encryption_key(dir))) { in ext4fs_dirhash()
Dfile.c41 if (IS_ENABLED(CONFIG_FS_ENCRYPTION) && IS_ENCRYPTED(inode)) in ext4_dio_supported()
Dioctl.c137 IS_SWAPFILE(inode) || IS_ENCRYPTED(inode) || in swap_inode_boot_loader()
Dinode.c423 if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode)) in ext4_issue_zeroout()
3807 if (IS_ENCRYPTED(inode) && !fscrypt_has_encryption_key(inode)) in ext4_block_truncate_page()
4814 if (IS_ENCRYPTED(inode)) { in __ext4_iget()
Dext4.h2319 return IS_CASEFOLDED(inode) && IS_ENCRYPTED(inode); in ext4_hash_in_dirent()
/Linux-v5.15/fs/ubifs/
Dfile.c70 if (IS_ENCRYPTED(inode)) { in read_block()
650 if (IS_ENCRYPTED(inode)) { in populate_page()
1624 if (!IS_ENCRYPTED(inode)) in ubifs_get_link()
1639 if (IS_ENCRYPTED(d_inode(path->dentry))) in ubifs_symlink_getattr()
Ddir.c259 if (IS_ENCRYPTED(dir) && in ubifs_lookup()
506 bool encrypted = IS_ENCRYPTED(dir); in ubifs_readdir()
1155 if (IS_ENCRYPTED(inode)) { in ubifs_symlink()
Djournal.c731 bool encrypted = IS_ENCRYPTED(inode); in ubifs_jnl_write_data()
1458 if (IS_ENCRYPTED(inode)) { in truncate_data_node()
1474 if (IS_ENCRYPTED(inode)) { in truncate_data_node()

12