/DragonOS/kernel/src/libs/lib_ui/ |
H A D | textui_no_alloc.rs | 27 TRUE_LINE_NUM.store((height / TEXTUI_CHAR_HEIGHT) as i32, Ordering::SeqCst); in textui_init_no_alloc() 29 CHAR_PER_LINE.store((width / TEXTUI_CHAR_WIDTH) as i32, Ordering::SeqCst); in textui_init_no_alloc() 34 NO_ALLOC_OPERATIONS_INDEX.store(0, Ordering::SeqCst); in next_line() 37 NO_ALLOC_OPERATIONS_LINE.store(0, Ordering::SeqCst); in next_line() 92 NO_ALLOC_OPERATIONS_INDEX.store(0, Ordering::SeqCst); in no_init_textui_putchar_window() 96 NO_ALLOC_OPERATIONS_LINE.store(0, Ordering::SeqCst); in no_init_textui_putchar_window()
|
H A D | screen_manager.rs | 286 SCM_DOUBLE_BUFFER_ENABLED.store(false, Ordering::SeqCst); // 禁用双缓冲 in scm_init() 350 SCM_DOUBLE_BUFFER_ENABLED.store(true, Ordering::SeqCst); in scm_enable_double_buffer()
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | verifier.rs | 99 fn check_registers(insn: &ebpf::Insn, store: bool, insn_ptr: usize) -> Result<(), Error> { in check_registers() 104 match (insn.dst, store) { in check_registers() 119 let mut store = false; in check() localVariable 133 store = true; in check() 145 ebpf::ST_B_IMM => store = true, in check() 146 ebpf::ST_H_IMM => store = true, in check() 147 ebpf::ST_W_IMM => store = true, in check() 148 ebpf::ST_DW_IMM => store = true, in check() 151 ebpf::ST_B_REG => store = true, in check() 152 ebpf::ST_H_REG => store = true, in check() [all …]
|
/DragonOS/kernel/src/driver/pci/ |
H A D | attr.rs | 69 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 100 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 131 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 162 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 193 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 224 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 259 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 302 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbsysfs.rs | 88 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 119 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 147 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 174 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 203 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 235 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 289 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 318 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method
|
/DragonOS/kernel/src/libs/ |
H A D | once.rs | 47 self.inner.store(OnceState::Complete, Ordering::SeqCst); in call_once() 117 self.inner.store(OnceState::Complete, Ordering::SeqCst); in call_once_force()
|
H A D | int_like.rs | 81 pub fn store(&self, val: $new_type_name, order: ::core::sync::atomic::Ordering) { 82 self.container.store(val.into(), order)
|
H A D | spinlock.rs | 163 self.lock.store(false, Ordering::SeqCst); in force_unlock() 167 self.lock.store(false, Ordering::SeqCst); in unlock()
|
H A D | lazy_init.rs | 81 self.initialized.store(true, Ordering::Release); in init()
|
/DragonOS/kernel/src/driver/clocksource/ |
H A D | acpi_pm.rs | 219 PMTMR_IO_PORT.store(pmtmr_addr as u32, Ordering::SeqCst); in find_acpi_pm_clock() 271 PMTMR_IO_PORT.store(0, Ordering::SeqCst); in init_acpi_pm_clocksource() 278 PMTMR_IO_PORT.store(0, Ordering::SeqCst); in init_acpi_pm_clocksource() 286 PMTMR_IO_PORT.store(0, Ordering::SeqCst); in init_acpi_pm_clocksource()
|
/DragonOS/kernel/src/driver/net/ |
H A D | sysfs.rs | 180 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 538 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 580 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 606 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 632 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | mod.rs | 137 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 183 fn store( in store() method
|
/DragonOS/kernel/crates/ida/src/ |
H A D | lib.rs | 91 self.xarray.store(try1 as u64, EmptyIdaItem); in alloc() 101 self.xarray.store(try2 as u64, EmptyIdaItem); in alloc()
|
/DragonOS/kernel/src/driver/base/device/ |
H A D | bus.rs | 610 fn store(&self, kobj: Arc<dyn KObject>, buf: &[u8]) -> Result<usize, SystemError> { in store() method 648 fn store(&self, kobj: Arc<dyn KObject>, buf: &[u8]) -> Result<usize, SystemError> { in store() method 731 fn store( in store() method 737 attr.store(kobj, buf) in store() 753 fn store(&self, kobj: Arc<dyn KObject>, buf: &[u8]) -> Result<usize, SystemError> { in store() method 802 fn store(&self, kobj: Arc<dyn KObject>, buf: &[u8]) -> Result<usize, SystemError> { in store() method
|
/DragonOS/kernel/src/mm/ |
H A D | percpu.rs | 42 CPU_NUM_ATOMIC.store(cpus, core::sync::atomic::Ordering::SeqCst); in init()
|
H A D | kernel_mapper.rs | 137 KERNEL_MAPPER_LOCK_OWNER.store(KERNEL_MAPPER_NO_PROCESSOR, Ordering::Release); in drop()
|
/DragonOS/kernel/src/process/ |
H A D | kthread.rs | 212 .store(KernelThreadCreateStatus::Created, Ordering::SeqCst); in set_create_ok() 253 self.to_mark_sleep.store(to_mark_sleep, Ordering::SeqCst); in set_to_mark_sleep() 474 .store(KernelThreadCreateStatus::ErrorOccured, Ordering::SeqCst); in kthread_daemon()
|
H A D | fork.rs | 508 pcb.exit_signal.store(Signal::INVALID, Ordering::SeqCst); in copy_process() 518 pcb.exit_signal.store( in copy_process() 527 .store(clone_args.exit_signal, Ordering::SeqCst); in copy_process()
|
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | mod.rs | 295 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 318 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method 345 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method
|
/DragonOS/kernel/src/driver/base/ |
H A D | kobject.rs | 159 fn store( in store() method 165 let r = attr.store(kobj, buf).map_err(|e| { in store()
|
H A D | class.rs | 176 fn store( in store() method
|
/DragonOS/docs/kernel/core_api/ |
H A D | softirq.md | 143 self.running.store(false, Ordering::Release);
|
/DragonOS/kernel/src/arch/x86_64/driver/apic/ |
H A D | mod.rs | 494 LOCAL_APIC_ENABLE_TYPE.store(LocalApicEnableType::X2Apic, Ordering::SeqCst); in init_current_cpu() 500 LOCAL_APIC_ENABLE_TYPE.store(LocalApicEnableType::XApic, Ordering::SeqCst); in init_current_cpu()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | file.rs | 171 cursor.store(page.clone()); in add_page() 412 self.offset.store(pos as usize, Ordering::SeqCst); in lseek() 454 self.offset.store(0, Ordering::SeqCst); in readdir()
|
/DragonOS/kernel/src/driver/serial/serial8250/ |
H A D | serial8250_pio.rs | 147 self.initialized.store(false, Ordering::SeqCst); in init() 252 self.baudrate.store(baud, Ordering::SeqCst); in set_divisor()
|