Home
last modified time | relevance | path

Searched refs:s_cop (Results 1 – 9 of 9) 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()
250 if (!inode->i_sb->s_cop->supports_subblock_data_units) { in fscrypt_supported_v2_policy()
451 ret = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_policy()
502 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, NULL); in set_encryption_policy()
552 else if (!inode->i_sb->s_cop->empty_dir(inode)) in fscrypt_ioctl_set_policy()
628 ret = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_ioctl_get_nonce()
[all …]
H A Dcrypto.c233 if (WARN_ON_ONCE(inode->i_sb->s_cop->supports_subblock_data_units)) in fscrypt_encrypt_block_inplace()
307 if (WARN_ON_ONCE(inode->i_sb->s_cop->supports_subblock_data_units)) in fscrypt_decrypt_block_inplace()
334 if (!sb->s_cop->needs_bounce_pages) in fscrypt_initialize()
H A Dkeysetup_v1.c304 if (key == ERR_PTR(-ENOKEY) && sb->s_cop->legacy_key_prefix) { in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
305 key = find_and_lock_process_key(sb->s_cop->legacy_key_prefix, in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
H A Dinline_crypt.c30 if (sb->s_cop->get_devices) { in fscrypt_get_devices()
31 devs = sb->s_cop->get_devices(sb, num_devs); in fscrypt_get_devices()
H A Dkeysetup.c678 res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_encryption_info()
/linux/include/linux/
H A Dfscrypt.h212 VFS_WARN_ON_ONCE(inode->i_sb->s_cop->inode_info_offs == 0); in fscrypt_inode_info_addr()
213 return (void *)inode + inode->i_sb->s_cop->inode_info_offs; in fscrypt_inode_info_addr()
480 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
482 sb->s_cop = s_cop; in fscrypt_set_ops()
857 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
/linux/fs/
H A Dlibfs.c1985 if (sb->s_cop) { in generic_set_sb_d_ops()
/linux/fs/f2fs/
H A Dsuper.c5023 sb->s_cop = &f2fs_cryptops; in f2fs_fill_super()
/linux/fs/ext4/
H A Dsuper.c5433 sb->s_cop = &ext4_cryptops; in __ext4_fill_super()