Home
last modified time | relevance | path

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

/linux/fs/crypto/
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 …]
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()
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()
A Dinline_crypt.c29 if (sb->s_cop->get_devices) { in fscrypt_get_devices()
30 devs = sb->s_cop->get_devices(sb, num_devs); in fscrypt_get_devices()
A Dkeysetup.c652 res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_encryption_info()
/linux/include/linux/
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
A Dfs.h1276 const struct fscrypt_operations *s_cop; member
/linux/fs/
A Dlibfs.c1971 if (sb->s_cop) { in generic_set_sb_d_ops()
/linux/fs/f2fs/
A Dsuper.c4491 sb->s_cop = &f2fs_cryptops; in f2fs_fill_super()
/linux/fs/ext4/
A Dsuper.c5318 sb->s_cop = &ext4_cryptops; in __ext4_fill_super()

Completed in 57 milliseconds