Searched refs:policy_size (Results 1 – 1 of 1) sorted by relevance
401 size_t policy_size; in fscrypt_ioctl_get_policy_ex() local405 BUILD_BUG_ON(offsetof(typeof(arg), policy_size) != 0); in fscrypt_ioctl_get_policy_ex()406 BUILD_BUG_ON(offsetofend(typeof(arg), policy_size) != in fscrypt_ioctl_get_policy_ex()413 policy_size = fscrypt_policy_size(policy); in fscrypt_ioctl_get_policy_ex()415 if (copy_from_user(&arg, uarg, sizeof(arg.policy_size))) in fscrypt_ioctl_get_policy_ex()418 if (policy_size > arg.policy_size) in fscrypt_ioctl_get_policy_ex()420 arg.policy_size = policy_size; in fscrypt_ioctl_get_policy_ex()422 if (copy_to_user(uarg, &arg, sizeof(arg.policy_size) + policy_size)) in fscrypt_ioctl_get_policy_ex()