Searched refs:IS_ENCRYPTED (Results 1 – 25 of 25) sorted by relevance
99 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_needs_contents_encryption()419 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_new_inode()443 if (IS_ENCRYPTED(dir)) in fscrypt_setup_filename()514 if (IS_ENCRYPTED(inode)) in fscrypt_file_open()554 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_symlink()700 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()734 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_link()767 if (IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_dir)) in fscrypt_prepare_rename()796 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_lookup()852 if (IS_ENCRYPTED(inode)) in fscrypt_encrypt_symlink()
2049 #define IS_ENCRYPTED(inode) ((inode)->i_flags & S_ENCRYPTED) macro
40 if (IS_ENCRYPTED(d_inode(dir)) && in fscrypt_file_open()92 if (IS_ENCRYPTED(new_dir) && in __fscrypt_prepare_rename()98 IS_ENCRYPTED(old_dir) && in __fscrypt_prepare_rename()148 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags()315 if (WARN_ON(!IS_ENCRYPTED(inode))) in fscrypt_get_symlink()
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()651 if (IS_ENCRYPTED(dir)) { in fscrypt_policy_to_inherit()
398 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
713 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
121 if (IS_ENCRYPTED(inode)) { in ext4_readdir()150 if (IS_ENCRYPTED(inode)) { in ext4_readdir()256 if (!IS_ENCRYPTED(inode)) { in ext4_readdir()621 if (IS_ENCRYPTED(inode)) in ext4_dir_open()
596 if (IS_ENCRYPTED(orig_inode) || IS_ENCRYPTED(donor_inode)) { in ext4_move_extents()
21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
669 if (IS_ENCRYPTED(dir)) in dx_show_leaf()1051 if (IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()1080 if (!IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()1758 if (!IS_ERR(inode) && IS_ENCRYPTED(dir) && in ext4_lookup()3432 if (IS_ENCRYPTED(inode)) { in ext4_symlink()3440 if (!IS_ENCRYPTED(inode)) in ext4_symlink()3483 if (!IS_ENCRYPTED(inode)) { in ext4_symlink()
41 if (IS_ENABLED(CONFIG_FS_ENCRYPTION) && IS_ENCRYPTED(inode)) in ext4_dio_supported()
135 IS_SWAPFILE(inode) || IS_ENCRYPTED(inode) || in swap_inode_boot_loader()
431 if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode)) in ext4_issue_zeroout()3869 if (IS_ENCRYPTED(inode) && !fscrypt_has_encryption_key(inode)) in ext4_block_truncate_page()5057 if (IS_ENCRYPTED(inode)) { in __ext4_iget()
380 if (IS_ENCRYPTED(dir)) { in __track_dentry_update()
4699 if (IS_ENCRYPTED(inode) && in ext4_fallocate()
5267 if (!S_ISREG(journal_inode->i_mode) || IS_ENCRYPTED(journal_inode)) { in ext4_get_journal_inode()
533 if (IS_ENCRYPTED(inode)) { in f2fs_init_inode_metadata()546 if (IS_ENCRYPTED(dir)) in f2fs_init_inode_metadata()984 if (IS_ENCRYPTED(d->inode)) { in f2fs_fill_dentries()1028 if (IS_ENCRYPTED(inode)) { in f2fs_readdir()1090 if (IS_ENCRYPTED(inode)) in f2fs_dir_open()
652 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page()813 if (IS_ENCRYPTED(inode)) in f2fs_getattr()1731 if (IS_ENCRYPTED(inode) && in f2fs_fallocate()1959 if (IS_ENCRYPTED(inode)) in f2fs_ioc_getflags()2799 if (IS_ENCRYPTED(src) || IS_ENCRYPTED(dst)) in f2fs_move_file_range()3822 if (IS_ENCRYPTED(inode)) in f2fs_secure_erase()3859 IS_ENCRYPTED(inode) && f2fs_is_multi_device(sbi))) in f2fs_sec_trim_file()
549 if (IS_ENCRYPTED(dir) && in f2fs_lookup()679 if (IS_ENCRYPTED(inode)) in f2fs_symlink()
124 if (!IS_ENCRYPTED(dir)) { in init_recovered_filename()
1999 if (IS_ENCRYPTED(inode)) in f2fs_fiemap()2602 !IS_ENCRYPTED(inode)) in check_inplace_update_policy()
3894 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in f2fs_encrypted_file()
70 if (IS_ENCRYPTED(inode)) { in read_block()650 if (IS_ENCRYPTED(inode)) { in populate_page()1629 if (!IS_ENCRYPTED(inode)) in ubifs_get_link()1643 if (IS_ENCRYPTED(d_inode(path->dentry))) in ubifs_symlink_getattr()
258 if (IS_ENCRYPTED(dir) && in ubifs_lookup()565 bool encrypted = IS_ENCRYPTED(dir); in ubifs_readdir()1188 if (IS_ENCRYPTED(inode)) { in ubifs_symlink()1691 if (IS_ENCRYPTED(dir)) in ubifs_dir_open()
731 bool encrypted = IS_ENCRYPTED(inode); in ubifs_jnl_write_data()1494 if (IS_ENCRYPTED(inode)) { in truncate_data_node()1510 if (IS_ENCRYPTED(inode)) { in truncate_data_node()