Home
last modified time | relevance | path

Searched refs:store (Results 1 – 25 of 46) sorted by relevance

12

/DragonOS/kernel/src/libs/lib_ui/
H A Dtextui_no_alloc.rs27 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 Dscreen_manager.rs283 SCM_DOUBLE_BUFFER_ENABLED.store(false, Ordering::SeqCst); // 禁用双缓冲 in scm_init()
349 SCM_DOUBLE_BUFFER_ENABLED.store(true, Ordering::SeqCst); in scm_enable_double_buffer()
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbsysfs.rs88 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/driver/pci/
H A Dattr.rs60 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method
91 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method
122 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method
153 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method
/DragonOS/kernel/src/libs/
H A Donce.rs47 self.inner.store(OnceState::Complete, Ordering::SeqCst); in call_once()
117 self.inner.store(OnceState::Complete, Ordering::SeqCst); in call_once_force()
H A Dint_like.rs81 pub fn store(&self, val: $new_type_name, order: ::core::sync::atomic::Ordering) {
82 self.container.store(val.into(), order)
H A Dspinlock.rs163 self.lock.store(false, Ordering::SeqCst); in force_unlock()
167 self.lock.store(false, Ordering::SeqCst); in unlock()
H A Dlazy_init.rs81 self.initialized.store(true, Ordering::Release); in init()
/DragonOS/kernel/src/driver/clocksource/
H A Dacpi_pm.rs219 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 Dsysfs.rs180 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/libs/ida/src/
H A Dlib.rs42 self.dead.store(true, Ordering::SeqCst); in alloc()
/DragonOS/kernel/src/filesystem/sysfs/
H A Dmod.rs137 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() method
183 fn store( in store() method
/DragonOS/kernel/src/driver/base/device/
H A Dbus.rs610 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 Dpercpu.rs42 CPU_NUM_ATOMIC.store(cpus, core::sync::atomic::Ordering::SeqCst); in init()
H A Dkernel_mapper.rs137 KERNEL_MAPPER_LOCK_OWNER.store(KERNEL_MAPPER_NO_PROCESSOR, Ordering::Release); in drop()
/DragonOS/kernel/src/driver/serial/serial8250/
H A Dserial8250_pio.rs116 self.initialized.store(false, Ordering::SeqCst); in init()
220 self.baudrate.store(baud, Ordering::SeqCst); in set_divisor()
/DragonOS/kernel/src/process/
H A Dfork.rs466 pcb.exit_signal.store(Signal::INVALID, Ordering::SeqCst); in copy_process()
476 pcb.exit_signal.store( in copy_process()
485 .store(clone_args.exit_signal, Ordering::SeqCst); in copy_process()
H A Dkthread.rs212 .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()
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/
H A Dmod.rs295 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 Dkobject.rs159 fn store( in store() method
165 let r = attr.store(kobj, buf).map_err(|e| { in store()
H A Dclass.rs176 fn store( in store() method
/DragonOS/kernel/src/driver/tty/virtual_terminal/
H A Dmod.rs213 CURRENT_VCNUM.store(tty_core.index() as isize, Ordering::SeqCst); in install()
336 CURRENT_VCNUM.store(0, Ordering::SeqCst); in vty_init()
/DragonOS/docs/kernel/core_api/
H A Dsoftirq.md143 self.running.store(false, Ordering::Release);
/DragonOS/kernel/src/arch/x86_64/driver/apic/
H A Dmod.rs494 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 Dfile.rs163 cursor.store(page.clone()); in add_page()
400 self.offset.store(pos as usize, Ordering::SeqCst); in lseek()
442 self.offset.store(0, Ordering::SeqCst); in readdir()

12