Home
last modified time | relevance | path

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

/linux-6.6.21/fs/crypto/
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()
146 if (!sb->s_cop->has_stable_inodes || in supported_iv_ino_lblk_policy()
147 !sb->s_cop->has_stable_inodes(sb)) { in supported_iv_ino_lblk_policy()
153 if (sb->s_cop->get_ino_and_lblk_bits) in supported_iv_ino_lblk_policy()
154 sb->s_cop->get_ino_and_lblk_bits(sb, &ino_bits, &lblk_bits); in supported_iv_ino_lblk_policy()
422 ret = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_policy()
473 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, NULL); in set_encryption_policy()
523 else if (!inode->i_sb->s_cop->empty_dir(inode)) in fscrypt_ioctl_set_policy()
599 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()
Dcrypto.c328 if (sb->s_cop->flags & FS_CFLG_OWN_PAGES) in fscrypt_initialize()
Dkeysetup.c645 res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); in fscrypt_get_encryption_info()
/linux-6.6.21/include/linux/
Dfscrypt.h387 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
389 sb->s_cop = s_cop; in fscrypt_set_ops()
760 const struct fscrypt_operations *s_cop) in fscrypt_set_ops() argument
Dfs.h1213 const struct fscrypt_operations *s_cop; member
/linux-6.6.21/fs/f2fs/
Dsuper.c4474 sb->s_cop = &f2fs_cryptops; in f2fs_fill_super()
/linux-6.6.21/fs/ext4/
Dsuper.c5337 sb->s_cop = &ext4_cryptops; in __ext4_fill_super()