Home
last modified time | relevance | path

Searched refs:bool (Results 1 – 25 of 147) sorted by relevance

123456

/DragonOS-0.1.9/kernel/src/driver/input/ps2_dev/
Dmod.rs11 pub outbuf_full: bool,
16 pub inbuf_full: bool,
21 pub system_flag: bool,
26 pub command_data: bool,
31 pub unknown1: bool,
36 pub unknown2: bool,
40 pub timeout_error: bool,
45 pub parity_error: bool,
/DragonOS-0.1.9/kernel/src/arch/x86_64/interrupt/
Dmsi.rs17 pub dest_mode_logical: bool,
21 pub active_low: bool,
23 pub is_level_triggered: bool,
54 pub dest_mode_logical: bool,
56 pub redirecti_hint: bool,
58 reserved_1: bool,
72 pub index_15: bool,
74 pub subhandle_valid: bool,
76 pub format: bool,
/DragonOS-0.1.9/kernel/src/exception/
Dirqdata.rs79 pub fn is_level_type(&self) -> bool { in is_level_type() argument
89 pub fn is_wakeup_set(&self) -> bool { in is_wakeup_set() argument
220 pub fn masked(&self) -> bool { in masked() argument
249 pub fn disabled(&self) -> bool { in disabled() argument
401 pub fn is_level_type(&self) -> bool { in is_level_type() argument
411 pub fn is_level_high(&self) -> Option<bool> { in is_level_high() argument
419 pub fn is_per_cpu_devid(&self) -> bool { in is_per_cpu_devid() argument
487 pub const fn is_set_affinity_pending(&self) -> bool { in is_set_affinity_pending() argument
491 pub const fn is_per_cpu(&self) -> bool { in is_per_cpu() argument
495 pub const fn can_balance(&self) -> bool { in can_balance() argument
[all …]
Ddummychip.rs45 fn can_mask_ack(&self) -> bool { in can_mask_ack() argument
53 fn can_set_affinity(&self) -> bool { in can_set_affinity() argument
57 fn can_set_flow_type(&self) -> bool { in can_set_flow_type() argument
94 fn can_mask_ack(&self) -> bool { in can_mask_ack() argument
102 fn can_set_flow_type(&self) -> bool { in can_set_flow_type() argument
106 fn can_set_affinity(&self) -> bool { in can_set_affinity() argument
Dirqchip.rs74 fn can_mask_ack(&self) -> bool; in can_mask_ack() argument
91 fn can_set_affinity(&self) -> bool; in can_set_affinity() argument
101 _force: bool, in irq_set_affinity() argument
114 fn can_set_flow_type(&self) -> bool; in can_set_flow_type() argument
129 fn irq_set_wake(&self, _irq: &Arc<IrqData>, _on: bool) -> Result<(), SystemError> { in irq_set_wake()
182 ) -> Result<bool, SystemError> { in irqchip_state() argument
191 _state: bool, in set_irqchip_state() argument
271 wake_enabled: bool,
273 wake_active: bool,
390 is_chained: bool, in __irq_set_handler() argument
[all …]
Dirqdesc.rs215 pub fn in_sysfs(&self) -> bool { in in_sysfs() argument
225 pub fn can_request(&self) -> bool { in can_request() argument
239 pub fn nested_thread(&self) -> bool { in nested_thread() argument
244 pub fn can_thread(&self) -> bool { in can_thread() argument
378 pub fn can_request(&self) -> bool { in can_request() argument
410 pub fn nested_thread(&self) -> bool { in nested_thread() argument
437 pub fn can_autoenable(&self) -> bool { in can_autoenable() argument
441 pub fn can_thread(&self) -> bool { in can_thread() argument
446 pub fn can_set_affinity(&self) -> bool { in can_set_affinity() argument
787 pub fn test_and_set_bit(&mut self, bit: ThreadedHandlerFlags) -> bool { in test_and_set_bit() argument
[all …]
/DragonOS-0.1.9/kernel/src/arch/x86_64/kvm/vmx/
Dmmu.rs33 cr4_pae: bool, // cr4.pae,1 表示使用 64bit gpte
36 direct: bool,
39 invalid: bool, // 失效,一旦 unpin 就会被销毁
40 nxe: bool, // efer.nxe,不可执行
41 cr0_wp: bool, // cr0.wp, 写保护
42 smep_andnot_wp: bool, // smep && !cr0.wp,SMEP启用,用户模式代码将无法执行位于内核地址空间中的指令。
43 smap_andnot_wp: bool, // smap && !cr0.wp
70 prefault: bool,
112 prefault: bool, in tdp_page_fault() argument
213 _map_writable: bool, in __direct_map() argument
[all …]
/DragonOS-0.1.9/kernel/src/libs/
Dkeyboard_parser.rs276 let mut col: bool = false; in handle_type3()
420 shift_l: bool,
421 shift_r: bool,
423 ctrl_l: bool,
424 ctrl_r: bool,
426 alt_l: bool,
427 alt_r: bool,
429 gui_l: bool,
430 gui_r: bool,
432 apps: bool,
[all …]
Dcpumask.rs52 pub fn set(&mut self, cpu: ProcessorId, value: bool) -> Option<bool> { in set() argument
56 pub fn get(&self, cpu: ProcessorId) -> Option<bool> { in get() argument
60 pub fn is_empty(&self) -> bool { in is_empty() argument
86 set: bool,
/DragonOS-0.1.9/kernel/src/driver/tty/
Dconsole.rs10 fn con_init(&self, vc_data: &mut VirtualConsoleData, init: bool) -> Result<(), SystemError>; in con_init()
93 _blink: bool, in con_build_attr() argument
94 _underline: bool, in con_build_attr() argument
95 _reverse: bool, in con_build_attr() argument
96 _italic: bool, in con_build_attr() argument
124 ) -> bool; in con_scroll() argument
/DragonOS-0.1.9/kernel/crates/bitmap/src/
Dtraits.rs7 fn get(bits: &Self, index: usize) -> bool; in get() argument
8 fn set(bits: &mut Self, index: usize, value: bool) -> bool; in set() argument
33 fn get(bits: &Self, index: usize) -> bool {
38 fn set(bits: &mut Self, index: usize, value: bool) -> bool {
224 fn get(&self, index: usize) -> Option<bool>; in get() argument
238 fn set(&mut self, index: usize, value: bool) -> Option<bool>; in set() argument
241 fn set_all(&mut self, value: bool); in set_all() argument
307 fn is_full(&self) -> bool; in is_full() argument
310 fn is_empty(&self) -> bool; in is_empty() argument
Dalloc_bitmap.rs25 fn get(&self, index: usize) -> Option<bool> { in get() argument
30 fn set(&mut self, index: usize, value: bool) -> Option<bool> { in set() argument
90 fn is_full(&self) -> bool { in is_full() argument
95 fn is_empty(&self) -> bool { in is_empty() argument
107 fn set_all(&mut self, value: bool) { in set_all() argument
Dstatic_bitmap.rs35 fn get(&self, index: usize) -> Option<bool> { in get() argument
40 fn set(&mut self, index: usize, value: bool) -> Option<bool> { in set() argument
100 fn is_full(&self) -> bool { in is_full() argument
105 fn is_empty(&self) -> bool { in is_empty() argument
117 fn set_all(&mut self, value: bool) { in set_all() argument
/DragonOS-0.1.9/kernel/src/arch/x86_64/driver/apic/
Dioapic.rs201 level_triggered: bool, in install() argument
202 active_high: bool, in install() argument
203 dest_logic: bool, in install() argument
204 mut mask: bool, in install() argument
272 pub fn pending(&mut self, irq: u8) -> bool { in pending() argument
344 level_triggered: bool, in new() argument
345 active_high: bool, in new() argument
346 dest_logic: bool, in new() argument
347 mask: bool, in new() argument
372 level_triggered: bool,
[all …]
Dmod.rs47 fn support() -> bool; in support()
53 fn init_current_cpu(&mut self) -> bool; in init_current_cpu() argument
62 fn support_eoi_broadcast_suppression(&self) -> bool; in support_eoi_broadcast_suppression() argument
232 pub fn set_interrupt_input_pin_polarity(&mut self, high: bool) { in set_interrupt_input_pin_polarity() argument
244 pub fn interrupt_input_pin_polarity(&self) -> bool { in interrupt_input_pin_polarity() argument
294 pub fn set_mask(&mut self, mask: bool) { in set_mask() argument
305 pub fn mask(&self) -> bool { in mask() argument
452 pub fn x2apic_enabled(&self) -> bool { in x2apic_enabled() argument
480 fn support() -> bool { in support()
484 fn init_current_cpu(&mut self) -> bool { in init_current_cpu() argument
[all …]
/DragonOS-0.1.9/kernel/src/libs/intertrait/src/cast/
Dcast_ref.rs60 fn impls<T: ?Sized + 'static>(&self) -> bool; in impls() argument
73 fn impls<T: ?Sized + 'static>(&self) -> bool { in impls() argument
79 fn impls<T: ?Sized + 'static>(&self) -> bool { in impls() argument
/DragonOS-0.1.9/kernel/src/driver/input/serio/i8042/
Di8042_device.rs61 pdev_id_auto: bool,
93 fn is_dead(&self) -> bool { in is_dead() argument
97 fn can_match(&self) -> bool { in can_match() argument
101 fn set_can_match(&self, _can_match: bool) {} in set_can_match() argument
103 fn state_synced(&self) -> bool { in state_synced() argument
175 fn set_pdev_id_auto(&self, id_auto: bool) { in set_pdev_id_auto() argument
183 fn is_initialized(&self) -> bool { in is_initialized() argument
/DragonOS-0.1.9/kernel/src/mm/
Dpage.rs121 pub fn entry_mapped(&self, i: usize) -> Option<bool> { in entry_mapped() argument
239 pub fn present(&self) -> bool { in present() argument
279 pub fn from_prot_flags(prot_flags: ProtFlags, user: bool) -> PageFlags<Arch> { in from_prot_flags()
309 pub fn new_page_table(user: bool) -> Self { in new_page_table()
342 pub fn update_flags(mut self, flag: usize, value: bool) -> Self { in update_flags()
353 pub fn has_flag(&self, flag: usize) -> bool { in has_flag() argument
358 pub fn present(&self) -> bool { in present() argument
367 pub fn set_user(self, value: bool) -> Self { in set_user()
373 pub fn has_user(&self) -> bool { in has_user() argument
386 pub fn set_write(self, value: bool) -> Self { in set_write()
[all …]
/DragonOS-0.1.9/kernel/src/virt/kvm/
Dhost_mem.rs108 write: bool, in __gfn_to_hva_many() argument
143 fn hva_to_pfn(addr: u64, _atomic: bool, _writable: &mut bool) -> Result<u64, SystemError> { in hva_to_pfn() argument
166 atomic: bool, in __gfn_to_pfn() argument
167 write: bool, in __gfn_to_pfn() argument
168 writable: &mut bool, in __gfn_to_pfn() argument
/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() argument
50 pub fn device_initial_probe(&self, dev: &Arc<dyn Device>) -> Result<bool, SystemError> { in device_initial_probe() argument
58 allow_async: bool, in do_device_attach() argument
59 ) -> Result<bool, SystemError> { in do_device_attach() argument
147 ) -> Result<bool, SystemError> { in do_device_attach_driver() argument
187 pub fn device_is_bound(&self, dev: &Arc<dyn Device>) -> bool { in device_is_bound() argument
244 check_async: bool,
256 want_async: bool,
260 have_async: bool,
264 pub fn new(dev: Arc<dyn Device>, check_async: bool, want_async: bool) -> Self { in new() argument
[all …]
/DragonOS-0.1.9/build-scripts/kernel_build/src/kconfig/
Dmod.rs154 enable: bool,
158 pub fn new(name: String, path: PathBuf, enable: bool) -> Module { in new()
170 pub fn enable(&self) -> bool { in enable() argument
180 enable: bool,
184 pub fn new(name: String, enable: bool) -> Feature { in new()
192 pub fn enable(&self) -> bool { in enable() argument
/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() argument
68 fn is_initialized(&self) -> bool; in is_initialized() argument
159 fn is_initialized(&self) -> bool { in is_initialized() argument
306 fn is_dead(&self) -> bool { in is_dead() argument
314 fn can_match(&self) -> bool { in can_match() argument
318 fn set_can_match(&self, _can_match: bool) { in set_can_match() argument
322 fn state_synced(&self) -> bool { in state_synced() argument
/DragonOS-0.1.9/kernel/src/driver/tty/virtual_terminal/
Dvirtual_console.rs79 pub color_mode: bool,
99 pub display_ctrl: bool,
101 pub toggle_meta: bool,
103 pub screen_mode: bool,
105 pub origin_mode: bool,
107 pub autowrap: bool,
109 pub cursor_visible: bool,
113 pub insert_mode: bool,
117 pub need_wrap: bool,
121 pub utf: bool,
[all …]
/DragonOS-0.1.9/kernel/src/sched/
Dcompletion.rs29 fn do_wait_for_common(&self, mut timeout: i64, interuptible: bool) -> Result<i64, SystemError> { in do_wait_for_common()
112 pub fn try_wait_for_completion(&mut self) -> bool { in try_wait_for_completion() argument
128 pub fn completion_done(&self) -> bool { in completion_done() argument
/DragonOS-0.1.9/kernel/src/driver/irqchip/
Driscv_intc.rs50 fn can_mask_ack(&self) -> bool { in can_mask_ack() argument
69 fn can_set_affinity(&self) -> bool { in can_set_affinity() argument
73 fn can_set_flow_type(&self) -> bool { in can_set_flow_type() argument

123456