| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | fscrypt.h | 106 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_needs_contents_encryption() 423 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_new_inode() 447 if (IS_ENCRYPTED(dir)) in fscrypt_setup_filename() 518 if (IS_ENCRYPTED(inode)) in fscrypt_file_open() 569 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_symlink() 678 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_inode_should_skip_dm_default_key() 754 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_link() 787 if (IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_dir)) in fscrypt_prepare_rename() 820 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_lookup() 845 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_readdir() [all …]
|
| H A D | fs.h | 2104 #define IS_ENCRYPTED(inode) ((inode)->i_flags & S_ENCRYPTED) macro
|
| /OK3568_Linux_fs/kernel/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() 151 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags() 318 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() 657 if (IS_ENCRYPTED(dir)) { in fscrypt_policy_to_inherit()
|
| H A D | fscrypt_private.h | 663 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()
|
| H A D | fname.c | 398 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
|
| H A D | keysetup.c | 770 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
|
| /OK3568_Linux_fs/kernel/fs/f2fs/ |
| H A D | dir.c | 228 if (IS_ENCRYPTED(dir)) { in f2fs_match_ci_name() 509 if (IS_ENCRYPTED(dir)) { in init_dent_inode() 598 if (IS_ENCRYPTED(inode)) { in f2fs_init_inode_metadata() 1049 if (IS_ENCRYPTED(d->inode)) { in f2fs_fill_dentries() 1093 if (IS_ENCRYPTED(inode)) { in f2fs_readdir()
|
| H A D | hash.c | 127 if (IS_ENCRYPTED(dir)) { in f2fs_hash_filename()
|
| H A D | recovery.c | 129 if (!IS_ENCRYPTED(dir)) { in init_recovered_filename() 136 if (IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir)) { in init_recovered_filename()
|
| H A D | file.c | 674 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page() 835 if (IS_ENCRYPTED(inode)) in f2fs_getattr() 1755 if (IS_ENCRYPTED(inode) && in f2fs_fallocate() 1984 if (IS_ENCRYPTED(inode)) in f2fs_ioc_getflags() 2825 if (IS_ENCRYPTED(src) || IS_ENCRYPTED(dst)) in f2fs_move_file_range() 3834 if (IS_ENCRYPTED(inode)) in f2fs_secure_erase() 3871 IS_ENCRYPTED(inode) && f2fs_is_multi_device(sbi))) in f2fs_sec_trim_file()
|
| H A D | namei.c | 551 if (IS_ENCRYPTED(dir) && in f2fs_lookup() 682 if (IS_ENCRYPTED(inode)) in f2fs_symlink()
|
| H A D | data.c | 1974 if (IS_ENCRYPTED(inode)) in f2fs_fiemap() 2536 !IS_ENCRYPTED(inode)) in check_inplace_update_policy()
|
| H A D | f2fs.h | 4160 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in f2fs_encrypted_file()
|
| /OK3568_Linux_fs/kernel/fs/ubifs/ |
| H A D | file.c | 70 if (IS_ENCRYPTED(inode)) { in read_block() 650 if (IS_ENCRYPTED(inode)) { in populate_page() 1623 if (!IS_ENCRYPTED(inode)) in ubifs_get_link() 1637 if (IS_ENCRYPTED(d_inode(path->dentry))) in ubifs_symlink_getattr()
|
| H A D | dir.c | 259 if (IS_ENCRYPTED(dir) && in ubifs_lookup() 511 bool encrypted = IS_ENCRYPTED(dir); in ubifs_readdir() 1160 if (IS_ENCRYPTED(inode)) { in ubifs_symlink()
|
| H A D | journal.c | 731 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()
|
| /OK3568_Linux_fs/kernel/fs/ext4/ |
| H A D | namei.c | 673 if (!IS_ENCRYPTED(dir)) { in dx_show_leaf() 827 !(IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir))) in dx_probe() 1071 if (IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree() 1110 if (!IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree() 1371 if (IS_ENCRYPTED(parent)) { in ext4_ci_compare() 1414 (IS_ENCRYPTED(dir) && !fscrypt_has_encryption_key(dir))) { in ext4_fname_setup_ci_filename() 1431 if (!IS_ENCRYPTED(dir)) in ext4_fname_setup_ci_filename() 1466 (!IS_ENCRYPTED(parent) || fscrypt_has_encryption_key(parent))) { in ext4_match() 1470 if (IS_ENCRYPTED(parent)) { in ext4_match() 1832 if (!IS_ERR(inode) && IS_ENCRYPTED(dir) && in ext4_lookup() [all …]
|
| H A D | move_extent.c | 596 if (IS_ENCRYPTED(orig_inode) || IS_ENCRYPTED(donor_inode)) { in ext4_move_extents()
|
| H A D | dir.c | 169 if (IS_ENCRYPTED(inode)) { in ext4_readdir() 276 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 | hash.c | 300 (!IS_ENCRYPTED(dir) || fscrypt_has_encryption_key(dir))) { in ext4fs_dirhash()
|
| H A D | ioctl.c | 134 IS_SWAPFILE(inode) || IS_ENCRYPTED(inode) || in swap_inode_boot_loader()
|
| H A D | inode.c | 424 if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode)) in ext4_issue_zeroout() 3953 if (IS_ENCRYPTED(inode) && !fscrypt_has_encryption_key(inode)) in ext4_block_truncate_page() 4962 if (IS_ENCRYPTED(inode)) { in __ext4_iget()
|
| H A D | ext4.h | 2206 return IS_CASEFOLDED(inode) && IS_ENCRYPTED(inode); in ext4_hash_in_dirent()
|