Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/crypto/
A Dpolicy.c565 size_t policy_size; in fscrypt_ioctl_get_policy_ex() local
569 BUILD_BUG_ON(offsetof(typeof(arg), policy_size) != 0); in fscrypt_ioctl_get_policy_ex()
570 BUILD_BUG_ON(offsetofend(typeof(arg), policy_size) != in fscrypt_ioctl_get_policy_ex()
577 policy_size = fscrypt_policy_size(policy); in fscrypt_ioctl_get_policy_ex()
579 if (copy_from_user(&arg, uarg, sizeof(arg.policy_size))) in fscrypt_ioctl_get_policy_ex()
582 if (policy_size > arg.policy_size) in fscrypt_ioctl_get_policy_ex()
584 arg.policy_size = policy_size; in fscrypt_ioctl_get_policy_ex()
586 if (copy_to_user(uarg, &arg, sizeof(arg.policy_size) + policy_size)) in fscrypt_ioctl_get_policy_ex()
/linux-6.3-rc2/include/uapi/linux/
A Dfscrypt.h80 __u64 policy_size; /* input/output */ member
/linux-6.3-rc2/tools/include/uapi/linux/
A Dfscrypt.h80 __u64 policy_size; /* input/output */ member
/linux-6.3-rc2/Documentation/filesystems/
A Dfscrypt.rst616 __u64 policy_size; /* input/output */
624 The caller must initialize ``policy_size`` to the size available for
628 actual size is returned in ``policy_size``. ``policy.version`` should

Completed in 9 milliseconds