Home
last modified time | relevance | path

Searched refs:uctxt (Results 1 – 2 of 2) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/x86/
Dmpx-mini-test.c212 static uint64_t read_mpx_status_sig(ucontext_t *uctxt) in read_mpx_status_sig() argument
216 (uint8_t *)uctxt->uc_mcontext.fpregs + XSAVE_OFFSET_IN_FPMEM, in read_mpx_status_sig()
410 ucontext_t *uctxt = vucontext; in handler() local
416 trapno = uctxt->uc_mcontext.gregs[REG_TRAPNO]; in handler()
417 ip = uctxt->uc_mcontext.gregs[REG_IP_IDX]; in handler()
421 uint64_t status = read_mpx_status_sig(uctxt); in handler()
453 uctxt->uc_mcontext.gregs[REG_IP_IDX] = in handler()
465 uctxt->uc_mcontext.gregs[REG_IP_IDX] = in handler()
474 eprintf("REG_ERR: %lx\n", (unsigned long)uctxt->uc_mcontext.gregs[REG_ERR]); in handler()
479 eprintf("REG_ERR: %lx\n", (unsigned long)uctxt->uc_mcontext.gregs[REG_ERR]); in handler()
Dprotection_keys.c262 ucontext_t *uctxt = vucontext; in signal_handler() local
277 trapno = uctxt->uc_mcontext.gregs[REG_TRAPNO]; in signal_handler()
278 ip = uctxt->uc_mcontext.gregs[REG_IP_IDX]; in signal_handler()
279 fpregset = uctxt->uc_mcontext.fpregs; in signal_handler()