Home
last modified time | relevance | path

Searched defs:bool (Results 1 – 25 of 117) sorted by relevance

12345

/DragonOS-0.1.9/kernel/src/exception/
Dirqdata.rs79 pub fn is_level_type(&self) -> bool { in is_level_type()
89 pub fn is_wakeup_set(&self) -> bool { in is_wakeup_set()
220 pub fn masked(&self) -> bool { in masked()
249 pub fn disabled(&self) -> bool { in disabled()
401 pub fn is_level_type(&self) -> bool { in is_level_type()
411 pub fn is_level_high(&self) -> Option<bool> { in is_level_high()
419 pub fn is_per_cpu_devid(&self) -> bool { in is_per_cpu_devid()
487 pub const fn is_set_affinity_pending(&self) -> bool { in is_set_affinity_pending()
491 pub const fn is_per_cpu(&self) -> bool { in is_per_cpu()
495 pub const fn can_balance(&self) -> bool { in can_balance()
[all …]
Ddummychip.rs45 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()
Dirqdesc.rs215 pub fn in_sysfs(&self) -> bool { in in_sysfs()
225 pub fn can_request(&self) -> bool { in can_request()
239 pub fn nested_thread(&self) -> bool { in nested_thread()
244 pub fn can_thread(&self) -> bool { in can_thread()
378 pub fn can_request(&self) -> bool { in can_request()
410 pub fn nested_thread(&self) -> bool { in nested_thread()
437 pub fn can_autoenable(&self) -> bool { in can_autoenable()
441 pub fn can_thread(&self) -> bool { in can_thread()
446 pub fn can_set_affinity(&self) -> bool { in can_set_affinity()
787 pub fn test_and_set_bit(&mut self, bit: ThreadedHandlerFlags) -> bool { in test_and_set_bit()
[all …]
/DragonOS-0.1.9/kernel/src/libs/intertrait/src/cast/
Dcast_ref.rs60 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-0.1.9/kernel/src/arch/x86_64/driver/apic/
Dioapic.rs201 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()
344 level_triggered: bool, in new()
345 active_high: bool, in new()
346 dest_logic: bool, in new()
347 mask: bool, in new()
428 fn register_handler(desc: &Arc<IrqDesc>, level_triggered: bool) { in register_handler()
[all …]
Dmod.rs53 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()
546 fn support_eoi_broadcast_suppression(&self) -> bool { in support_eoi_broadcast_suppression()
Dx2apic.rs22 fn init_current_cpu(&mut self) -> bool { in init_current_cpu()
78 fn support_eoi_broadcast_suppression(&self) -> bool { in support_eoi_broadcast_suppression()
/DragonOS-0.1.9/kernel/crates/bitmap/src/
Dstatic_bitmap.rs35 fn get(&self, index: usize) -> Option<bool> { in get()
40 fn set(&mut self, index: usize, value: bool) -> Option<bool> { in set()
100 fn is_full(&self) -> bool { in is_full()
105 fn is_empty(&self) -> bool { in is_empty()
117 fn set_all(&mut self, value: bool) { in set_all()
Dalloc_bitmap.rs25 fn get(&self, index: usize) -> Option<bool> { in get()
30 fn set(&mut self, index: usize, value: bool) -> Option<bool> { in set()
90 fn is_full(&self) -> bool { in is_full()
95 fn is_empty(&self) -> bool { in is_empty()
107 fn set_all(&mut self, value: bool) { in set_all()
Dtraits.rs7 fn get(bits: &Self, index: usize) -> bool; in get()
8 fn set(bits: &mut Self, index: usize, value: bool) -> bool; in set()
224 fn get(&self, index: usize) -> Option<bool>; in get()
238 fn set(&mut self, index: usize, value: bool) -> Option<bool>; in set()
241 fn set_all(&mut self, value: bool); in set_all()
307 fn is_full(&self) -> bool; in is_full()
310 fn is_empty(&self) -> bool; in is_empty()
Dbitmap_core.rs18 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()
250 pub(crate) fn is_empty(&self, data: &[T]) -> bool { in is_empty()
/DragonOS-0.1.9/kernel/src/driver/base/device/
Ddd.rs46 pub fn device_attach(&self, dev: &Arc<dyn Device>) -> Result<bool, SystemError> { in device_attach()
50 pub fn device_initial_probe(&self, dev: &Arc<dyn Device>) -> Result<bool, SystemError> { in device_initial_probe()
58 allow_async: bool, in do_device_attach()
59 ) -> Result<bool, SystemError> { in do_device_attach()
147 ) -> Result<bool, SystemError> { in do_device_attach_driver()
187 pub fn device_is_bound(&self, dev: &Arc<dyn Device>) -> bool { in device_is_bound()
264 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()
580 fn driver_is_bound(&self, device: &Arc<dyn Device>) -> bool { in driver_is_bound()
/DragonOS-0.1.9/kernel/src/ipc/
Dsignal.rs190 fn wants_signal(&self, pcb: Arc<ProcessControlBlock>) -> bool { in wants_signal()
227 fn sig_fatal(&self, pcb: Arc<ProcessControlBlock>) -> bool { in sig_fatal()
250 fn prepare_sianal(&self, pcb: Arc<ProcessControlBlock>, _force: bool) -> bool { in prepare_sianal()
291 fn signal_wake_up(pcb: Arc<ProcessControlBlock>, _guard: SpinLockGuard<SignalStruct>, fatal: bool) { in signal_wake_up()
343 pub fn flush_signal_handlers(pcb: Arc<ProcessControlBlock>, force_default: bool) { in flush_signal_handlers()
Dsignal_types.rs125 pub fn is_ignore(&self) -> bool { in is_ignore()
131 pub fn is_customized(&self) -> bool { in is_customized()
160 pub fn is_sig_default(&self) -> bool { in is_sig_default()
167 pub fn is_sig_ignore(&self) -> bool { in is_sig_ignore()
174 pub fn is_sig_error(&self) -> bool { in is_sig_error()
212 pub fn is_ignore(&self) -> bool { in is_ignore()
373 pub fn has_pending(&self) -> bool { in has_pending()
483 pub fn find(&self, sig: Signal) -> (Option<&SigInfo>, bool) { in find() argument
504 pub fn find_and_delete(&mut self, sig: Signal) -> (Option<SigInfo>, bool) { in find_and_delete() argument
/DragonOS-0.1.9/kernel/src/driver/tty/
Dconsole.rs93 _blink: bool, in con_build_attr()
94 _underline: bool, in con_build_attr()
95 _reverse: bool, in con_build_attr()
96 _italic: bool, in con_build_attr()
124 ) -> bool; in con_scroll()
/DragonOS-0.1.9/kernel/src/arch/x86_64/kvm/vmx/
Dmmu.rs112 prefault: bool, in tdp_page_fault()
213 _map_writable: bool, in __direct_map()
217 _prefault: bool, in __direct_map()
237 _prefault: bool, in mmu_gfn_to_pfn_fast()
239 write: bool, in mmu_gfn_to_pfn_fast()
240 writable: &mut bool, in mmu_gfn_to_pfn_fast()
/DragonOS-0.1.9/kernel/src/driver/base/platform/
Dplatform_device.rs55 fn pdev_id(&self) -> (i32, bool) { in pdev_id() argument
62 fn set_pdev_id_auto(&self, id_auto: bool); in set_pdev_id_auto()
68 fn is_initialized(&self) -> bool; in is_initialized()
159 fn is_initialized(&self) -> bool { in is_initialized()
306 fn is_dead(&self) -> bool { in is_dead()
314 fn can_match(&self) -> bool { in can_match()
318 fn set_can_match(&self, _can_match: bool) { in set_can_match()
322 fn state_synced(&self) -> bool { in state_synced()
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/
Di8042_device.rs93 fn is_dead(&self) -> bool { in is_dead()
97 fn can_match(&self) -> bool { in can_match()
101 fn set_can_match(&self, _can_match: bool) {} in set_can_match()
103 fn state_synced(&self) -> bool { in state_synced()
175 fn set_pdev_id_auto(&self, id_auto: bool) { in set_pdev_id_auto()
183 fn is_initialized(&self) -> bool { in is_initialized()
/DragonOS-0.1.9/kernel/src/libs/lib_ui/
Dtextui_no_alloc.rs23 pub fn textui_init_no_alloc(video_enabled: bool) { in textui_init_no_alloc()
37 is_put_to_window: bool, in no_init_textui_putchar_window()
/DragonOS-0.1.9/kernel/src/libs/
Dcpumask.rs52 pub fn set(&mut self, cpu: ProcessorId, value: bool) -> Option<bool> { in set()
56 pub fn get(&self, cpu: ProcessorId) -> Option<bool> { in get()
60 pub fn is_empty(&self) -> bool { in is_empty()
Donce.rs122 pub fn is_completed(&self) -> bool { in is_completed()
176 pub fn is_poisoned(&self) -> bool { in is_poisoned()
/DragonOS-0.1.9/kernel/src/virt/kvm/
Dhost_mem.rs108 write: bool, in __gfn_to_hva_many()
143 fn hva_to_pfn(addr: u64, _atomic: bool, _writable: &mut bool) -> Result<u64, SystemError> { in hva_to_pfn()
166 atomic: bool, in __gfn_to_pfn()
167 write: bool, in __gfn_to_pfn()
168 writable: &mut bool, in __gfn_to_pfn()
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/
Dgroup.rs33 update: bool, in do_create_groups()
58 update: bool, in do_create_group()
173 update: bool, in group_create_files()
/DragonOS-0.1.9/kernel/src/driver/irqchip/
Driscv_intc.rs50 fn can_mask_ack(&self) -> bool { in can_mask_ack()
69 fn can_set_affinity(&self) -> bool { in can_set_affinity()
73 fn can_set_flow_type(&self) -> bool { in can_set_flow_type()
/DragonOS-0.1.9/kernel/src/filesystem/fat/
Dentry.rs397 pub fn is_root(&self) -> bool { in is_root()
509 expect_dir: Option<bool>, in find_entry()
674 expect_dir: Option<bool>, in check_existence()
766 pub fn is_empty(&self, fs: Arc<FATFileSystem>) -> bool { in is_empty()
790 remove_clusters: bool, in remove()
914 pub fn contains(&self, attr: u8) -> bool { in contains()
1036 pub fn is_last(&self) -> bool { in is_last()
1134 pub fn is_dir(&self) -> bool { in is_dir()
1143 pub fn is_file(&self) -> bool { in is_file()
1152 pub fn is_volume_id(&self) -> bool { in is_volume_id()
[all …]

12345