Searched refs:fp_state (Results 1 – 5 of 5) sorted by relevance
85 let fp: &mut FpState = if pcb.fp_state == null_mut() { in fp_state_save()87 pcb.fp_state = f as *mut FpState as usize as *mut c_void; in fp_state_save()90 unsafe { (pcb.fp_state as usize as *mut FpState).as_mut().unwrap() } in fp_state_save()123 if pcb.fp_state == null_mut() { in fp_state_restore()141 let fp = unsafe { (pcb.fp_state as usize as *mut FpState).as_mut().unwrap() }; in fp_state_restore()
82 if current_pcb().fp_state == null_mut() { in rs_dup_fpstate()86 let state = current_pcb().fp_state as usize as *mut FpState; in rs_dup_fpstate()99 if pcb.fp_state != null_mut() { in rs_process_exit_fpstate()100 let state = pcb.fp_state as usize as *mut FpState; in rs_process_exit_fpstate()
137 void *fp_state; member
292 pcb->fp_state = rs_dup_fpstate(); in process_copy_thread()
623 if current_pcb().fp_state != null_mut() { in setup_frame()625 let fp_state: &mut FpState = (current_pcb().fp_state as usize as *mut FpState) in setup_frame() localVariable628 (*frame).context.sc_stack.fpstate = *fp_state; in setup_frame()630 fp_state.clear(); in setup_frame()756 *(current_pcb().fp_state as usize as *mut FpState) = (*context).sc_stack.fpstate; in restore_sigcontext()