Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/linux/
Dfscrypt.h205 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 …]
Dfs.h2338 #define IS_ENCRYPTED(inode) ((inode)->i_flags & S_ENCRYPTED) macro
/linux-6.1.9/fs/crypto/
Dhooks.c40 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()
Dpolicy.c408 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()
Dfscrypt_private.h633 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()
Dfname.c453 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
Dkeysetup.c723 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
/linux-6.1.9/fs/f2fs/
Dhash.c127 if (IS_ENCRYPTED(dir)) { in f2fs_hash_filename()
Ddir.c228 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()
Drecovery.c135 if (!IS_ENCRYPTED(dir)) { in init_recovered_filename()
142 if (IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir)) { in init_recovered_filename()
Dfile.c663 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()
2761 if (IS_ENCRYPTED(src) || IS_ENCRYPTED(dst)) in f2fs_move_file_range()
3064 if (IS_ENCRYPTED(inode)) in f2fs_fileattr_get()
3703 if (IS_ENCRYPTED(inode)) in f2fs_secure_erase()
3740 IS_ENCRYPTED(inode) && f2fs_is_multi_device(sbi))) in f2fs_sec_trim_file()
Dnamei.c562 if (IS_ENCRYPTED(dir) && in f2fs_lookup()
693 if (IS_ENCRYPTED(inode)) in f2fs_symlink()
Ddata.c1973 if (IS_ENCRYPTED(inode)) in f2fs_fiemap()
2538 !IS_ENCRYPTED(inode)) in check_inplace_update_policy()
/linux-6.1.9/fs/ubifs/
Dfile.c70 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()
Djournal.c731 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()
Ddir.c262 if (IS_ENCRYPTED(dir) && in ubifs_lookup()
569 bool encrypted = IS_ENCRYPTED(dir); in ubifs_readdir()
1193 if (IS_ENCRYPTED(inode)) { in ubifs_symlink()
/linux-6.1.9/fs/ext4/
Dmove_extent.c596 if (IS_ENCRYPTED(orig_inode) || IS_ENCRYPTED(donor_inode)) { in ext4_move_extents()
Ddir.c164 if (IS_ENCRYPTED(inode)) { in ext4_readdir()
271 if (!IS_ENCRYPTED(inode)) { in ext4_readdir()
Dnamei.c675 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 …]
Dext4_jbd2.c21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
Dhash.c300 (!IS_ENCRYPTED(dir) || fscrypt_has_encryption_key(dir))) { in ext4fs_dirhash()
Dinode.c428 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()
5033 if (IS_ENCRYPTED(inode)) { in __ext4_iget()
5593 if (IS_ENCRYPTED(inode)) { in ext4_dio_alignment()
Dioctl.c388 IS_SWAPFILE(inode) || IS_ENCRYPTED(inode) || in swap_inode_boot_loader()
Dfast_commit.c429 if (IS_ENCRYPTED(dir)) { in __track_dentry_update()
Dext4.h2331 return IS_CASEFOLDED(inode) && IS_ENCRYPTED(inode); in ext4_hash_in_dirent()

12