/DragonOS/kernel/src/ipc/ |
H A D | signal.rs | 20 interruptible: bool, in signal_pending_state() 21 task_wake_kill: bool, in signal_pending_state() 23 ) -> bool { in signal_pending_state() 36 pub fn fatal_signal_pending(pcb: &Arc<ProcessControlBlock>) -> bool { in fatal_signal_pending() 220 fn wants_signal(&self, pcb: Arc<ProcessControlBlock>) -> bool { in wants_signal() 249 fn sig_fatal(&self, pcb: Arc<ProcessControlBlock>) -> bool { in sig_fatal() 272 fn prepare_sianal(&self, pcb: Arc<ProcessControlBlock>, _force: bool) -> bool { in prepare_sianal() 313 fn signal_wake_up(pcb: Arc<ProcessControlBlock>, _guard: SpinLockGuard<SignalStruct>, fatal: bool) { in signal_wake_up() 363 pub fn flush_signal_handlers(pcb: Arc<ProcessControlBlock>, force_default: bool) { in flush_signal_handlers()
|
H A D | signal_types.rs | 132 pub fn is_ignore(&self) -> bool { in is_ignore() 138 pub fn is_customized(&self) -> bool { in is_customized() 167 pub fn is_sig_default(&self) -> bool { in is_sig_default() 174 pub fn is_sig_ignore(&self) -> bool { in is_sig_ignore() 181 pub fn is_sig_error(&self) -> bool { in is_sig_error() 219 pub fn is_ignore(&self) -> bool { in is_ignore() 371 pub fn has_pending(&self) -> bool { in has_pending() 480 pub fn find(&self, sig: Signal) -> (Option<&SigInfo>, bool) { in find() argument 501 pub fn find_and_delete(&mut self, sig: Signal) -> (Option<SigInfo>, bool) { in find_and_delete() argument
|
/DragonOS/kernel/src/exception/ |
H A D | irqdata.rs | 93 pub fn is_level_type(&self) -> bool { in is_level_type() 103 pub fn is_wakeup_set(&self) -> bool { in is_wakeup_set() 237 pub fn masked(&self) -> bool { in masked() 266 pub fn disabled(&self) -> bool { in disabled() 430 pub fn is_level_type(&self) -> bool { in is_level_type() 441 pub fn is_level_high(&self) -> Option<bool> { in is_level_high() 449 pub fn is_per_cpu_devid(&self) -> bool { in is_per_cpu_devid() 519 pub const fn is_set_affinity_pending(&self) -> bool { in is_set_affinity_pending() 523 pub const fn is_per_cpu(&self) -> bool { in is_per_cpu() 527 pub const fn can_balance(&self) -> bool { in can_balance() [all …]
|
H A D | dummychip.rs | 45 fn can_mask_ack(&self) -> bool { in can_mask_ack() 53 fn can_set_affinity(&self) -> bool { in can_set_affinity() 57 fn can_set_flow_type(&self) -> bool { in can_set_flow_type() 94 fn can_mask_ack(&self) -> bool { in can_mask_ack() 102 fn can_set_flow_type(&self) -> bool { in can_set_flow_type() 106 fn can_set_affinity(&self) -> bool { in can_set_affinity()
|
/DragonOS/kernel/crates/intertrait/src/cast/ |
H A D | cast_ref.rs | 60 fn impls<T: ?Sized + 'static>(&self) -> bool; in impls() 73 fn impls<T: ?Sized + 'static>(&self) -> bool { in impls() 79 fn impls<T: ?Sized + 'static>(&self) -> bool { in impls()
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | ioapic.rs | 201 level_triggered: bool, in install() 202 active_high: bool, in install() 203 dest_logic: bool, in install() 204 mut mask: bool, in install() 272 pub fn pending(&mut self, irq: u8) -> bool { in pending() 346 level_triggered: bool, in new() 347 active_high: bool, in new() 348 dest_logic: bool, in new() 349 mask: bool, in new() 430 fn register_handler(desc: &Arc<IrqDesc>, level_triggered: bool) { in register_handler() [all …]
|
H A D | mod.rs | 53 fn init_current_cpu(&mut self) -> bool; in init_current_cpu() 62 fn support_eoi_broadcast_suppression(&self) -> bool; in support_eoi_broadcast_suppression() 232 pub fn set_interrupt_input_pin_polarity(&mut self, high: bool) { in set_interrupt_input_pin_polarity() 244 pub fn interrupt_input_pin_polarity(&self) -> bool { in interrupt_input_pin_polarity() 294 pub fn set_mask(&mut self, mask: bool) { in set_mask() 305 pub fn mask(&self) -> bool { in mask() 452 pub fn x2apic_enabled(&self) -> bool { in x2apic_enabled() 484 fn init_current_cpu(&mut self) -> bool { in init_current_cpu() 544 fn support_eoi_broadcast_suppression(&self) -> bool { in support_eoi_broadcast_suppression()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | console.rs | 16 init: bool, in con_init() 102 _blink: bool, in con_build_attr() 103 _underline: bool, in con_build_attr() 104 _reverse: bool, in con_build_attr() 105 _italic: bool, in con_build_attr() 133 ) -> bool; in con_scroll()
|
/DragonOS/kernel/crates/bitmap/src/ |
H A D | static_bitmap.rs | 44 fn get(&self, index: usize) -> Option<bool> { in get() 49 fn set(&mut self, index: usize, value: bool) -> Option<bool> { in set() 109 fn is_full(&self) -> bool { in is_full() 114 fn is_empty(&self) -> bool { in is_empty() 126 fn set_all(&mut self, value: bool) { in set_all()
|
H A D | traits.rs | 7 fn get(bits: &Self, index: usize) -> bool; in get() 8 fn set(bits: &mut Self, index: usize, value: bool) -> bool; in set() 219 fn get(&self, index: usize) -> Option<bool>; in get() 233 fn set(&mut self, index: usize, value: bool) -> Option<bool>; in set() 236 fn set_all(&mut self, value: bool); in set_all() 302 fn is_full(&self) -> bool; in is_full() 305 fn is_empty(&self) -> bool; in is_empty()
|
H A D | alloc_bitmap.rs | 33 fn get(&self, index: usize) -> Option<bool> { in get() 38 fn set(&mut self, index: usize, value: bool) -> Option<bool> { in set() 98 fn is_full(&self) -> bool { in is_full() 103 fn is_empty(&self) -> bool { in is_empty() 115 fn set_all(&mut self, value: bool) { in set_all()
|
H A D | bitmap_core.rs | 18 pub(crate) fn get(&self, n: usize, data: &[T], index: usize) -> Option<bool> { in get() 33 pub(crate) fn set(&self, n: usize, data: &mut [T], index: usize, value: bool) -> Option<bool> { in set() 46 pub(crate) fn set_all(&self, n: usize, data: &mut [T], value: bool) { in set_all() 225 pub(crate) fn is_full(&self, n: usize, data: &[T]) -> bool { in is_full() 248 pub(crate) fn is_empty(&self, data: &[T]) -> bool { in is_empty()
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | pkru.rs | 29 pub fn pkru_allows_pkey(pkey: u16, write: bool) -> bool { in pkru_allows_pkey() 42 pub fn pkru_allows_read(pkru: u32, pkey: u16) -> bool { in pkru_allows_read() 47 pub fn pkru_allows_write(pkru: u32, pkey: u16) -> bool { in pkru_allows_write()
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | dd.rs | 47 pub fn device_attach(&self, dev: &Arc<dyn Device>) -> Result<bool, SystemError> { in device_attach() 51 pub fn device_initial_probe(&self, dev: &Arc<dyn Device>) -> Result<bool, SystemError> { in device_initial_probe() 59 allow_async: bool, in do_device_attach() 60 ) -> Result<bool, SystemError> { in do_device_attach() 151 ) -> Result<bool, SystemError> { in do_device_attach_driver() 189 pub fn device_is_bound(&self, dev: &Arc<dyn Device>) -> bool { in device_is_bound() 267 pub fn new(dev: Arc<dyn Device>, check_async: bool, want_async: bool) -> Self { in new() 302 fn do_driver_attach(&self, device: &Arc<dyn Device>, driver: &Arc<dyn Driver>) -> bool { in do_driver_attach() 328 ) -> Result<bool, SystemError> { in match_device() 576 fn driver_is_bound(&self, device: &Arc<dyn Device>) -> bool { in driver_is_bound()
|
/DragonOS/kernel/src/driver/video/console/ |
H A D | dummycon.rs | 48 _blink: bool, in con_build_attr() 49 _underline: bool, in con_build_attr() 50 _reverse: bool, in con_build_attr() 51 _italic: bool, in con_build_attr() 59 init: bool, in con_init() 132 ) -> bool { in con_scroll()
|
/DragonOS/kernel/src/driver/pci/ |
H A D | dev_id.rs | 44 pub fn match_dev(&self, dev: &Arc<dyn PciDevice>) -> bool { in match_dev() 57 pub fn general_match(&self, id: PciDeviceID) -> bool { in general_match() 69 pub fn class_check(&self, id: &Self) -> bool { in class_check() 102 pub fn match_dev(&self, data: Option<Self>) -> bool { in match_dev()
|
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ |
H A D | mmu.rs | 106 prefault: bool, in tdp_page_fault() 208 _map_writable: bool, in __direct_map() 212 _prefault: bool, in __direct_map() 231 _prefault: bool, in mmu_gfn_to_pfn_fast() 233 write: bool, in mmu_gfn_to_pfn_fast() 234 writable: &mut bool, in mmu_gfn_to_pfn_fast()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_device.rs | 56 fn pdev_id(&self) -> (i32, bool) { in pdev_id() argument 63 fn set_pdev_id_auto(&self, id_auto: bool); in set_pdev_id_auto() 69 fn is_initialized(&self) -> bool; in is_initialized() 165 fn is_initialized(&self) -> bool { in is_initialized() 301 fn is_dead(&self) -> bool { in is_dead() 309 fn can_match(&self) -> bool { in can_match() 313 fn set_can_match(&self, _can_match: bool) { in set_can_match() 317 fn state_synced(&self) -> bool { in state_synced()
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_device.rs | 97 fn is_dead(&self) -> bool { in is_dead() 101 fn can_match(&self) -> bool { in can_match() 105 fn set_can_match(&self, _can_match: bool) {} in set_can_match() 107 fn state_synced(&self) -> bool { in state_synced() 187 fn set_pdev_id_auto(&self, id_auto: bool) { in set_pdev_id_auto() 191 fn is_initialized(&self) -> bool { in is_initialized()
|
/DragonOS/kernel/src/mm/ |
H A D | page.rs | 77 pub fn contains(&self, paddr: &PhysAddr) -> bool { in contains() 223 pub fn page_writeback(page: &Arc<Page>, unmap: bool) { in page_writeback() 314 pub fn new(shared: bool, phys_addr: PhysAddr) -> Self { in new() 353 pub fn new(shared: bool, phys_addr: PhysAddr) -> Self { in new() 381 pub fn can_deallocate(&self) -> bool { in can_deallocate() 385 pub fn shared(&self) -> bool { in shared() 422 pub fn set_dealloc_when_zero(&mut self, dealloc_when_zero: bool) { in set_dealloc_when_zero() 563 pub fn entry_mapped(&self, i: usize) -> Option<bool> { in entry_mapped() 615 copy_on_write: bool, in clone() 747 pub fn present(&self) -> bool { in present() [all …]
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | host_mem.rs | 106 write: bool, in __gfn_to_hva_many() 141 fn hva_to_pfn(addr: u64, _atomic: bool, _writable: &mut bool) -> Result<u64, SystemError> { in hva_to_pfn() 164 atomic: bool, in __gfn_to_pfn() 165 write: bool, in __gfn_to_pfn() 166 writable: &mut bool, in __gfn_to_pfn()
|
/DragonOS/kernel/crates/rust-slabmalloc/src/ |
H A D | pages.rs | 18 fn is_allocated(&self, idx: usize) -> bool; in is_allocated() 21 fn is_full(&self) -> bool; in is_full() 22 fn all_free(&self, relevant_bits: usize) -> bool; in all_free() 95 fn is_allocated(&self, idx: usize) -> bool { in is_allocated() 126 fn is_full(&self) -> bool { in is_full() 138 fn all_free(&self, relevant_bits: usize) -> bool { in all_free() 229 fn is_full(&self) -> bool { in is_full() 234 fn is_empty(&self, relevant_bits: usize) -> bool { in is_empty() 450 pub(crate) fn contains(&mut self, s: *const T) -> bool { in contains()
|
/DragonOS/kernel/src/sched/ |
H A D | prio.rs | 25 pub fn dl_prio(prio: i32) -> bool { in dl_prio() 30 pub fn rt_prio(prio: i32) -> bool { in rt_prio()
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | textui_no_alloc.rs | 23 pub fn textui_init_no_alloc(video_enabled: bool) { in textui_init_no_alloc() 45 is_put_to_window: bool, in no_init_textui_putchar_window()
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | group.rs | 33 update: bool, in do_create_groups() 58 update: bool, in do_create_group() 172 update: bool, in group_create_files()
|