Home
last modified time | relevance | path

Searched refs:store (Results 1 – 25 of 50) 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.rs286 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 Dverifier.rs99 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 Dattr.rs69 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 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/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/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/crates/ida/src/
H A Dlib.rs91 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 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/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()
H A Dfork.rs508 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 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/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.rs171 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 Dserial8250_pio.rs147 self.initialized.store(false, Ordering::SeqCst); in init()
252 self.baudrate.store(baud, Ordering::SeqCst); in set_divisor()

12