Home
last modified time | relevance | path

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

123456789

/DragonOS/kernel/src/driver/input/ps2_dev/
H A 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/kernel/src/arch/x86_64/interrupt/
H A Dmsi.rs17 pub dest_mode_logical: bool,
21 pub active_low: bool,
23 pub is_level_triggered: bool,
55 pub dest_mode_logical: bool,
57 pub redirecti_hint: bool,
59 reserved_1: bool,
73 pub index_15: bool,
75 pub subhandle_valid: bool,
77 pub format: bool,
/DragonOS/kernel/src/libs/
H A Dkeyboard_parser.rs287 let mut col: bool = false; in handle_type3()
353 fn to_ctrl(ch: u8, shift: bool) -> u8 { in to_ctrl()
431 shift_l: bool,
432 shift_r: bool,
434 ctrl_l: bool,
435 ctrl_r: bool,
437 alt_l: bool,
438 alt_r: bool,
440 gui_l: bool,
441 gui_r: bool,
[all …]
H A Dcpumask.rs69 pub fn set(&mut self, cpu: ProcessorId, value: bool) -> Option<bool> { in set() argument
73 pub fn get(&self, cpu: ProcessorId) -> Option<bool> { in get() argument
77 pub fn is_empty(&self) -> bool { in is_empty() argument
128 set: bool,
129 begin: bool,
/DragonOS/kernel/src/exception/
H A Dirqdata.rs93 pub fn is_level_type(&self) -> bool { in is_level_type() argument
103 pub fn is_wakeup_set(&self) -> bool { in is_wakeup_set() argument
237 pub fn masked(&self) -> bool { in masked() argument
266 pub fn disabled(&self) -> bool { in disabled() argument
430 pub fn is_level_type(&self) -> bool { in is_level_type() argument
441 pub fn is_level_high(&self) -> Option<bool> { in is_level_high() argument
449 pub fn is_per_cpu_devid(&self) -> bool { in is_per_cpu_devid() argument
519 pub const fn is_set_affinity_pending(&self) -> bool { in is_set_affinity_pending() argument
523 pub const fn is_per_cpu(&self) -> bool { in is_per_cpu() argument
527 pub const fn can_balance(&self) -> bool { in can_balance() argument
[all …]
H A 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
H A Dirqchip.rs76 fn can_mask_ack(&self) -> bool; in can_mask_ack() argument
93 fn can_set_affinity(&self) -> bool; in can_set_affinity() argument
103 _force: bool, in irq_set_affinity() argument
116 fn can_set_flow_type(&self) -> bool; in can_set_flow_type() argument
132 fn irq_set_wake(&self, _irq_data: &Arc<IrqData>, _on: bool) -> Result<(), SystemError> { in irq_set_wake()
185 ) -> Result<bool, SystemError> { in irqchip_state() argument
194 _state: bool, in set_irqchip_state() argument
274 wake_enabled: bool,
276 wake_active: bool,
390 is_chained: bool, in __irq_set_handler() argument
[all …]
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/
H A 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
57 fn(vcpu: &mut VmxVcpu, gpa: u64, error_code: u32, prefault: bool) -> Result<(), SystemError>;
106 prefault: bool, in tdp_page_fault() argument
208 _map_writable: bool, in __direct_map() argument
[all …]
/DragonOS/kernel/src/driver/tty/
H A Dconsole.rs16 init: bool, in con_init() argument
102 _blink: bool, in con_build_attr() argument
103 _underline: bool, in con_build_attr() argument
104 _reverse: bool, in con_build_attr() argument
105 _italic: bool, in con_build_attr() argument
133 ) -> bool; in con_scroll() argument
/DragonOS/kernel/crates/bitmap/src/
H A 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 {
219 fn get(&self, index: usize) -> Option<bool>; in get() argument
233 fn set(&mut self, index: usize, value: bool) -> Option<bool>; in set() argument
236 fn set_all(&mut self, value: bool); in set_all() argument
302 fn is_full(&self) -> bool; in is_full() argument
305 fn is_empty(&self) -> bool; in is_empty() argument
H A Dstatic_bitmap.rs44 fn get(&self, index: usize) -> Option<bool> { in get() argument
49 fn set(&mut self, index: usize, value: bool) -> Option<bool> { in set() argument
109 fn is_full(&self) -> bool { in is_full() argument
114 fn is_empty(&self) -> bool { in is_empty() argument
126 fn set_all(&mut self, value: bool) { in set_all() argument
H A Dalloc_bitmap.rs33 fn get(&self, index: usize) -> Option<bool> { in get() argument
38 fn set(&mut self, index: usize, value: bool) -> Option<bool> { in set() argument
98 fn is_full(&self) -> bool { in is_full() argument
103 fn is_empty(&self) -> bool { in is_empty() argument
115 fn set_all(&mut self, value: bool) { in set_all() argument
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A 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
346 level_triggered: bool, in new() argument
347 active_high: bool, in new() argument
348 dest_logic: bool, in new() argument
349 mask: bool, in new() argument
374 level_triggered: bool,
[all …]
H A 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/kernel/src/arch/x86_64/mm/
H A Dpkru.rs29 pub fn pkru_allows_pkey(pkey: u16, write: bool) -> bool { in pkru_allows_pkey() argument
42 pub fn pkru_allows_read(pkru: u32, pkey: u16) -> bool { in pkru_allows_read() argument
47 pub fn pkru_allows_write(pkru: u32, pkey: u16) -> bool { in pkru_allows_write() argument
/DragonOS/kernel/src/driver/video/console/
H A Ddummycon.rs48 _blink: bool, in con_build_attr() argument
49 _underline: bool, in con_build_attr() argument
50 _reverse: bool, in con_build_attr() argument
51 _italic: bool, in con_build_attr() argument
59 init: bool, in con_init() argument
132 ) -> bool { in con_scroll() argument
/DragonOS/kernel/src/init/
H A Dcmdline.rs42 default_bool: bool,
43 inv: bool,
63 pub const fn default_bool(mut self, default_bool: bool) -> Self { in default_bool()
68 pub const fn inv(mut self, inv: bool) -> Self { in inv()
125 pub fn value_bool(&self) -> Option<bool> { in value_bool() argument
144 pub fn is_arg(&self) -> bool { in is_arg() argument
148 pub fn is_kv(&self) -> bool { in is_kv() argument
152 pub fn is_early_kv(&self) -> bool { in is_early_kv() argument
171 value: bool,
172 initialized: bool,
[all …]
/DragonOS/kernel/crates/intertrait/src/cast/
H A 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/kernel/src/driver/input/serio/i8042/
H A Di8042_device.rs57 pdev_id_auto: bool,
97 fn is_dead(&self) -> bool { in is_dead() argument
101 fn can_match(&self) -> bool { in can_match() argument
105 fn set_can_match(&self, _can_match: bool) {} in set_can_match() argument
107 fn state_synced(&self) -> bool { in state_synced() argument
187 fn set_pdev_id_auto(&self, id_auto: bool) { in set_pdev_id_auto() argument
191 fn is_initialized(&self) -> bool { in is_initialized() argument
/DragonOS/kernel/src/mm/
H A Dpage.rs77 pub fn contains(&self, paddr: &PhysAddr) -> bool { in contains() argument
223 pub fn page_writeback(page: &Arc<Page>, unmap: bool) { in page_writeback() argument
314 pub fn new(shared: bool, phys_addr: PhysAddr) -> Self { in new() argument
336 shared: bool,
338 free_when_zero: bool,
353 pub fn new(shared: bool, phys_addr: PhysAddr) -> Self { in new() argument
381 pub fn can_deallocate(&self) -> bool { in can_deallocate() argument
385 pub fn shared(&self) -> bool { in shared() argument
422 pub fn set_dealloc_when_zero(&mut self, dealloc_when_zero: bool) { in set_dealloc_when_zero() argument
563 pub fn entry_mapped(&self, i: usize) -> Option<bool> { in entry_mapped() argument
[all …]
/DragonOS/kernel/src/driver/pci/
H A Ddev_id.rs44 pub fn match_dev(&self, dev: &Arc<dyn PciDevice>) -> bool { in match_dev() argument
57 pub fn general_match(&self, id: PciDeviceID) -> bool { in general_match() argument
69 pub fn class_check(&self, id: &Self) -> bool { in class_check() argument
102 pub fn match_dev(&self, data: Option<Self>) -> bool { in match_dev() argument
/DragonOS/kernel/src/virt/kvm/
H A Dhost_mem.rs106 write: bool, in __gfn_to_hva_many() argument
141 fn hva_to_pfn(addr: u64, _atomic: bool, _writable: &mut bool) -> Result<u64, SystemError> { in hva_to_pfn() argument
164 atomic: bool, in __gfn_to_pfn() argument
165 write: bool, in __gfn_to_pfn() argument
166 writable: &mut bool, in __gfn_to_pfn() argument
/DragonOS/kernel/src/driver/base/device/
H A Ddd.rs47 pub fn device_attach(&self, dev: &Arc<dyn Device>) -> Result<bool, SystemError> { in device_attach() argument
51 pub fn device_initial_probe(&self, dev: &Arc<dyn Device>) -> Result<bool, SystemError> { in device_initial_probe() argument
59 allow_async: bool, in do_device_attach() argument
60 ) -> Result<bool, SystemError> { in do_device_attach() argument
151 ) -> Result<bool, SystemError> { in do_device_attach_driver() argument
189 pub fn device_is_bound(&self, dev: &Arc<dyn Device>) -> bool { in device_is_bound() argument
247 check_async: bool,
259 want_async: bool,
263 have_async: bool,
267 pub fn new(dev: Arc<dyn Device>, check_async: bool, want_async: bool) -> Self { in new() argument
[all …]
/DragonOS/build-scripts/kernel_build/src/kconfig/
H A 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/kernel/src/ipc/
H A Dsignal.rs20 interruptible: bool, in signal_pending_state() argument
21 task_wake_kill: bool, in signal_pending_state() argument
23 ) -> bool { in signal_pending_state() argument
36 pub fn fatal_signal_pending(pcb: &Arc<ProcessControlBlock>) -> bool { in fatal_signal_pending() argument
220 fn wants_signal(&self, pcb: Arc<ProcessControlBlock>) -> bool { in wants_signal() argument
249 fn sig_fatal(&self, pcb: Arc<ProcessControlBlock>) -> bool { in sig_fatal() argument
272 fn prepare_sianal(&self, pcb: Arc<ProcessControlBlock>, _force: bool) -> bool { in prepare_sianal() argument
313 fn signal_wake_up(pcb: Arc<ProcessControlBlock>, _guard: SpinLockGuard<SignalStruct>, fatal: bool) { in signal_wake_up() argument
363 pub fn flush_signal_handlers(pcb: Arc<ProcessControlBlock>, force_default: bool) { in flush_signal_handlers() argument

123456789