Lines Matching refs:s_cop
59 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()
750 return inode->i_sb->s_cop->set_context(inode, &ctx, ctxsize, fs_data); in fscrypt_set_context()