Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/linux/
H A Dfscrypt.h106 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 Dfs.h2104 #define IS_ENCRYPTED(inode) ((inode)->i_flags & S_ENCRYPTED) macro
/OK3568_Linux_fs/kernel/fs/crypto/
H A 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()
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 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()
H A Dfscrypt_private.h663 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()
H A Dfname.c398 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
H A Dkeysetup.c770 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
/OK3568_Linux_fs/kernel/fs/f2fs/
H A Ddir.c228 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 Dhash.c127 if (IS_ENCRYPTED(dir)) { in f2fs_hash_filename()
H A Drecovery.c129 if (!IS_ENCRYPTED(dir)) { in init_recovered_filename()
136 if (IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir)) { in init_recovered_filename()
H A Dfile.c674 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 Dnamei.c551 if (IS_ENCRYPTED(dir) && in f2fs_lookup()
682 if (IS_ENCRYPTED(inode)) in f2fs_symlink()
H A Ddata.c1974 if (IS_ENCRYPTED(inode)) in f2fs_fiemap()
2536 !IS_ENCRYPTED(inode)) in check_inplace_update_policy()
H A Df2fs.h4160 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in f2fs_encrypted_file()
/OK3568_Linux_fs/kernel/fs/ubifs/
H A Dfile.c70 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 Ddir.c259 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 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()
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dnamei.c673 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 Dmove_extent.c596 if (IS_ENCRYPTED(orig_inode) || IS_ENCRYPTED(donor_inode)) { in ext4_move_extents()
H A Ddir.c169 if (IS_ENCRYPTED(inode)) { in ext4_readdir()
276 if (!IS_ENCRYPTED(inode)) { in ext4_readdir()
H A Dext4_jbd2.c21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
H A Dhash.c300 (!IS_ENCRYPTED(dir) || fscrypt_has_encryption_key(dir))) { in ext4fs_dirhash()
H A Dioctl.c134 IS_SWAPFILE(inode) || IS_ENCRYPTED(inode) || in swap_inode_boot_loader()
H A Dinode.c424 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 Dext4.h2206 return IS_CASEFOLDED(inode) && IS_ENCRYPTED(inode); in ext4_hash_in_dirent()

12