Home
last modified time | relevance | path

Searched refs:_data (Results 1 – 25 of 34) sorted by relevance

12

/DragonOS/kernel/src/arch/riscv64/
H A Dpio.rs22 unsafe fn out8(_port: u16, _data: u8) { in out8()
27 unsafe fn out16(_port: u16, _data: u16) { in out16()
32 unsafe fn out32(_port: u16, _data: u32) { in out32()
H A Dlink.ld49 _data = .; symbol
/DragonOS/kernel/src/filesystem/sysfs/
H A Dfile.rs290 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open()
313 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll()
322 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open()
337 _data: KernCallbackData, in write()
345 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll()
354 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open()
360 _data: KernCallbackData, in read()
377 fn poll(&self, _data: KernCallbackData) -> Result<PollStatus, SystemError> { in poll()
386 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open()
392 _data: KernCallbackData, in read()
[all …]
/DragonOS/kernel/src/bpf/prog/
H A Dmod.rs48 fn open(&self, _data: SpinLockGuard<FilePrivateData>, _mode: &FileMode) -> Result<()> { in open()
51 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<()> { in close()
59 _data: SpinLockGuard<FilePrivateData>, in read_at()
69 _data: SpinLockGuard<FilePrivateData>, in write_at()
/DragonOS/kernel/src/virt/kvm/
H A Dkvm_dev.rs95 _data: SpinLockGuard<FilePrivateData>, in open()
98 debug!("file private data:{:?}", _data); in open()
102 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
167 _data: SpinLockGuard<FilePrivateData>, in read_at()
178 _data: SpinLockGuard<FilePrivateData>, in write_at()
H A Dvcpu_dev.rs103 _data: SpinLockGuard<FilePrivateData>, in open()
106 debug!("file private data:{:?}", _data); in open()
110 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
203 _data: SpinLockGuard<FilePrivateData>, in read_at()
214 _data: SpinLockGuard<FilePrivateData>, in write_at()
H A Dvm_dev.rs101 _data: SpinLockGuard<FilePrivateData>, in open()
104 debug!("file private data:{:?}", _data); in open()
108 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
199 _data: SpinLockGuard<FilePrivateData>, in read_at()
210 _data: SpinLockGuard<FilePrivateData>, in write_at()
/DragonOS/kernel/src/filesystem/devfs/
H A Dnull_dev.rs77 _data: SpinLockGuard<FilePrivateData>, in open()
83 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
117 _data: SpinLockGuard<FilePrivateData>, in read_at()
128 _data: SpinLockGuard<FilePrivateData>, in write_at()
H A Dzero_dev.rs77 _data: SpinLockGuard<FilePrivateData>, in open()
83 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
117 _data: SpinLockGuard<FilePrivateData>, in read_at()
136 _data: SpinLockGuard<FilePrivateData>, in write_at()
H A Dmod.rs400 _data: SpinLockGuard<FilePrivateData>, in open()
406 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
492 _data: usize, in ioctl()
542 _data: SpinLockGuard<FilePrivateData>, in read_at()
554 _data: SpinLockGuard<FilePrivateData>, in write_at()
/DragonOS/kernel/src/filesystem/devpts/
H A Dmod.rs148 _data: SpinLockGuard<FilePrivateData>, in open()
161 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
171 _data: SpinLockGuard<FilePrivateData>, in read_at()
181 _data: SpinLockGuard<FilePrivateData>, in write_at()
221 _data: usize, in create_with_data()
/DragonOS/kernel/src/driver/keyboard/
H A Dps2_keyboard.rs122 _data: SpinLockGuard<FilePrivateData>, in read_at()
132 _data: SpinLockGuard<FilePrivateData>, in write_at()
139 _data: SpinLockGuard<FilePrivateData>, in open()
145 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
/DragonOS/kernel/src/perf/
H A Dmod.rs110 fn open(&self, _data: SpinLockGuard<FilePrivateData>, _mode: &FileMode) -> Result<()> { in open()
113 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<()> { in close()
121 _data: SpinLockGuard<FilePrivateData>, in read_at()
131 _data: SpinLockGuard<FilePrivateData>, in write_at()
182 _data: &FilePrivateData, in kernel_ioctl()
H A Dkprobe.rs91 _data: SpinLockGuard<FilePrivateData>, in read_at()
101 _data: SpinLockGuard<FilePrivateData>, in write_at()
/DragonOS/kernel/src/filesystem/vfs/
H A Dmod.rs137 _data: SpinLockGuard<FilePrivateData>, in open()
148 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
167 _data: SpinLockGuard<FilePrivateData>, in read_at()
184 _data: SpinLockGuard<FilePrivateData>, in write_at()
257 _data: usize, in create_with_data()
355 _data: usize, in ioctl()
365 _data: &FilePrivateData, in kernel_ioctl()
/DragonOS/kernel/src/arch/riscv64/pci/
H A Dmod.rs24 fn write_config(_bus_device_function: &BusDeviceFunction, _offset: u8, _data: u32) { in write_config()
/DragonOS/kernel/src/filesystem/
H A Deventfd.rs90 _data: SpinLockGuard<FilePrivateData>, in open()
96 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
230 _data: &FilePrivateData, in kernel_ioctl()
/DragonOS/kernel/src/filesystem/kernfs/
H A Dmod.rs160 _data: SpinLockGuard<FilePrivateData>, in open()
172 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
194 _data: usize, in create_with_data()
281 _data: usize, in ioctl()
323 _data: SpinLockGuard<FilePrivateData>, in read_at()
367 _data: SpinLockGuard<FilePrivateData>, in write_at()
/DragonOS/kernel/src/driver/block/cache/
H A Dcached_block_device.rs184 _data: &[u8], in immediate_write()
211 pub fn _write(&mut self, _addr: CacheBlockAddr, _data: CacheBlock) -> Option<()> { in _write()
264 pub fn _write(&mut self, _addr: CacheBlockAddr, _data: CacheBlock) -> Option<()> { in _write()
/DragonOS/kernel/src/mm/
H A Dmm.h113 extern char _data;
/DragonOS/kernel/src/driver/video/fbdev/base/
H A Dfbmem.rs398 _data: SpinLockGuard<FilePrivateData>, in open()
404 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
412 _data: SpinLockGuard<FilePrivateData>, in read_at()
423 _data: SpinLockGuard<FilePrivateData>, in write_at()
/DragonOS/kernel/src/arch/x86_64/
H A Dlink.lds47 _data = .; symbol
/DragonOS/kernel/src/bpf/map/
H A Dmod.rs135 fn open(&self, _data: SpinLockGuard<FilePrivateData>, _mode: &FileMode) -> Result<()> { in open()
138 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<()> { in close()
146 _data: SpinLockGuard<FilePrivateData>, in read_at()
156 _data: SpinLockGuard<FilePrivateData>, in write_at()
/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs495 _data: u8, in write()
594 _data: SpinLockGuard<FilePrivateData>, in open()
602 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
613 _data: SpinLockGuard<FilePrivateData>, in read_at()
632 _data: SpinLockGuard<FilePrivateData>, in write_at()
/DragonOS/kernel/src/filesystem/ramfs/
H A Dmod.rs157 _data: Option<&dyn FileSystemMakerData>, in make_ramfs()
188 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close()
194 _data: SpinLockGuard<FilePrivateData>, in open()
205 _data: SpinLockGuard<FilePrivateData>, in read_at()
237 _data: SpinLockGuard<FilePrivateData>, in write_at()

12