Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/process/
Dinitial_proc.rs22 siglock: spinlock_t { lock: 1 },
Dfork.rs48 spin_lock_irqsave(unsafe { &mut (*current_pcb().sighand).siglock }, &mut flags); in process_copy_sighand()
66 spin_unlock_irqrestore(unsafe { &mut (*current_pcb().sighand).siglock }, &flags); in process_copy_sighand()
/DragonOS-0.1.3/kernel/src/ipc/
Dsignal.rs206 let lock = { &mut sighand_ptr.unwrap().siglock }; in lock_process_sighand()
218 let lock = unsafe { &mut (*pcb.sighand).siglock }; in unlock_process_sighand()
266 assert!(spin_is_locked(unsafe { &(*pcb.sighand).siglock })); in __send_signal_locked()
417 assert!(spin_is_locked(&unsafe { (*pcb.sighand).siglock })); in signal_wake_up_state()
486 spin_lock_irq(&mut sighand.siglock); in get_signal_to_deliver()
493 spin_unlock_irq(unsafe { (&mut (*current_pcb().sighand).siglock) as *mut spinlock_t }); in get_signal_to_deliver()
516 spin_unlock_irq(&mut sighand.siglock); in get_signal_to_deliver()
524 spin_unlock_irq(&mut sighand.siglock); in get_signal_to_deliver()
923 spin_lock_irq(unsafe { &mut (*(pcb.sighand)).siglock }); in do_sigaction()
926 spin_unlock_irq(unsafe { &mut (*(pcb.sighand)).siglock }); in do_sigaction()
[all …]
Dsignal_types.rs230 pub siglock: spinlock_t, field
238 siglock: Default::default(), in default()
/DragonOS-0.1.3/kernel/src/include/DragonOS/
Dsignal.h132 spinlock_t siglock; member