Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dfscrypt.h438 if (IS_ENCRYPTED(dir)) in fscrypt_setup_filename()
502 if (IS_ENCRYPTED(inode)) in fscrypt_file_open()
576 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()
609 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_link()
641 if (IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_dir)) in fscrypt_prepare_rename()
670 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_lookup()
734 if (IS_ENCRYPTED(dir) || fscrypt_dummy_context_enabled(dir)) in fscrypt_prepare_symlink()
764 if (IS_ENCRYPTED(inode)) in fscrypt_encrypt_symlink()
Dfs.h2033 #define IS_ENCRYPTED(inode) ((inode)->i_flags & S_ENCRYPTED) macro
/Linux-v5.4/fs/crypto/
Dhooks.c40 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()
243 if (WARN_ON(!IS_ENCRYPTED(inode))) in fscrypt_get_symlink()
Dpolicy.c221 if (!IS_ENCRYPTED(inode)) in fscrypt_get_policy()
419 if (!IS_ENCRYPTED(parent)) in fscrypt_has_permitted_context()
423 if (!IS_ENCRYPTED(child)) in fscrypt_has_permitted_context()
Dkeysetup.c439 IS_ENCRYPTED(inode)) { in fscrypt_get_encryption_info()
550 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
Dfname.c326 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
/Linux-v5.4/fs/ext4/
Ddir.c117 if (IS_ENCRYPTED(inode)) { in ext4_readdir()
144 if (IS_ENCRYPTED(inode)) { in ext4_readdir()
250 if (!IS_ENCRYPTED(inode)) { in ext4_readdir()
616 if (IS_ENCRYPTED(inode)) in ext4_dir_open()
Dmove_extent.c596 if (IS_ENCRYPTED(orig_inode) || IS_ENCRYPTED(donor_inode)) { in ext4_move_extents()
Dext4_jbd2.h414 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
Dreadpage.c186 if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode)) in get_bio_post_read_ctx()
Dnamei.c639 if (IS_ENCRYPTED(dir)) in dx_show_leaf()
1007 if (IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()
1036 if (!IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()
1707 if (!IS_ERR(inode) && IS_ENCRYPTED(dir) && in ext4_lookup()
3272 if (IS_ENCRYPTED(inode)) { in ext4_symlink()
3280 if (!IS_ENCRYPTED(inode)) in ext4_symlink()
3322 if (!IS_ENCRYPTED(inode)) { in ext4_symlink()
Dpage-io.c477 if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode) && nr_to_submit) { in ext4_bio_write_page()
Dinode.c422 if (IS_ENCRYPTED(inode)) in ext4_issue_zeroout()
1240 } else if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode)) { in ext4_block_write_begin()
3851 if (IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode)) in ext4_direct_IO()
4037 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) { in __ext4_block_zero_page_range()
4113 if (IS_ENCRYPTED(inode) && !fscrypt_has_encryption_key(inode)) in ext4_block_truncate_page()
5061 if (IS_ENCRYPTED(inode)) { in __ext4_iget()
Dialloc.c774 if ((IS_ENCRYPTED(dir) || DUMMY_ENCRYPTION_ENABLED(sbi)) && in __ext4_new_inode()
Dioctl.c134 IS_SWAPFILE(inode) || IS_ENCRYPTED(inode) || in swap_inode_boot_loader()
Dextents.c3700 if (IS_ENCRYPTED(inode)) in ext4_ext_convert_to_initialized()
4877 if (IS_ENCRYPTED(inode) && in ext4_fallocate()
/Linux-v5.4/fs/f2fs/
Ddir.c501 if ((IS_ENCRYPTED(dir) || dummy_encrypt) && in f2fs_init_inode_metadata()
515 if (IS_ENCRYPTED(dir)) in f2fs_init_inode_metadata()
944 if (IS_ENCRYPTED(d->inode)) { in f2fs_fill_dentries()
987 if (IS_ENCRYPTED(inode)) { in f2fs_readdir()
1049 if (IS_ENCRYPTED(inode)) in f2fs_dir_open()
Dnamei.c79 if ((IS_ENCRYPTED(dir) || DUMMY_ENCRYPTION_ENABLED(sbi)) && in f2fs_new_inode()
481 if (IS_ENCRYPTED(dir) && in f2fs_lookup()
609 if (IS_ENCRYPTED(inode)) in f2fs_symlink()
827 if (IS_ENCRYPTED(dir) || DUMMY_ENCRYPTION_ENABLED(sbi)) { in f2fs_tmpfile()
Dfile.c598 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page()
723 if (IS_ENCRYPTED(inode)) in f2fs_getattr()
1594 if (IS_ENCRYPTED(inode) && in f2fs_fallocate()
1781 if (IS_ENCRYPTED(inode)) in f2fs_ioc_getflags()
2592 if (IS_ENCRYPTED(src) || IS_ENCRYPTED(dst)) in f2fs_move_file_range()
Ddata.c1609 if (IS_ENCRYPTED(inode)) in f2fs_fiemap()
1918 !IS_ENCRYPTED(inode)) in check_inplace_update_policy()
Df2fs.h3565 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in f2fs_encrypted_file()
/Linux-v5.4/fs/ubifs/
Dfile.c1631 if (!IS_ENCRYPTED(inode)) in ubifs_get_link()
Ddir.c1150 if (IS_ENCRYPTED(inode)) { in ubifs_symlink()