Home
last modified time | relevance | path

Searched refs:ZT_SIG_REG_BYTES (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/tools/testing/selftests/arm64/fp/
Dzt-ptrace.c100 static int get_zt(pid_t pid, char zt[ZT_SIG_REG_BYTES]) in get_zt() argument
105 iov.iov_len = ZT_SIG_REG_BYTES; in get_zt()
110 static int set_zt(pid_t pid, const char zt[ZT_SIG_REG_BYTES]) in set_zt() argument
115 iov.iov_len = ZT_SIG_REG_BYTES; in set_zt()
123 char zt[ZT_SIG_REG_BYTES]; in ptrace_za_disabled_read_zt()
158 char zt_in[ZT_SIG_REG_BYTES]; in ptrace_set_get_zt()
159 char zt_out[ZT_SIG_REG_BYTES]; in ptrace_set_get_zt()
193 char zt[ZT_SIG_REG_BYTES]; in ptrace_enable_za_via_zt()
Dfp-ptrace.c77 char zt_in[ZT_SIG_REG_BYTES];
78 char zt_expected[ZT_SIG_REG_BYTES];
79 char zt_out[ZT_SIG_REG_BYTES];
578 iov.iov_len = ZT_SIG_REG_BYTES; in check_ptrace_values_zt()
586 return compare_buffer("initial ZT", buf, zt_in, ZT_SIG_REG_BYTES); in check_ptrace_values_zt()
868 fill_random(zt_in, ZT_SIG_REG_BYTES); in set_initial_values()
870 memset(zt_in, 0, ZT_SIG_REG_BYTES); in set_initial_values()
872 memcpy(zt_expected, zt_in, ZT_SIG_REG_BYTES); in set_initial_values()
874 memset(zt_expected, 0, ZT_SIG_REG_BYTES); in set_initial_values()
924 if (!compare_buffer("saved ZT", zt_out, zt_expected, ZT_SIG_REG_BYTES)) in check_memory_values()
[all …]
/linux-6.12.1/arch/arm64/include/uapi/asm/
Dsigcontext.h340 #define ZT_SIG_REG_BYTES (ZT_SIG_REG_SIZE / 8) macro
344 #define ZT_SIG_REGS_SIZE(n) (ZT_SIG_REG_BYTES * (n))
/linux-6.12.1/tools/testing/selftests/arm64/abi/
Dsyscall-abi.c338 uint8_t zt_in[ZT_SIG_REG_BYTES] __attribute__((aligned(16)));
339 uint8_t zt_out[ZT_SIG_REG_BYTES] __attribute__((aligned(16)));
/linux-6.12.1/arch/arm64/kernel/
Dptrace.c1195 ZT_SIG_REG_BYTES); in zt_get()
1197 membuf_zero(&to, ZT_SIG_REG_BYTES); in zt_get()
1225 0, ZT_SIG_REG_BYTES); in zt_set()
1615 .size = ZT_SIG_REG_BYTES,