Home
last modified time | relevance | path

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

/Linux-v6.1/fs/crypto/
Dpolicy.c59 if (!sb->s_cop->get_dummy_policy) in fscrypt_get_dummy_policy()
61 return sb->s_cop->get_dummy_policy(sb); in fscrypt_get_dummy_policy()
135 if (!sb->s_cop->has_stable_inodes || in supported_iv_ino_lblk_policy()
136 !sb->s_cop->has_stable_inodes(sb)) { in supported_iv_ino_lblk_policy()
142 if (sb->s_cop->get_ino_and_lblk_bits) in supported_iv_ino_lblk_policy()
143 sb->s_cop->get_ino_and_lblk_bits(sb, &ino_bits, &lblk_bits); in supported_iv_ino_lblk_policy()
411 ret = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_policy()
462 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, NULL); in set_encryption_policy()
512 else if (!inode->i_sb->s_cop->empty_dir(inode)) in fscrypt_ioctl_set_policy()
588 ret = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_ioctl_get_nonce()
[all …]
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()
58 if (sb->s_cop->get_ino_and_lblk_bits) in fscrypt_get_dun_bytes()
59 sb->s_cop->get_ino_and_lblk_bits(sb, &ino_bits, &lblk_bits); in fscrypt_get_dun_bytes()
Dkeysetup_v1.c309 if (key == ERR_PTR(-ENOKEY) && ci->ci_inode->i_sb->s_cop->key_prefix) { in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
310 key = find_and_lock_process_key(ci->ci_inode->i_sb->s_cop->key_prefix, in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
Dkeysetup.c529 res = fscrypt_initialize(inode->i_sb->s_cop->flags); in fscrypt_setup_encryption_info()
611 res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_encryption_info()
/Linux-v6.1/include/linux/
Dfscrypt.h378 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
380 sb->s_cop = s_cop; in fscrypt_set_ops()
742 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
Dfs.h1474 const struct fscrypt_operations *s_cop; member
/Linux-v6.1/fs/f2fs/
Dsuper.c4161 sb->s_cop = &f2fs_cryptops; in f2fs_fill_super()
/Linux-v6.1/fs/ext4/
Dsuper.c5245 sb->s_cop = &ext4_cryptops; in __ext4_fill_super()