Searched refs:SVE_PT_SIZE (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | sve-ptrace.c | 350 svebuf = malloc(SVE_PT_SIZE(0, SVE_PT_REGS_FPSIMD)); in ptrace_sve_fpsimd() 356 memset(svebuf, 0, SVE_PT_SIZE(0, SVE_PT_REGS_FPSIMD)); in ptrace_sve_fpsimd() 359 sve->size = SVE_PT_SIZE(0, SVE_PT_REGS_FPSIMD); in ptrace_sve_fpsimd() 407 svebuf = malloc(SVE_PT_SIZE(0, SVE_PT_REGS_FPSIMD)); in ptrace_sve_fpsimd_no_sve() 414 memset(svebuf, 0, SVE_PT_SIZE(0, SVE_PT_REGS_FPSIMD)); in ptrace_sve_fpsimd_no_sve() 417 sve->size = SVE_PT_SIZE(0, SVE_PT_REGS_FPSIMD); in ptrace_sve_fpsimd_no_sve()
|
| H A D | fp-ptrace.c | 448 if (sve->size != SVE_PT_SIZE(vq, sve->flags)) { in check_ptrace_values_sve() 450 sve->size, SVE_PT_SIZE(vq, sve->flags)); in check_ptrace_values_sve() 531 if (sve->size != SVE_PT_SIZE(vq, sve->flags)) { in check_ptrace_values_ssve() 533 sve->size, SVE_PT_SIZE(vq, sve->flags)); in check_ptrace_values_ssve() 1190 iov.iov_len = SVE_PT_SIZE(vq, SVE_PT_REGS_SVE); in sve_write_sve() 1234 iov.iov_len = SVE_PT_SIZE(vq, SVE_PT_REGS_FPSIMD); in sve_write_fpsimd()
|
| /linux/arch/arm64/include/uapi/asm/ |
| H A D | ptrace.h | 244 #define SVE_PT_SIZE(vq, flags) \ macro
|
| /linux/arch/arm64/kernel/ |
| H A D | ptrace.c | 802 header->size = SVE_PT_SIZE(vq, header->flags); in sve_init_header_from_task() 805 header->max_size = SVE_PT_SIZE(sve_vq_from_vl(header->max_vl), in sve_init_header_from_task() 1681 .n = DIV_ROUND_UP(SVE_PT_SIZE(ARCH_SVE_VQ_MAX, 1693 .n = DIV_ROUND_UP(SVE_PT_SIZE(SME_VQ_MAX, SVE_PT_REGS_SVE),
|