Home
last modified time | relevance | path

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

/linux/fs/crypto/
H A Dpolicy.c58 if (!sb->s_cop->get_dummy_policy) in fscrypt_get_dummy_policy()
60 return sb->s_cop->get_dummy_policy(sb); in fscrypt_get_dummy_policy()
145 if (!sb->s_cop->has_stable_inodes || in supported_iv_ino_lblk_policy()
146 !sb->s_cop->has_stable_inodes(sb)) { in supported_iv_ino_lblk_policy()
160 if (!sb->s_cop->has_32bit_inodes) { in supported_iv_ino_lblk_policy()
248 if (!inode->i_sb->s_cop->supports_subblock_data_units) { in fscrypt_supported_v2_policy()
449 ret = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_policy()
500 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, NULL); in set_encryption_policy()
550 else if (!inode->i_sb->s_cop->empty_dir(inode)) in fscrypt_ioctl_set_policy()
626 ret = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_ioctl_get_nonce()
[all …]
H A Dcrypto.c244 if (WARN_ON_ONCE(inode->i_sb->s_cop->supports_subblock_data_units)) in fscrypt_encrypt_block_inplace()
319 if (WARN_ON_ONCE(inode->i_sb->s_cop->supports_subblock_data_units)) in fscrypt_decrypt_block_inplace()
346 if (!sb->s_cop->needs_bounce_pages) in fscrypt_initialize()
H A Dkeysetup_v1.c313 if (key == ERR_PTR(-ENOKEY) && sb->s_cop->legacy_key_prefix) { in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
314 key = find_and_lock_process_key(sb->s_cop->legacy_key_prefix, in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
H A Dkeysetup.c652 res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_encryption_info()
/linux/include/linux/
H A Dfscrypt.h446 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
448 sb->s_cop = s_cop; in fscrypt_set_ops()
825 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
H A Dfs.h1278 const struct fscrypt_operations *s_cop; member
/linux/fs/
H A Dlibfs.c1966 if (sb->s_cop) { in generic_set_sb_d_ops()
/linux/fs/ext4/
H A Dsuper.c5364 sb->s_cop = &ext4_cryptops; in __ext4_fill_super()