Lines Matching defs:vl
322 static void start_sve(struct child_data *child, int vl, int cpu)
326 ret = prctl(PR_SVE_SET_VL, vl | PR_SVE_VL_INHERIT);
328 ksft_exit_fail_msg("Failed to set SVE VL %d\n", vl);
330 ret = asprintf(&child->name, "SVE-VL-%d-%d", vl, cpu);
339 static void start_ssve(struct child_data *child, int vl, int cpu)
343 ret = asprintf(&child->name, "SSVE-VL-%d-%d", vl, cpu);
347 ret = prctl(PR_SME_SET_VL, vl | PR_SME_VL_INHERIT);
356 static void start_za(struct child_data *child, int vl, int cpu)
360 ret = prctl(PR_SME_SET_VL, vl | PR_SVE_VL_INHERIT);
364 ret = asprintf(&child->name, "ZA-VL-%d-%d", vl, cpu);
389 int vl;
394 vl = prctl(set_vl, vq * 16);
395 if (vl == -1)
399 vl &= PR_SVE_VL_LEN_MASK;
401 if (*vl_count && (vl == vls[*vl_count - 1]))
404 vq = sve_vq_from_vl(vl);
406 vls[*vl_count] = vl;