/DragonOS-0.1.8/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.8/kernel/src/libs/ |
D | spinlock.rs | 35 pub fn spin_is_locked(lock: &spinlock_t) -> bool { in spin_is_locked() 88 pub fn try_lock(&self) -> bool { in try_lock() 126 pub fn is_locked(&self) -> bool { in is_locked() 132 pub unsafe fn set_value(&mut self, value: bool) { in set_value() 152 pub fn try_lock_irqsave(&self, flags: &mut usize) -> bool { in try_lock_irqsave()
|
D | rbtree.rs | 85 fn eq(&self, other: &NodePtr<K, V>) -> bool { in eq() 134 fn is_red_color(&self) -> bool { in is_red_color() 142 fn is_black_color(&self) -> bool { in is_black_color() 150 fn is_left_child(&self) -> bool { in is_left_child() 155 fn is_right_child(&self) -> bool { in is_right_child() 267 fn is_null(&self) -> bool { in is_null() 418 fn eq(&self, other: &RBTree<K, V>) -> bool { in eq() 858 pub fn is_empty(&self) -> bool { in is_empty() 1182 pub fn contains_key(&self, k: &K) -> bool { in contains_key()
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | signal.rs | 110 fn verify_signal(sig: SignalNumber) -> bool { in verify_signal() 222 _force_send: bool, in __send_signal_locked() 310 fn wants_signal(sig: SignalNumber, pcb: &process_control_block) -> bool { in wants_signal() 339 fn sig_fatal(pcb: &process_control_block, sig: SignalNumber) -> bool { in sig_fatal() 358 fn has_sig_pending(pcb: &process_control_block) -> bool { in has_sig_pending() 368 fn signal_wake_up(pcb: &mut process_control_block, fatal: bool) { in signal_wake_up() 746 fn restore_sigcontext(context: *const sigcontext, regs: &mut pt_regs) -> bool { in restore_sigcontext() 767 pub fn flush_signal_handlers(pcb: *mut process_control_block, force_default: bool) { in flush_signal_handlers()
|
D | signal_types.rs | 127 pub fn ignored(&self, _sig: SignalNumber) -> bool { in ignored() 340 fn eq(&self, other: &SignalNumber) -> bool { in eq() 358 fn valid_signal_number(x: i32) -> bool { in valid_signal_number() 483 pub fn find(&self, sig: SignalNumber) -> (Option<&siginfo>, bool) { in find() argument 504 pub fn find_and_delete(&mut self, sig: SignalNumber) -> (Option<siginfo>, bool) { in find_and_delete() argument 597 pub fn sigset_equal(a: &sigset_t, b: &sigset_t) -> bool { in sigset_equal() 621 pub fn sig_is_member(set: &sigset_t, _sig: SignalNumber) -> bool { in sig_is_member()
|
D | syscall.rs | 87 _from_user: bool, in sigaction()
|
/DragonOS-0.1.8/kernel/src/process/ |
D | process.rs | 31 pub extern "C" fn process_is_stopped(pcb: *const process_control_block) -> bool { in process_is_stopped() 53 ) -> bool { in process_try_to_wake_up() 91 pub extern "C" fn process_wake_up_state(pcb: *mut process_control_block, state: u64) -> bool { in process_wake_up_state() 116 pub fn process_is_executing(pcb: *const process_control_block) -> bool { in process_is_executing()
|
D | pid.rs | 15 fn eq(&self, other: &PidType) -> bool { in eq()
|
D | fork.rs | 150 pub fn copy_mm(clone_vm: bool, new_pcb: &mut process_control_block) -> Result<(), SystemError> { in copy_mm()
|
D | c_adapter.rs | 19 pub extern "C" fn rs_process_copy_mm(clone_vm: bool, new_pcb: &mut process_control_block) -> usize { in rs_process_copy_mm()
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | entry.rs | 399 pub fn is_root(&self) -> bool { in is_root() 511 expect_dir: Option<bool>, in find_entry() 679 expect_dir: Option<bool>, in check_existence() 771 pub fn is_empty(&self, fs: Arc<FATFileSystem>) -> bool { in is_empty() 795 remove_clusters: bool, in remove() 919 pub fn contains(&self, attr: u8) -> bool { in contains() 1041 pub fn is_last(&self) -> bool { in is_last() 1139 pub fn is_dir(&self) -> bool { in is_dir() 1148 pub fn is_file(&self) -> bool { in is_file() 1157 pub fn is_volume_id(&self) -> bool { in is_volume_id() [all …]
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | page.rs | 121 pub fn entry_mapped(&self, i: usize) -> Option<bool> { in entry_mapped() 221 pub fn present(&self) -> bool { in present() 324 pub fn has_flag(&self, flag: usize) -> bool { in has_flag() 329 pub fn present(&self) -> bool { in present() 344 pub fn has_user(&self) -> bool { in has_user() 366 pub fn has_write(&self) -> bool { in has_write() 392 pub fn has_execute(&self) -> bool { in has_execute() 414 pub fn has_page_cache_disable(&self) -> bool { in has_page_cache_disable() 434 pub fn has_page_write_through(&self) -> bool { in has_page_write_through() 512 pub fn is_current(&self) -> bool { in is_current() [all …]
|
D | mod.rs | 107 pub fn check_aligned(&self, align: usize) -> bool { in check_aligned() 112 pub fn is_null(&self) -> bool { in is_null() 216 pub fn check_aligned(&self, align: usize) -> bool { in check_aligned() 222 pub fn check_user(&self) -> bool { in check_user() 236 pub fn is_null(&self) -> bool { in is_null() 453 fn virt_is_valid(virt: VirtAddr) -> bool; in virt_is_valid() 530 pub fn is_empty(&self) -> bool { in is_empty() 542 pub fn collide(&self, other: &VirtRegion) -> bool { in collide() 583 pub fn contains(&self, addr: VirtAddr) -> bool { in contains()
|
D | ucontext.rs | 74 pub fn is_current(self: &Arc<Self>) -> bool { in is_current() 223 pub fn is_current(&self) -> bool { in is_current() 242 round_to_min: bool, in map_anonymous() 795 fn eq(&self, other: &Self) -> bool { in eq() 868 pub fn mapped(&self) -> bool { in mapped() 1016 pub fn can_have_flags(&self, prot_flags: ProtFlags) -> bool { in can_have_flags() 1144 fn eq(&self, other: &Self) -> bool { in eq()
|
/DragonOS-0.1.8/kernel/src/driver/base/platform/ |
D | platform_device.rs | 19 fn is_initialized(&self) -> bool; in is_initialized()
|
D | mod.rs | 40 pub fn matches(&self, other: &CompatibleTable) -> bool { in matches() 256 fn is_empty(&self) -> bool { in is_empty() 292 fn is_initialized(&self) -> bool { in is_initialized()
|
/DragonOS-0.1.8/kernel/src/driver/video/ |
D | mod.rs | 38 fn set_run(&self) -> bool { in set_run()
|
/DragonOS-0.1.8/kernel/src/net/ |
D | mod.rs | 159 fn poll(&self) -> (bool, bool, bool) { in poll()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | file.rs | 326 pub fn close_on_exec(&self) -> bool { in close_on_exec() 332 pub fn set_close_on_exec(&mut self, close_on_exec: bool) { in set_close_on_exec() 434 pub fn validate_fd(fd: i32) -> bool { in validate_fd()
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | mod.rs | 185 fn stdin_should_return(&self, c: u8) -> bool { in stdin_should_return() 309 pub fn echo_enabled(&self) -> bool { in echo_enabled()
|
/DragonOS-0.1.8/kernel/src/sched/ |
D | core.rs | 103 pub extern "C" fn sched_enqueue(pcb: &'static mut process_control_block, mut reset_time: bool) { in sched_enqueue()
|
/DragonOS-0.1.8/kernel/src/io/ |
D | device.rs | 298 pub fn is_empty(&self) -> bool { in is_empty() 305 pub fn is_full(&self) -> bool { in is_full() 309 pub fn is_multi(&self) -> bool { in is_multi()
|
/DragonOS-0.1.8/kernel/src/driver/uart/ |
D | uart.rs | 135 fn is_initialized(&self) -> bool { in is_initialized() 322 fn serial_received(offset: u16) -> bool { in serial_received() 330 fn is_transmit_empty(offset: u16) -> bool { in is_transmit_empty()
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/ |
D | mod.rs | 188 fn virt_is_valid(virt: VirtAddr) -> bool { in virt_is_valid() 284 pub fn is_canonical(self) -> bool { in is_canonical() 608 pub unsafe fn unmap_at_low_address(flush: bool) { in unmap_at_low_address()
|