Searched refs:IS_ENCRYPTED (Results 1 – 23 of 23) sorted by relevance
99 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_needs_contents_encryption()384 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_new_inode()408 if (IS_ENCRYPTED(dir)) in fscrypt_setup_filename()479 if (IS_ENCRYPTED(inode)) in fscrypt_file_open()519 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_symlink()659 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()693 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_link()726 if (IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_dir)) in fscrypt_prepare_rename()755 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_lookup()811 if (IS_ENCRYPTED(inode)) in fscrypt_encrypt_symlink()
2033 #define IS_ENCRYPTED(inode) ((inode)->i_flags & S_ENCRYPTED) macro
42 if (IS_ENCRYPTED(d_inode(dir)) && in fscrypt_file_open()93 if (IS_ENCRYPTED(new_dir) && in __fscrypt_prepare_rename()99 IS_ENCRYPTED(old_dir) && in __fscrypt_prepare_rename()149 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags()316 if (WARN_ON(!IS_ENCRYPTED(inode))) in fscrypt_get_symlink()
376 if (!IS_ENCRYPTED(inode)) in fscrypt_get_policy()598 if (!IS_ENCRYPTED(parent)) in fscrypt_has_permitted_context()602 if (!IS_ENCRYPTED(child)) in fscrypt_has_permitted_context()648 if (IS_ENCRYPTED(dir)) { in fscrypt_policy_to_inherit()
402 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
671 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()
646 if (IS_ENCRYPTED(dir)) in dx_show_leaf()1012 if (IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()1041 if (!IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()1713 if (!IS_ERR(inode) && IS_ENCRYPTED(dir) && in ext4_lookup()3346 if (IS_ENCRYPTED(inode)) { in ext4_symlink()3354 if (!IS_ENCRYPTED(inode)) in ext4_symlink()3397 if (!IS_ENCRYPTED(inode)) { in ext4_symlink()
41 if (IS_ENABLED(CONFIG_FS_ENCRYPTION) && IS_ENCRYPTED(inode)) in ext4_dio_supported()
134 IS_SWAPFILE(inode) || IS_ENCRYPTED(inode) || in swap_inode_boot_loader()
414 if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode)) in ext4_issue_zeroout()3856 if (IS_ENCRYPTED(inode) && !fscrypt_has_encryption_key(inode)) in ext4_block_truncate_page()4861 if (IS_ENCRYPTED(inode)) { in __ext4_iget()
4642 if (IS_ENCRYPTED(inode) && in ext4_fallocate()
533 if (IS_ENCRYPTED(inode)) { in f2fs_init_inode_metadata()546 if (IS_ENCRYPTED(dir)) in f2fs_init_inode_metadata()981 if (IS_ENCRYPTED(d->inode)) { in f2fs_fill_dentries()1024 if (IS_ENCRYPTED(inode)) { in f2fs_readdir()1086 if (IS_ENCRYPTED(inode)) in f2fs_dir_open()
644 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page()801 if (IS_ENCRYPTED(inode)) in f2fs_getattr()1705 if (IS_ENCRYPTED(inode) && in f2fs_fallocate()1936 if (IS_ENCRYPTED(inode)) in f2fs_ioc_getflags()2769 if (IS_ENCRYPTED(src) || IS_ENCRYPTED(dst)) in f2fs_move_file_range()3772 if (IS_ENCRYPTED(inode)) in f2fs_secure_erase()3809 IS_ENCRYPTED(inode) && f2fs_is_multi_device(sbi))) in f2fs_sec_trim_file()
536 if (IS_ENCRYPTED(dir) && in f2fs_lookup()666 if (IS_ENCRYPTED(inode)) in f2fs_symlink()
124 if (!IS_ENCRYPTED(dir)) { in init_recovered_filename()
1978 if (IS_ENCRYPTED(inode)) in f2fs_fiemap()2544 !IS_ENCRYPTED(inode)) in check_inplace_update_policy()
3875 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in f2fs_encrypted_file()
258 if (IS_ENCRYPTED(dir) && in ubifs_lookup()496 bool encrypted = IS_ENCRYPTED(dir); in ubifs_readdir()1144 if (IS_ENCRYPTED(inode)) { in ubifs_symlink()1615 if (IS_ENCRYPTED(dir)) in ubifs_dir_open()
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()
731 bool encrypted = IS_ENCRYPTED(inode); in ubifs_jnl_write_data()1457 if (IS_ENCRYPTED(inode)) { in truncate_data_node()1473 if (IS_ENCRYPTED(inode)) { in truncate_data_node()