Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/ipc/
Dsignal.rs191 let lock = { &mut sighand_ptr.unwrap().siglock }; in lock_process_sighand()
203 let lock = unsafe { &mut (*pcb.sighand).siglock }; in unlock_process_sighand()
252 assert!(spin_is_locked(unsafe { &(*pcb.sighand).siglock })); in __send_signal_locked()
388 assert!(spin_is_locked(&unsafe { (*pcb.sighand).siglock })); in signal_wake_up_state()
458 spin_lock_irq(&mut sighand.siglock); in get_signal_to_deliver()
465 spin_unlock_irq(unsafe { (&mut (*current_pcb().sighand).siglock) as *mut spinlock_t }); in get_signal_to_deliver()
488 spin_unlock_irq(&mut sighand.siglock); in get_signal_to_deliver()
496 spin_unlock_irq(&mut sighand.siglock); in get_signal_to_deliver()
893 spin_lock_irq(unsafe { &mut (*(pcb.sighand)).siglock }); in do_sigaction()
896 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.2/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.2/kernel/src/include/DragonOS/
Dsignal.h132 spinlock_t siglock; member