/DragonOS/kernel/src/arch/riscv64/ |
H A D | pio.rs | 22 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 D | link.ld | 49 _data = .; symbol
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | file.rs | 290 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 D | mod.rs | 48 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 D | kvm_dev.rs | 95 _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 D | vcpu_dev.rs | 103 _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 D | vm_dev.rs | 101 _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 D | null_dev.rs | 77 _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 D | zero_dev.rs | 77 _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 D | mod.rs | 400 _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 D | mod.rs | 148 _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 D | ps2_keyboard.rs | 122 _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 D | mod.rs | 110 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 D | kprobe.rs | 91 _data: SpinLockGuard<FilePrivateData>, in read_at() 101 _data: SpinLockGuard<FilePrivateData>, in write_at()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | mod.rs | 137 _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 D | mod.rs | 24 fn write_config(_bus_device_function: &BusDeviceFunction, _offset: u8, _data: u32) { in write_config()
|
/DragonOS/kernel/src/filesystem/ |
H A D | eventfd.rs | 90 _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 D | mod.rs | 160 _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 D | cached_block_device.rs | 184 _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 D | mm.h | 113 extern char _data;
|
/DragonOS/kernel/src/driver/video/fbdev/base/ |
H A D | fbmem.rs | 398 _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 D | link.lds | 47 _data = .; symbol
|
/DragonOS/kernel/src/bpf/map/ |
H A D | mod.rs | 135 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 D | ps_mouse_device.rs | 495 _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 D | mod.rs | 157 _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()
|