Searched refs:policy_size (Results 1 – 4 of 4) sorted by relevance
592 size_t policy_size; in fscrypt_ioctl_get_policy_ex() local596 BUILD_BUG_ON(offsetof(typeof(arg), policy_size) != 0); in fscrypt_ioctl_get_policy_ex()597 BUILD_BUG_ON(offsetofend(typeof(arg), policy_size) != in fscrypt_ioctl_get_policy_ex()604 policy_size = fscrypt_policy_size(policy); in fscrypt_ioctl_get_policy_ex()606 if (copy_from_user(&arg, uarg, sizeof(arg.policy_size))) in fscrypt_ioctl_get_policy_ex()609 if (policy_size > arg.policy_size) in fscrypt_ioctl_get_policy_ex()611 arg.policy_size = policy_size; in fscrypt_ioctl_get_policy_ex()613 if (copy_to_user(uarg, &arg, sizeof(arg.policy_size) + policy_size)) in fscrypt_ioctl_get_policy_ex()
81 __u64 policy_size; /* input/output */ member
748 __u64 policy_size; /* input/output */756 The caller must initialize ``policy_size`` to the size available for760 actual size is returned in ``policy_size``. ``policy.version`` should