Home
last modified time | relevance | path

Searched refs:policy_size (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/fs/crypto/
Dpolicy.c592 size_t policy_size; in fscrypt_ioctl_get_policy_ex() local
596 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()
/linux-6.12.1/tools/include/uapi/linux/
Dfscrypt.h81 __u64 policy_size; /* input/output */ member
/linux-6.12.1/include/uapi/linux/
Dfscrypt.h81 __u64 policy_size; /* input/output */ member
/linux-6.12.1/Documentation/filesystems/
Dfscrypt.rst748 __u64 policy_size; /* input/output */
756 The caller must initialize ``policy_size`` to the size available for
760 actual size is returned in ``policy_size``. ``policy.version`` should