Home
last modified time | relevance | path

Searched refs:s_cop (Results 1 – 7 of 7) sorted by relevance

/linux/fs/crypto/
H A Dpolicy.c60 if (!sb->s_cop->get_dummy_policy) in fscrypt_get_dummy_policy()
62 return sb->s_cop->get_dummy_policy(sb); in fscrypt_get_dummy_policy()
147 if (!sb->s_cop->has_stable_inodes || in supported_iv_ino_lblk_policy()
148 !sb->s_cop->has_stable_inodes(sb)) { in supported_iv_ino_lblk_policy()
162 if (!sb->s_cop->has_32bit_inodes) { in supported_iv_ino_lblk_policy()
267 if (!inode->i_sb->s_cop->supports_subblock_data_units) { in fscrypt_supported_v2_policy()
468 ret = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_policy()
519 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, NULL); in set_encryption_policy()
556 else if (!inode->i_sb->s_cop->empty_dir(inode)) in fscrypt_ioctl_set_policy()
632 ret = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_ioctl_get_nonce()
[all …]
H A Dkeysetup_v1.c279 if (key == ERR_PTR(-ENOKEY) && sb->s_cop->legacy_key_prefix) { in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
280 key = find_and_lock_process_key(sb->s_cop->legacy_key_prefix, in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
H A Dfscrypt_private.h405 return S_ISREG(inode->i_mode) && inode->i_sb->s_cop->is_block_based; in fscrypt_using_inline_encryption()
H A Dkeysetup.c677 res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_encryption_info()
/linux/include/linux/
H A Dfscrypt.h215 VFS_WARN_ON_ONCE(inode->i_sb->s_cop->inode_info_offs == 0); in fscrypt_inode_info_addr()
216 return (void *)inode + inode->i_sb->s_cop->inode_info_offs; in fscrypt_inode_info_addr()
475 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
477 sb->s_cop = s_cop; in fscrypt_set_ops()
831 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
/linux/fs/f2fs/
H A Dsuper.c5116 sb->s_cop = &f2fs_cryptops; in f2fs_fill_super()
/linux/fs/ext4/
H A Dsuper.c5489 sb->s_cop = &ext4_cryptops; in __ext4_fill_super()