Home
last modified time | relevance | path

Searched refs:trapped (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test.c132 static int trapped; variable
137 * If we haven't trapped, wake up the parent in check_trapped()
140 if (!trapped) in check_trapped()
142 trapped = 0; in check_trapped()
280 if (ptrace(PTRACE_POKEDATA, child_pid, &trapped, 1)) in check_success()
/kernel/linux/linux-6.6/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test.c132 static int trapped; variable
137 * If we haven't trapped, wake up the parent in check_trapped()
140 if (!trapped) in check_trapped()
142 trapped = 0; in check_trapped()
280 if (ptrace(PTRACE_POKEDATA, child_pid, &trapped, 1)) in check_success()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
H A Duser_msr_test.c94 static void guest_msr_calls(bool trapped) in guest_msr_calls() argument
99 if (trapped) { in guest_msr_calls()
108 /* If trapped == true, this goes into user space emulation */ in guest_msr_calls()
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/
H A Duserspace_msr_exit_test.c302 static void guest_msr_calls(bool trapped) in guest_msr_calls() argument
307 if (trapped) { in guest_msr_calls()
316 /* If trapped == true, this goes into user space emulation */ in guest_msr_calls()

Completed in 3 milliseconds