sve_vq_from_vl
return SVE_SIG_FFR_OFFSET(sve_vq_from_vl(vl)) - SVE_SIG_REGS_OFFSET;
unsigned int sme_vq = sve_vq_from_vl(thread_get_sme_vl(thread));
return SVE_SIG_REGS_SIZE(sve_vq_from_vl(vl));
size_t size = ZA_SIG_REGS_SIZE(sve_vq_from_vl(sme_vl));
#define vcpu_sve_max_vq(vcpu) sve_vq_from_vl((vcpu)->arch.sve_max_vl)
__vq = sve_vq_from_vl(sve_max_vl); \
SVE_SIG_REGS_SIZE(sve_vq_from_vl(kvm_host_sve_max_vl)));
sve_vq_minus_one = sve_vq_from_vl(task_get_sve_vl(current)) - 1;
if (sve_vq_from_vl(vl) > vq)
vq = sve_vq_from_vl(vl); /* skip intervening lengths */
sve_vq_from_vl(task_get_sve_vl(current)) - 1;
sve_vq_from_vl(task_get_sme_vl(current)) - 1;
sve_set_vq(sve_vq_from_vl(task_get_sve_vl(current)) - 1);
sme_set_vq(sve_vq_from_vl(sme_vl) - 1);
__vq_to_bit(sve_vq_from_vl(vl)));
vq = sve_vq_from_vl(thread_get_cur_vl(&task->thread));
vq = sve_vq_from_vl(vl);
vq = sve_vq_from_vl(thread_get_cur_vl(&task->thread));
if (count && vq != sve_vq_from_vl(header.vl))
vq = sve_vq_from_vl(header.vl);
vq = sve_vq_from_vl(task_get_sme_vl(target));
if (vq != sve_vq_from_vl(header.vl)) {
vq = sve_vq_from_vl(header->vl);
header->max_size = SVE_PT_SIZE(sve_vq_from_vl(header->max_vl),
vq = sve_vq_from_vl(header.vl);
vq = sve_vq_from_vl(task_get_vl(target, type));
vq = sve_vq_from_vl(vl);
vq = sve_vq_from_vl(vl);
vq = sve_vq_from_vl(vl);
vq = sve_vq_from_vl(vl);
vq = sve_vq_from_vl(vl);
vq = sve_vq_from_vl(vl);
vq = sve_vq_from_vl(user_vl);
if (max_vq > sve_vq_from_vl(kvm_sve_max_vl))
write_sysreg_s(sve_vq_from_vl(kvm_host_sve_max_vl) - 1, SYS_ZCR_EL2);
zcr_el2 = sve_vq_from_vl(kvm_host_sve_max_vl) - 1;
write_sysreg_s(sve_vq_from_vl(kvm_host_sve_max_vl) - 1, SYS_ZCR_EL2);
write_sysreg_s(sve_vq_from_vl(kvm_host_sve_max_vl) - 1, SYS_ZCR_EL2);
size_t reg_size = sve_vq_from_vl(sve_vl) * 2; /* 1 bit per VL byte */
size_t reg_size = sve_vq_from_vl(sve_vl) * 2; /* 1 bit per VL byte */
if (vq != sve_vq_from_vl(vl))
vq = sve_vq_from_vl(vl);
if (sve_vq_from_vl(vl) > vq)
if (vq != sve_vq_from_vl(vl))
vq = sve_vq_from_vl(vl);
vq = sve_vq_from_vl(vl);
vq = sve_vq_from_vl(vl);
vq = sve_vq_from_vl(vl);
unsigned int vq = sve_vq_from_vl(vl);
unsigned int vq = sve_vq_from_vl(vl);
unsigned int vq = sve_vq_from_vl(vl);
unsigned int vq = sve_vq_from_vl(vl);
if (vq < sve_vq_from_vl(vl))
vq = sve_vq_from_vl(vl);
ZA_SIG_REGS_SIZE(sve_vq_from_vl(za->vl))) != 0) {
= ((SVE_SIG_CONTEXT_SIZE(sve_vq_from_vl(sve->vl)) + 15) / 16) * 16;
= ((ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(za->vl)) + 15) / 16) * 16;
if (head->size != ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl))) {
head->size, ZA_SIG_CONTEXT_SIZE(sve_vq_from_vl(vl)));
ZA_SIG_REGS_SIZE(sve_vq_from_vl(za->vl))) != 0) {