/DragonOS-0.1.5/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.5/docs/kernel/core_api/ |
D | mm-api.md | 126 ### `int mm_map_phys_addr(ul virt_addr_start, ul phys_addr_start, ul length, ul flags, bool use4k)` 154 …ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul phys_addr_start, ul length, ul flags… 203 ### `void mm_unmap_proc_table(ul proc_page_table_addr, bool is_phys, ul virt_addr_start, ul length)`
|
D | data_structures.md | 323 `bool ida_count(struct ida *ida_p, int id)` 669 `bool idr_count(struct idr *idp, int id)`
|
/DragonOS-0.1.5/kernel/src/libs/ |
D | spinlock.rs | 34 pub fn spin_is_locked(lock: &spinlock_t) -> bool { in spin_is_locked() argument 87 pub fn try_lock(&self) -> bool { in try_lock() argument 120 pub fn is_locked(&self) -> bool { in is_locked() argument 126 pub unsafe fn set_value(&mut self, value: bool) { in set_value() argument
|
D | mutex.rs | 21 is_locked: bool, 135 fn check_pid_in_wait_list(&self, inner: &MutexInner, pid: pid_t) -> bool { in check_pid_in_wait_list() argument
|
D | wait_queue.rs | 111 pub fn wakeup(&self, state: u64) -> bool { in wakeup() argument
|
/DragonOS-0.1.5/kernel/src/driver/timers/rtc/ |
D | rtc.rs | 38 let is_24h: bool = if (status_register_b & 0x02) != 0 { in get() 44 let is_binary: bool = if (status_register_b & 0x04) != 0 { in get()
|
/DragonOS-0.1.5/docs/kernel/process_management/ |
D | kthread.md | 104   `bool kthread_should_stop(void)` 112   一个bool变量
|
/DragonOS-0.1.5/kernel/src/process/ |
D | pid.rs | 17 fn eq(&self, other: &PidType) -> bool { in eq() argument
|
D | process.rs | 22 pub extern "C" fn process_is_stopped(pcb: *const process_control_block) -> bool { in process_is_stopped() argument 44 ) -> bool { in process_try_to_wake_up() argument 82 pub extern "C" fn process_wake_up_state(pcb: *mut process_control_block, state: u64) -> bool { in process_wake_up_state() argument 107 pub fn process_is_executing(pcb: *const process_control_block) -> bool { in process_is_executing() argument
|
/DragonOS-0.1.5/kernel/src/filesystem/fat/ |
D | entry.rs | 383 pub fn is_root(&self) -> bool { in is_root() argument 495 expect_dir: Option<bool>, in find_entry() argument 663 expect_dir: Option<bool>, in check_existence() argument 755 pub fn is_empty(&self, fs: Arc<FATFileSystem>) -> bool { in is_empty() argument 779 remove_clusters: bool, in remove() argument 899 pub fn contains(&self, attr: u8) -> bool { in contains() argument 1021 pub fn is_last(&self) -> bool { in is_last() argument 1119 pub fn is_dir(&self) -> bool { in is_dir() argument 1128 pub fn is_file(&self) -> bool { in is_file() argument 1137 pub fn is_volume_id(&self) -> bool { in is_volume_id() argument [all …]
|
D | fs.rs | 54 fn eq(&self, other: &Self) -> bool { in eq() argument 223 dirty: bool, 680 pub fn mirroring_enabled(&self) -> bool { in mirroring_enabled() argument 767 pub fn is_shut_bit_ok(&mut self) -> Result<bool, i32> { in is_shut_bit_ok() argument 790 pub fn is_hard_error_bit_ok(&mut self) -> Result<bool, i32> { in is_hard_error_bit_ok() argument 1233 fn is_valid(&self) -> bool { in is_valid() argument
|
/DragonOS-0.1.5/kernel/src/ipc/ |
D | signal_types.rs | 126 pub fn ignored(&self, _sig: SignalNumber) -> bool { in ignored() argument 339 fn eq(&self, other: &SignalNumber) -> bool { in eq() argument 357 fn valid_signal_number(x: i32) -> bool { in valid_signal_number() argument 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() argument 620 pub fn sig_is_member(set: &sigset_t, _sig: SignalNumber) -> bool { in sig_is_member() argument
|
D | signal.rs | 149 fn verify_signal(sig: SignalNumber) -> bool { in verify_signal() argument 261 _force_send: bool, in __send_signal_locked() argument 349 fn wants_signal(sig: SignalNumber, pcb: &process_control_block) -> bool { in wants_signal() argument 378 fn sig_fatal(pcb: &process_control_block, sig: SignalNumber) -> bool { in sig_fatal() argument 397 fn has_sig_pending(pcb: &process_control_block) -> bool { in has_sig_pending() argument 407 fn signal_wake_up(pcb: &mut process_control_block, fatal: bool) { in signal_wake_up() argument 763 fn restore_sigcontext(context: *const sigcontext, regs: &mut pt_regs) -> bool { in restore_sigcontext() argument 780 pub fn flush_signal_handlers(pcb: *mut process_control_block, force_default: bool) { in flush_signal_handlers() argument
|
/DragonOS-0.1.5/kernel/src/io/ |
D | device.rs | 183 pub multiblock: bool, // 是否启用连续整块同时遍历 288 pub fn is_empty(&self) -> bool { in is_empty() argument 295 pub fn is_full(&self) -> bool { in is_full() argument 299 pub fn is_multi(&self) -> bool { in is_multi() argument
|
/DragonOS-0.1.5/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.5/docs/kernel/boot/ |
D | multiboot2.md | 22 void multiboot2_iter(bool (*_fun)(const struct iter_data_t *, void *, unsigned int *),
|
/DragonOS-0.1.5/kernel/src/driver/uart/ |
D | uart.rs | 138 fn serial_received(offset: u16) -> bool { in serial_received() argument 146 fn is_transmit_empty(offset: u16) -> bool { in is_transmit_empty() argument
|
/DragonOS-0.1.5/kernel/src/exception/ |
D | softirq.rs | 173 pub fn is_running(&mut self, softirq_num: u32) -> bool { in is_running() argument 180 pub fn is_pending(&mut self, softirq_num: u32) -> bool { in is_pending() argument
|
/DragonOS-0.1.5/kernel/src/driver/pci/ |
D | pci.rs | 137 pub fn valid(&self) -> bool { in valid() argument 191 prefetchable: bool,
|
/DragonOS-0.1.5/docs/kernel/locking/ |
D | mutex.md | 38 is_locked: bool,
|
/DragonOS-0.1.5/kernel/src/sched/ |
D | core.rs | 105 pub extern "C" fn sched_enqueue(pcb: &'static mut process_control_block, mut reset_time: bool) { in sched_enqueue() argument
|
/DragonOS-0.1.5/kernel/src/driver/virtio/ |
D | transport_pci.rs | 319 fn queue_used(&mut self, queue: u16) -> bool { in queue_used() argument 328 fn ack_interrupt(&mut self) -> bool { in ack_interrupt() argument
|
/DragonOS-0.1.5/kernel/src/filesystem/vfs/ |
D | file.rs | 323 pub fn validate_fd(fd: i32) -> bool { in validate_fd() argument
|