/DragonOS-0.1.8/kernel/src/libs/ |
D | keyboard_parser.rs | 305 let mut col: bool = false; in handle_type3() 438 shift_l: bool, 439 shift_r: bool, 441 ctrl_l: bool, 442 ctrl_r: bool, 444 alt_l: bool, 445 alt_r: bool, 447 gui_l: bool, 448 gui_r: bool, 450 apps: bool, [all …]
|
D | spinlock.rs | 35 pub fn spin_is_locked(lock: &spinlock_t) -> bool { in spin_is_locked() argument 88 pub fn try_lock(&self) -> bool { in try_lock() argument 126 pub fn is_locked(&self) -> bool { in is_locked() argument 132 pub unsafe fn set_value(&mut self, value: bool) { in set_value() argument 152 pub fn try_lock_irqsave(&self, flags: &mut usize) -> bool { in try_lock_irqsave() argument
|
D | mutex.rs | 22 is_locked: bool, 136 fn check_pid_in_wait_list(&self, inner: &MutexInner, pid: pid_t) -> bool { in check_pid_in_wait_list() argument
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | mod.rs | 105 pub fn input(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in input() 122 pub fn output(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in output() 133 pub fn stdout(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in stdout() 144 pub fn stderr(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in stderr() 155 pub fn read_stdin(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in read_stdin() 185 fn stdin_should_return(&self, c: u8) -> bool { in stdin_should_return() argument 199 fn write_stdin(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in write_stdin() 231 fn read_output(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in read_output() 264 fn write_output(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in write_output() 309 pub fn echo_enabled(&self) -> bool { in echo_enabled() argument
|
/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() argument 9 pub unsafe fn try_cmpxchg_q(ptr: *mut u64, old_ptr: *mut u64, new_ptr: *mut u64) -> bool { in try_cmpxchg_q() argument
|
D | ptrace.rs | 6 pub fn user_mode(regs: *const pt_regs) -> bool { in user_mode() argument
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | page.rs | 121 pub fn entry_mapped(&self, i: usize) -> Option<bool> { in entry_mapped() argument 221 pub fn present(&self) -> bool { in present() argument 261 pub fn from_prot_flags(prot_flags: ProtFlags, user: bool) -> PageFlags<Arch> { in from_prot_flags() 291 pub fn new_page_table(user: bool) -> Self { in new_page_table() 313 pub fn update_flags(mut self, flag: usize, value: bool) -> Self { in update_flags() 324 pub fn has_flag(&self, flag: usize) -> bool { in has_flag() argument 329 pub fn present(&self) -> bool { in present() argument 338 pub fn set_user(self, value: bool) -> Self { in set_user() 344 pub fn has_user(&self) -> bool { in has_user() argument 357 pub fn set_write(self, value: bool) -> Self { in set_write() [all …]
|
D | mod.rs | 107 pub fn check_aligned(&self, align: usize) -> bool { in check_aligned() argument 112 pub fn is_null(&self) -> bool { in is_null() argument 216 pub fn check_aligned(&self, align: usize) -> bool { in check_aligned() argument 222 pub fn check_user(&self) -> bool { in check_user() argument 236 pub fn is_null(&self) -> bool { in is_null() argument 453 fn virt_is_valid(virt: VirtAddr) -> bool; in virt_is_valid() argument 530 pub fn is_empty(&self) -> bool { in is_empty() argument 542 pub fn collide(&self, other: &VirtRegion) -> bool { in collide() argument 583 pub fn contains(&self, addr: VirtAddr) -> bool { in contains() argument
|
D | kernel_mapper.rs | 31 readonly: bool, 104 flush: bool, in map_phys_with_size() argument
|
/DragonOS-0.1.8/kernel/src/process/ |
D | pid.rs | 15 fn eq(&self, other: &PidType) -> bool { in eq() argument
|
D | process.rs | 31 pub extern "C" fn process_is_stopped(pcb: *const process_control_block) -> bool { in process_is_stopped() argument 53 ) -> bool { in process_try_to_wake_up() argument 91 pub extern "C" fn process_wake_up_state(pcb: *mut process_control_block, state: u64) -> bool { in process_wake_up_state() argument 116 pub fn process_is_executing(pcb: *const process_control_block) -> bool { in process_is_executing() argument
|
/DragonOS-0.1.8/kernel/src/driver/base/platform/ |
D | platform_device.rs | 19 fn is_initialized(&self) -> bool; in is_initialized() argument
|
/DragonOS-0.1.8/docs/kernel/process_management/ |
D | kthread.md | 104   `bool kthread_should_stop(void)` 112   一个bool变量
|
/DragonOS-0.1.8/kernel/src/driver/timers/rtc/ |
D | rtc.rs | 40 let is_24h: bool = if (status_register_b & 0x02) != 0 { in get() 46 let is_binary: bool = if (status_register_b & 0x04) != 0 { in get()
|
/DragonOS-0.1.8/kernel/src/sched/ |
D | syscall.rs | 13 pub fn sched(from_user: bool) -> Result<usize, SystemError> { in sched()
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | entry.rs | 399 pub fn is_root(&self) -> bool { in is_root() argument 511 expect_dir: Option<bool>, in find_entry() argument 679 expect_dir: Option<bool>, in check_existence() argument 771 pub fn is_empty(&self, fs: Arc<FATFileSystem>) -> bool { in is_empty() argument 795 remove_clusters: bool, in remove() argument 919 pub fn contains(&self, attr: u8) -> bool { in contains() argument 1041 pub fn is_last(&self) -> bool { in is_last() argument 1139 pub fn is_dir(&self) -> bool { in is_dir() argument 1148 pub fn is_file(&self) -> bool { in is_file() argument 1157 pub fn is_volume_id(&self) -> bool { in is_volume_id() argument [all …]
|
/DragonOS-0.1.8/kernel/src/exception/ |
D | mod.rs | 13 fn is_irq_enabled() -> bool; in is_irq_enabled()
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | signal_types.rs | 127 pub fn ignored(&self, _sig: SignalNumber) -> bool { in ignored() argument 340 fn eq(&self, other: &SignalNumber) -> bool { in eq() argument 358 fn valid_signal_number(x: i32) -> bool { in valid_signal_number() argument 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() argument 621 pub fn sig_is_member(set: &sigset_t, _sig: SignalNumber) -> bool { in sig_is_member() argument
|
D | signal.rs | 110 fn verify_signal(sig: SignalNumber) -> bool { in verify_signal() argument 222 _force_send: bool, in __send_signal_locked() argument 310 fn wants_signal(sig: SignalNumber, pcb: &process_control_block) -> bool { in wants_signal() argument 339 fn sig_fatal(pcb: &process_control_block, sig: SignalNumber) -> bool { in sig_fatal() argument 358 fn has_sig_pending(pcb: &process_control_block) -> bool { in has_sig_pending() argument 368 fn signal_wake_up(pcb: &mut process_control_block, fatal: bool) { in signal_wake_up() argument 746 fn restore_sigcontext(context: *const sigcontext, regs: &mut pt_regs) -> bool { in restore_sigcontext() argument 767 pub fn flush_signal_handlers(pcb: *mut process_control_block, force_default: bool) { in flush_signal_handlers() argument
|
/DragonOS-0.1.8/kernel/src/driver/video/ |
D | mod.rs | 38 fn set_run(&self) -> bool { in set_run() argument
|
/DragonOS-0.1.8/kernel/src/io/ |
D | device.rs | 193 pub multiblock: bool, // 是否启用连续整块同时遍历 298 pub fn is_empty(&self) -> bool { in is_empty() argument 305 pub fn is_full(&self) -> bool { in is_full() argument 309 pub fn is_multi(&self) -> bool { in is_multi() argument
|
/DragonOS-0.1.8/kernel/src/net/ |
D | mod.rs | 159 fn poll(&self) -> (bool, bool, bool) { in poll() argument
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/interrupt/ |
D | mod.rs | 41 fn is_irq_enabled() -> bool { in is_irq_enabled()
|
/DragonOS-0.1.8/kernel/src/time/ |
D | timekeep.rs | 30 let leap: bool = (year % 4 == 0) && (year % 100 != 0) || (year % 400 == 0); in ktime_get_real()
|
/DragonOS-0.1.8/docs/kernel/boot/ |
D | multiboot2.md | 22 void multiboot2_iter(bool (*_fun)(const struct iter_data_t *, void *, unsigned int *),
|