Searched refs:IS_ENCRYPTED (Results 1 – 25 of 26) sorted by relevance
12
205 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_needs_contents_encryption()563 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_new_inode()587 if (IS_ENCRYPTED(dir)) in fscrypt_setup_filename()659 if (IS_ENCRYPTED(inode)) in fscrypt_file_open()710 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_symlink()878 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_link()911 if (IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_dir)) in fscrypt_prepare_rename()944 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_lookup()969 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_readdir()995 if (IS_ENCRYPTED(d_inode(dentry))) in fscrypt_prepare_setattr()[all …]
2332 #define IS_ENCRYPTED(inode) ((inode)->i_flags & S_ENCRYPTED) macro
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()
408 if (!IS_ENCRYPTED(inode)) in fscrypt_get_policy()630 if (!IS_ENCRYPTED(parent)) in fscrypt_has_permitted_context()634 if (!IS_ENCRYPTED(child)) in fscrypt_has_permitted_context()686 if (IS_ENCRYPTED(dir)) { in fscrypt_policy_to_inherit()
633 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()
453 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
723 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
127 if (IS_ENCRYPTED(dir)) { in f2fs_hash_filename()
228 if (IS_ENCRYPTED(dir)) { in f2fs_match_ci_name()507 if (IS_ENCRYPTED(dir)) { in init_dent_inode()596 if (IS_ENCRYPTED(inode)) { in f2fs_init_inode_metadata()1048 if (IS_ENCRYPTED(d->inode)) { in f2fs_fill_dentries()1092 if (IS_ENCRYPTED(inode)) { in f2fs_readdir()
135 if (!IS_ENCRYPTED(dir)) { in init_recovered_filename()142 if (IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir)) { in init_recovered_filename()
663 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page()878 if (IS_ENCRYPTED(inode)) in f2fs_getattr()1806 if (IS_ENCRYPTED(inode) && in f2fs_fallocate()2757 if (IS_ENCRYPTED(src) || IS_ENCRYPTED(dst)) in f2fs_move_file_range()3060 if (IS_ENCRYPTED(inode)) in f2fs_fileattr_get()3699 if (IS_ENCRYPTED(inode)) in f2fs_secure_erase()3736 IS_ENCRYPTED(inode) && f2fs_is_multi_device(sbi))) in f2fs_sec_trim_file()
565 if (IS_ENCRYPTED(dir) && in f2fs_lookup()696 if (IS_ENCRYPTED(inode)) in f2fs_symlink()
1973 if (IS_ENCRYPTED(inode)) in f2fs_fiemap()2538 !IS_ENCRYPTED(inode)) in check_inplace_update_policy()
4188 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in f2fs_encrypted_file()
70 if (IS_ENCRYPTED(inode)) { in read_block()649 if (IS_ENCRYPTED(inode)) { in populate_page()1602 if (!IS_ENCRYPTED(inode)) in ubifs_get_link()1617 if (IS_ENCRYPTED(d_inode(path->dentry))) in ubifs_symlink_getattr()
731 bool encrypted = IS_ENCRYPTED(inode); in ubifs_jnl_write_data()1496 if (IS_ENCRYPTED(inode)) { in truncate_data_node()1512 if (IS_ENCRYPTED(inode)) { in truncate_data_node()1570 if (IS_ENCRYPTED(inode)) in ubifs_jnl_truncate()
262 if (IS_ENCRYPTED(dir) && in ubifs_lookup()569 bool encrypted = IS_ENCRYPTED(dir); in ubifs_readdir()1193 if (IS_ENCRYPTED(inode)) { in ubifs_symlink()
596 if (IS_ENCRYPTED(orig_inode) || IS_ENCRYPTED(donor_inode)) { in ext4_move_extents()
164 if (IS_ENCRYPTED(inode)) { in ext4_readdir()271 if (!IS_ENCRYPTED(inode)) { in ext4_readdir()
675 if (!IS_ENCRYPTED(dir)) { in dx_show_leaf()852 !(IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir))) in dx_probe()1083 if (IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()1122 if (!IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()1389 if (IS_ENCRYPTED(parent)) { in ext4_ci_compare()1432 (IS_ENCRYPTED(dir) && !fscrypt_has_encryption_key(dir))) { in ext4_fname_setup_ci_filename()1449 if (!IS_ENCRYPTED(dir)) in ext4_fname_setup_ci_filename()1484 (!IS_ENCRYPTED(parent) || fscrypt_has_encryption_key(parent))) { in ext4_match()1488 if (IS_ENCRYPTED(parent)) { in ext4_match()1843 if (!IS_ERR(inode) && IS_ENCRYPTED(dir) && in ext4_lookup()[all …]
21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
300 (!IS_ENCRYPTED(dir) || fscrypt_has_encryption_key(dir))) { in ext4fs_dirhash()
422 if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode)) in ext4_issue_zeroout()3862 if (IS_ENCRYPTED(inode) && !fscrypt_has_encryption_key(inode)) in ext4_block_truncate_page()5017 if (IS_ENCRYPTED(inode)) { in __ext4_iget()5571 if (IS_ENCRYPTED(inode)) { in ext4_dio_alignment()
387 IS_SWAPFILE(inode) || IS_ENCRYPTED(inode) || in swap_inode_boot_loader()
2331 return IS_CASEFOLDED(inode) && IS_ENCRYPTED(inode); in ext4_hash_in_dirent()