Home
last modified time | relevance | path

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

/Linux-v5.15/fs/crypto/
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 …]
Dinline_crypt.c31 if (sb->s_cop->get_num_devices) in fscrypt_get_num_devices()
32 return sb->s_cop->get_num_devices(sb); in fscrypt_get_num_devices()
42 sb->s_cop->get_devices(sb, devs); in fscrypt_get_devices()
61 if (sb->s_cop->get_ino_and_lblk_bits) in fscrypt_get_dun_bytes()
62 sb->s_cop->get_ino_and_lblk_bits(sb, &ino_bits, &lblk_bits); in fscrypt_get_dun_bytes()
Dkeysetup_v1.c307 if (key == ERR_PTR(-ENOKEY) && ci->ci_inode->i_sb->s_cop->key_prefix) { in fscrypt_setup_v1_file_key_via_subscribed_keyrings()
308 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.c511 res = fscrypt_initialize(inode->i_sb->s_cop->flags); in fscrypt_setup_encryption_info()
597 res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_encryption_info()
Dfname.c433 dir->i_sb->s_cop->max_namelen, in fscrypt_setup_filename()
/Linux-v5.15/include/linux/
Dfscrypt.h359 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
361 sb->s_cop = s_cop; in fscrypt_set_ops()
695 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
Dfs.h1488 const struct fscrypt_operations *s_cop; member
/Linux-v5.15/fs/f2fs/
Dsuper.c3981 sb->s_cop = &f2fs_cryptops; in f2fs_fill_super()
/Linux-v5.15/fs/ext4/
Dsuper.c4597 sb->s_cop = &ext4_cryptops; in ext4_fill_super()