Lines Matching refs:IS_ENCRYPTED
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()
871 if (IS_ENCRYPTED(d_inode(dentry))) in fscrypt_prepare_setattr()
896 if (IS_ENCRYPTED(inode)) in fscrypt_encrypt_symlink()