Searched refs:context (Results 1 – 3 of 3) sorted by relevance
629 (*frame).arg2 = &((*frame).context) as *const sigcontext as usize; in setup_frame()638 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, ®s).unwrap_or(1); in setup_frame()717 fn setup_sigcontext(context: &mut sigcontext, mask: &sigset_t, regs: &pt_regs) -> Result<i32, i32> { in setup_sigcontext()720 context.oldmask = *mask; in setup_sigcontext()721 context.regs = regs.clone(); in setup_sigcontext()722 context.trap_num = unsafe { (*current_thread).trap_num }; in setup_sigcontext()723 context.err_code = unsafe { (*current_thread).err_code }; in setup_sigcontext()724 context.cr2 = unsafe { (*current_thread).cr2 }; in setup_sigcontext()735 fn restore_sigcontext(context: *const sigcontext, regs: &mut pt_regs) -> bool { in restore_sigcontext()738 *regs = (*context).regs; in restore_sigcontext()[all …]
635 pub context: sigcontext, field
331 # * "UpperCase": same as ScreamingSnakeCase in this context332 # * "QualifiedScreamingSnakeCase" => same as ScreamingSnakeCase in this context360 # * "UpperCase": same as ScreamingSnakeCase in this context361 # * "QualifiedScreamingSnakeCase" => same as ScreamingSnakeCase in this context