Searched defs:bool (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.3/kernel/src/process/ |
D | process.rs | 16 pub extern "C" fn process_is_stopped(pcb: *const process_control_block) -> bool { in process_is_stopped() 38 ) -> bool { in process_try_to_wake_up() 75 pub extern "C" fn process_wake_up_state(pcb: *mut process_control_block, state: u64) -> bool { in process_wake_up_state() 100 pub fn process_is_executing(pcb: *const process_control_block) -> bool { in process_is_executing()
|
D | pid.rs | 17 fn eq(&self, other: &PidType) -> bool { in eq()
|
/DragonOS-0.1.3/kernel/src/arch/x86_64/asm/ |
D | cmpxchg.rs | 3 fn __try_cmpxchg_q(ptr: *mut u64, old_ptr: *mut u64, new_ptr: *mut u64) -> bool; in __try_cmpxchg_q() 9 pub unsafe fn try_cmpxchg_q(ptr: *mut u64, old_ptr: *mut u64, new_ptr: *mut u64) -> bool { in try_cmpxchg_q()
|
D | ptrace.rs | 6 pub fn user_mode(regs: *const pt_regs)->bool{ in user_mode()
|
/DragonOS-0.1.3/kernel/src/libs/ |
D | spinlock.rs | 32 pub fn spin_is_locked(lock: &spinlock_t) -> bool { in spin_is_locked() 85 pub fn try_lock(&mut self) -> bool { in try_lock() 118 pub fn is_locked(&self)->bool in is_locked() 125 pub unsafe fn set_value(&mut self, value:bool){ in set_value()
|
/DragonOS-0.1.3/kernel/src/ipc/ |
D | signal.rs | 149 fn verify_signal(sig: SignalNumber) -> bool { in verify_signal() 261 _force_send: bool, in __send_signal_locked() 349 fn wants_signal(sig: SignalNumber, pcb: &process_control_block) -> bool { in wants_signal() 378 fn sig_fatal(pcb: &process_control_block, sig: SignalNumber) -> bool { in sig_fatal() 397 fn has_sig_pending(pcb: &process_control_block) -> bool { in has_sig_pending() 407 fn signal_wake_up(pcb: &mut process_control_block, fatal: bool) { in signal_wake_up() 763 fn restore_sigcontext(context: *const sigcontext, regs: &mut pt_regs) -> bool { in restore_sigcontext() 780 pub fn flush_signal_handlers(pcb: *mut process_control_block, force_default: bool) { in flush_signal_handlers()
|
D | signal_types.rs | 126 pub fn ignored(&self, _sig: SignalNumber) -> bool { in ignored() 339 fn eq(&self, other: &SignalNumber) -> bool { in eq() 357 fn valid_signal_number(x: i32) -> bool { in valid_signal_number() 482 pub fn find(&self, sig: SignalNumber) -> (Option<&siginfo>, bool) { in find() argument 503 pub fn find_and_delete(&mut self, sig: SignalNumber) -> (Option<siginfo>, bool) { in find_and_delete() argument 596 pub fn sigset_equal(a: &sigset_t, b: &sigset_t) -> bool { in sigset_equal() 620 pub fn sig_is_member(set: &sigset_t, _sig: SignalNumber) -> bool { in sig_is_member()
|
/DragonOS-0.1.3/kernel/src/driver/uart/ |
D | uart.rs | 135 fn serial_received(offset: u16) -> bool { in serial_received() 143 fn is_transmit_empty(offset: u16) -> bool { in is_transmit_empty()
|
/DragonOS-0.1.3/kernel/src/exception/ |
D | softirq.rs | 173 pub fn is_running(&mut self, softirq_num: u32) -> bool { in is_running() 180 pub fn is_pending(&mut self, softirq_num: u32) -> bool { in is_pending()
|