Searched refs:policy_size (Results 1 – 1 of 1) sorted by relevance
514 size_t policy_size; in fscrypt_ioctl_get_policy_ex() local518 BUILD_BUG_ON(offsetof(typeof(arg), policy_size) != 0); in fscrypt_ioctl_get_policy_ex()519 BUILD_BUG_ON(offsetofend(typeof(arg), policy_size) != in fscrypt_ioctl_get_policy_ex()526 policy_size = fscrypt_policy_size(policy); in fscrypt_ioctl_get_policy_ex()528 if (copy_from_user(&arg, uarg, sizeof(arg.policy_size))) in fscrypt_ioctl_get_policy_ex()531 if (policy_size > arg.policy_size) in fscrypt_ioctl_get_policy_ex()533 arg.policy_size = policy_size; in fscrypt_ioctl_get_policy_ex()535 if (copy_to_user(uarg, &arg, sizeof(arg.policy_size) + policy_size)) in fscrypt_ioctl_get_policy_ex()