Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/ipc/
Dsignal.rs167 let lock = { &mut sighand_ptr.unwrap().siglock }; in lock_process_sighand()
179 let lock = unsafe { &mut (*pcb.sighand).siglock }; in unlock_process_sighand()
227 assert!(spin_is_locked(unsafe { &(*pcb.sighand).siglock })); in __send_signal_locked()
378 assert!(spin_is_locked(&unsafe { (*pcb.sighand).siglock })); in signal_wake_up_state()
447 spin_lock_irq(&mut sighand.siglock); in get_signal_to_deliver()
454 spin_unlock_irq(unsafe { (&mut (*current_pcb().sighand).siglock) as *mut spinlock_t }); in get_signal_to_deliver()
477 spin_unlock_irq(&mut sighand.siglock); in get_signal_to_deliver()
485 spin_unlock_irq(&mut sighand.siglock); in get_signal_to_deliver()
797 spin_lock_irq(unsafe { &mut (*(pcb.sighand)).siglock }); in do_sigaction()
800 spin_unlock_irq(unsafe { &mut (*(pcb.sighand)).siglock }); in do_sigaction()
[all …]
Dsignal_types.rs231 pub siglock: spinlock_t, field
239 siglock: Default::default(), in default()
/DragonOS-0.1.8/kernel/src/process/
Dinitial_proc.rs22 siglock: spinlock_t { lock: 1 },
Dfork.rs49 spin_lock_irqsave(unsafe { &mut (*current_pcb().sighand).siglock }, &mut flags); in process_copy_sighand()
67 spin_unlock_irqrestore(unsafe { &mut (*current_pcb().sighand).siglock }, flags); in process_copy_sighand()
/DragonOS-0.1.8/kernel/src/include/DragonOS/
Dsignal.h132 spinlock_t siglock; member