Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/crypto/
H A Dpolicy.c38 if (!sb->s_cop->get_dummy_policy) in fscrypt_get_dummy_policy()
40 return sb->s_cop->get_dummy_policy(sb); in fscrypt_get_dummy_policy()
106 if (!sb->s_cop->has_stable_inodes || in supported_iv_ino_lblk_policy()
107 !sb->s_cop->has_stable_inodes(sb)) { in supported_iv_ino_lblk_policy()
113 if (sb->s_cop->get_ino_and_lblk_bits) in supported_iv_ino_lblk_policy()
114 sb->s_cop->get_ino_and_lblk_bits(sb, &ino_bits, &lblk_bits); in supported_iv_ino_lblk_policy()
382 ret = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_policy()
433 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, NULL); in set_encryption_policy()
483 else if (!inode->i_sb->s_cop->empty_dir(inode)) in fscrypt_ioctl_set_policy()
559 ret = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_ioctl_get_nonce()
[all …]
H A Dinline_crypt.c33 if (sb->s_cop->get_num_devices) in fscrypt_get_num_devices()
34 return sb->s_cop->get_num_devices(sb); in fscrypt_get_num_devices()
44 sb->s_cop->get_devices(sb, devs); in fscrypt_get_devices()
63 if (sb->s_cop->get_ino_and_lblk_bits) in fscrypt_get_dun_bytes()
64 sb->s_cop->get_ino_and_lblk_bits(sb, &ino_bits, &lblk_bits); in fscrypt_get_dun_bytes()
H A Dkeysetup_v1.c308 if (key == ERR_PTR(-ENOKEY) && ci->ci_inode->i_sb->s_cop->key_prefix) { in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
309 key = find_and_lock_process_key(ci->ci_inode->i_sb->s_cop->key_prefix, in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
H A Dkeysetup.c576 res = fscrypt_initialize(inode->i_sb->s_cop->flags); in fscrypt_setup_encryption_info()
658 res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_encryption_info()
H A Dfname.c410 dir->i_sb->s_cop->max_namelen, in fscrypt_setup_filename()
/OK3568_Linux_fs/kernel/include/linux/
H A Dfscrypt.h265 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
267 sb->s_cop = s_cop; in fscrypt_set_ops()
601 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
H A Dfs.h1473 const struct fscrypt_operations *s_cop; member
/OK3568_Linux_fs/kernel/fs/f2fs/
H A Dsuper.c3943 sb->s_cop = &f2fs_cryptops; in f2fs_fill_super()
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dsuper.c4747 sb->s_cop = &ext4_cryptops; in ext4_fill_super()