Home
last modified time | relevance | path

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

/linux-6.15/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.c242 if (WARN_ON_ONCE(inode->i_sb->s_cop->supports_subblock_data_units)) in fscrypt_encrypt_block_inplace()
317 if (WARN_ON_ONCE(inode->i_sb->s_cop->supports_subblock_data_units)) in fscrypt_decrypt_block_inplace()
344 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 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()
H A Dkeysetup.c652 res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_encryption_info()
/linux-6.15/include/linux/
H A Dfscrypt.h445 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
447 sb->s_cop = s_cop; in fscrypt_set_ops()
822 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
H A Dfs.h1336 const struct fscrypt_operations *s_cop; member
/linux-6.15/fs/
H A Dlibfs.c1960 if (sb->s_cop) { in generic_set_sb_d_ops()
/linux-6.15/fs/f2fs/
H A Dsuper.c4583 sb->s_cop = &f2fs_cryptops; in f2fs_fill_super()
/linux-6.15/fs/ext4/
H A Dsuper.c5374 sb->s_cop = &ext4_cryptops; in __ext4_fill_super()