Home
last modified time | relevance | path

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

12

/openbmc/linux/include/linux/
H A Dfscrypt.h205 return IS_ENCRYPTED(inode) && S_ISREG(inode->i_mode); in fscrypt_needs_contents_encryption()
575 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_new_inode()
599 if (IS_ENCRYPTED(dir)) in fscrypt_setup_filename()
671 if (IS_ENCRYPTED(inode)) in fscrypt_file_open()
728 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_symlink()
896 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_link()
929 if (IS_ENCRYPTED(old_dir) || IS_ENCRYPTED(new_dir)) in fscrypt_prepare_rename()
962 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_lookup()
987 if (IS_ENCRYPTED(dir)) in fscrypt_prepare_readdir()
1013 if (IS_ENCRYPTED(d_inode(dentry))) in fscrypt_prepare_setattr()
[all …]
/openbmc/linux/fs/crypto/
H A 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()
181 if (IS_ENCRYPTED(inode) && (flags & ~oldflags & FS_CASEFOLD_FL)) { in fscrypt_prepare_setflags()
348 if (WARN_ON_ONCE(!IS_ENCRYPTED(inode))) in fscrypt_get_symlink()
H A Dpolicy.c419 if (!IS_ENCRYPTED(inode)) in fscrypt_get_policy()
641 if (!IS_ENCRYPTED(parent)) in fscrypt_has_permitted_context()
645 if (!IS_ENCRYPTED(child)) in fscrypt_has_permitted_context()
697 if (IS_ENCRYPTED(dir)) { in fscrypt_policy_to_inherit()
H A Dfscrypt_private.h631 if (IS_ENCRYPTED(inode)) { in fscrypt_require_key()
H A Dfname.c453 if (!IS_ENCRYPTED(dir) || fscrypt_is_dot_dotdot(iname)) { in fscrypt_setup_filename()
H A Dkeysetup.c757 if (IS_ENCRYPTED(inode) && S_ISLNK(inode->i_mode)) { in fscrypt_free_inode()
/openbmc/linux/fs/ceph/
H A Dcrypto.h113 if (!IS_ENCRYPTED(parent)) in ceph_fname_alloc_buffer()
121 if (IS_ENCRYPTED(parent)) in ceph_fname_free_buffer()
147 if (IS_ENCRYPTED(inode)) { in ceph_fscrypt_adjust_off_and_len()
187 if (IS_ENCRYPTED(dir)) in ceph_fscrypt_prepare_context()
H A Daddr.c271 if (IS_ENCRYPTED(inode) && err > 0) { in finish_netfs_read()
357 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD); in ceph_netfs_issue_read()
397 if (IS_ENCRYPTED(inode)) { in ceph_netfs_issue_read()
707 wlen = IS_ENCRYPTED(inode) ? round_up(len, CEPH_FSCRYPT_BLOCK_SIZE) : len; in writepage_nounlock()
733 if (IS_ENCRYPTED(inode)) { in writepage_nounlock()
751 page_off, len, wlen, IS_ENCRYPTED(inode) ? "" : "not "); in writepage_nounlock()
1156 if (IS_ENCRYPTED(inode)) { in ceph_writepages_start()
1290 if (IS_ENCRYPTED(inode)) in ceph_writepages_start()
1295 if (IS_ENCRYPTED(inode) && in ceph_writepages_start()
H A Dfile.c792 if (IS_ENCRYPTED(dir)) { in ceph_atomic_open()
886 if (IS_ENCRYPTED(dir) && in ceph_atomic_open()
971 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD); in __ceph_sync_read()
1071 if (ret > 0 && IS_ENCRYPTED(inode)) { in __ceph_sync_read()
1699 WARN_ON_ONCE(!IS_ENCRYPTED(inode)); in ceph_sync_write()
1892 if (IS_ENCRYPTED(inode)) { in ceph_sync_write()
2057 !IS_ENCRYPTED(inode)) { in ceph_read_iter()
2343 if ((iocb->ki_flags & IOCB_DIRECT) && !IS_ENCRYPTED(inode)) in ceph_write_iter()
2574 if (IS_ENCRYPTED(inode)) in ceph_fallocate()
2899 if (IS_ENCRYPTED(src_inode) || IS_ENCRYPTED(dst_inode)) in __ceph_copy_file_range()
H A Dinode.c196 if (IS_ENCRYPTED(parent)) { in ceph_get_snapdir()
798 ci->i_truncate_size, truncate_size, !!IS_ENCRYPTED(inode)); in ceph_fill_file_size()
802 if (IS_ENCRYPTED(inode)) { in ceph_fill_file_size()
1042 if (IS_ENCRYPTED(inode)) in ceph_fill_inode()
1085 if (IS_ENCRYPTED(inode) && size && in ceph_fill_inode()
1166 if (IS_ENCRYPTED(inode)) { in ceph_fill_inode()
1204 if (IS_ENCRYPTED(inode)) { in ceph_fill_inode()
2581 if (IS_ENCRYPTED(inode) && attr->ia_size < isize && in __ceph_setattr()
2609 if (IS_ENCRYPTED(inode) && attr->ia_size) { in __ceph_setattr()
3040 if (IS_ENCRYPTED(inode)) in ceph_getattr()
H A Dcrypto.c401 if (!IS_ENCRYPTED(dir)) { in ceph_fname_to_usr()
489 if (!IS_ENCRYPTED(dir)) in ceph_fscrypt_prepare_readdir()
H A Ddir.c787 if (IS_ENCRYPTED(dir)) { in ceph_lookup()
919 if (S_ISREG(mode) && IS_ENCRYPTED(dir)) in ceph_mknod()
1030 if (IS_ENCRYPTED(req->r_new_inode)) { in ceph_symlink()
1094 if ((op == CEPH_MDS_OP_MKSNAP) && IS_ENCRYPTED(dir) && in ceph_mkdir()
/openbmc/linux/fs/f2fs/
H A Dhash.c127 if (IS_ENCRYPTED(dir)) { in f2fs_hash_filename()
H A Ddir.c195 if (IS_ENCRYPTED(dir)) { in f2fs_match_ci_name()
478 if (IS_ENCRYPTED(dir)) { in init_dent_inode()
567 if (IS_ENCRYPTED(inode)) { in f2fs_init_inode_metadata()
1026 if (IS_ENCRYPTED(d->inode)) { in f2fs_fill_dentries()
1070 if (IS_ENCRYPTED(inode)) { in f2fs_readdir()
H A Drecovery.c135 if (!IS_ENCRYPTED(dir)) { in init_recovered_filename()
142 if (IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir)) { in init_recovered_filename()
H A Dfile.c690 f2fs_bug_on(F2FS_I_SB(inode), cache_only && IS_ENCRYPTED(inode)); in truncate_partial_data_page()
903 if (IS_ENCRYPTED(inode)) in f2fs_getattr()
1843 if (IS_ENCRYPTED(inode) && in f2fs_fallocate()
2846 if (IS_ENCRYPTED(src) || IS_ENCRYPTED(dst)) in f2fs_move_file_range()
3168 if (IS_ENCRYPTED(inode)) in f2fs_fileattr_get()
3853 if (IS_ENCRYPTED(inode)) in f2fs_secure_erase()
3890 IS_ENCRYPTED(inode) && f2fs_is_multi_device(sbi))) in f2fs_sec_trim_file()
/openbmc/linux/fs/ubifs/
H A Dfile.c70 if (IS_ENCRYPTED(inode)) { in read_block()
644 if (IS_ENCRYPTED(inode)) { in populate_page()
1609 if (!IS_ENCRYPTED(inode)) in ubifs_get_link()
1624 if (IS_ENCRYPTED(d_inode(path->dentry))) in ubifs_symlink_getattr()
H A Djournal.c731 bool encrypted = IS_ENCRYPTED(inode); in ubifs_jnl_write_data()
1500 if (IS_ENCRYPTED(inode)) { in truncate_data_node()
1516 if (IS_ENCRYPTED(inode)) { in truncate_data_node()
1574 if (IS_ENCRYPTED(inode)) in ubifs_jnl_truncate()
H A Ddir.c261 if (IS_ENCRYPTED(dir) && in ubifs_lookup()
563 bool encrypted = IS_ENCRYPTED(dir); in ubifs_readdir()
1187 if (IS_ENCRYPTED(inode)) { in ubifs_symlink()
/openbmc/linux/fs/ext4/
H A Dmove_extent.c600 if (IS_ENCRYPTED(orig_inode) || IS_ENCRYPTED(donor_inode)) { in ext4_move_extents()
H A Ddir.c164 if (IS_ENCRYPTED(inode)) { in ext4_readdir()
271 if (!IS_ENCRYPTED(inode)) { in ext4_readdir()
H A Dnamei.c678 if (!IS_ENCRYPTED(dir)) { in dx_show_leaf()
857 !(IS_ENCRYPTED(dir) && IS_CASEFOLDED(dir))) { in dx_probe()
1094 if (IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()
1138 if (!IS_ENCRYPTED(dir)) { in htree_dirblock_to_tree()
1411 if (IS_ENCRYPTED(parent)) { in ext4_ci_compare()
1454 (IS_ENCRYPTED(dir) && !fscrypt_has_encryption_key(dir))) { in ext4_fname_setup_ci_filename()
1471 if (!IS_ENCRYPTED(dir)) in ext4_fname_setup_ci_filename()
1505 (!IS_ENCRYPTED(parent) || fscrypt_has_encryption_key(parent))) { in ext4_match()
1509 if (IS_ENCRYPTED(parent)) { in ext4_match()
1863 if (!IS_ERR(inode) && IS_ENCRYPTED(dir) && in ext4_lookup()
[all …]
H A Dext4_jbd2.c21 if (S_ISREG(inode->i_mode) && IS_ENCRYPTED(inode)) in ext4_inode_journal_mode()
H A Dhash.c304 (!IS_ENCRYPTED(dir) || fscrypt_has_encryption_key(dir))) { in ext4fs_dirhash()
/openbmc/linux/fs/btrfs/
H A Ddir-item.c144 if (IS_ENCRYPTED(&dir->vfs_inode)) in btrfs_insert_dir_item()

12