Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/riscv/
Dget-reg-list.c209 return strdup_printf("%lld /* UNKNOWN */", reg_off); in config_id_to_str()
231 return strdup_printf("KVM_REG_RISCV_CORE_REG(regs.t%lld)", in core_id_to_str()
234 return strdup_printf("KVM_REG_RISCV_CORE_REG(regs.s%lld)", in core_id_to_str()
237 return strdup_printf("KVM_REG_RISCV_CORE_REG(regs.a%lld)", in core_id_to_str()
240 return strdup_printf("KVM_REG_RISCV_CORE_REG(regs.s%lld)", in core_id_to_str()
243 return strdup_printf("KVM_REG_RISCV_CORE_REG(regs.t%lld)", in core_id_to_str()
249 return strdup_printf("%lld /* UNKNOWN */", reg_off); in core_id_to_str()
287 return strdup_printf("KVM_REG_RISCV_CSR_GENERAL | %lld /* UNKNOWN */", reg_off); in general_csr_id_to_str()
310 return strdup_printf("KVM_REG_RISCV_CSR_AIA | %lld /* UNKNOWN */", reg_off); in aia_csr_id_to_str()
343 return strdup_printf("%lld | %lld /* UNKNOWN */", reg_subtype, reg_off); in csr_id_to_str()
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dget-reg-list.c130 return strdup_printf("KVM_REG_ARM_CORE_REG(regs.regs[%lld])", idx); in core_id_to_str()
145 return strdup_printf("KVM_REG_ARM_CORE_REG(spsr[%lld])", idx); in core_id_to_str()
150 return strdup_printf("KVM_REG_ARM_CORE_REG(fp_regs.vregs[%lld])", idx); in core_id_to_str()
179 return strdup_printf("KVM_REG_ARM64_SVE_ZREG(%lld, 0)", n); in sve_id_to_str()
185 return strdup_printf("KVM_REG_ARM64_SVE_PREG(%lld, 0)", n); in sve_id_to_str()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dtest_util.h217 char *strdup_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2), nonnull(1)));
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dtest_util.c382 char *strdup_printf(const char *fmt, ...) in strdup_printf() function