/DragonOS-0.1.8/kernel/src/libs/ |
D | notifier.rs | 32 ) -> Result<(), SystemError> { in register() 64 pub fn unregister(&mut self, block: Arc<dyn NotifierBlock<T>>) -> Result<(), SystemError> { in unregister() 106 pub fn register(&mut self, block: Arc<dyn NotifierBlock<T>>) -> Result<(), SystemError> { in register() 114 ) -> Result<(), SystemError> { in register_unique_prio() 119 pub fn unregister(&mut self, block: Arc<dyn NotifierBlock<T>>) -> Result<(), SystemError> { in unregister() 144 pub fn register(&mut self, block: Arc<dyn NotifierBlock<T>>) -> Result<(), SystemError> { in register() 152 ) -> Result<(), SystemError> { in register_unique_prio() 157 pub fn unregister(&mut self, block: Arc<dyn NotifierBlock<T>>) -> Result<(), SystemError> { in unregister() 181 pub fn register(&mut self, block: Arc<dyn NotifierBlock<T>>) -> Result<(), SystemError> { in register() 185 pub fn unregister(&mut self, block: Arc<dyn NotifierBlock<T>>) -> Result<(), SystemError> { in unregister()
|
D | vec_cursor.rs | 101 pub fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), SystemError> { in read_exact() 113 pub fn read_u16_into(&mut self, buf: &mut [u16]) -> Result<(), SystemError> { in read_u16_into() 216 pub fn write_exact(&mut self, buf: &[u8]) -> Result<(), SystemError> { in write_exact()
|
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/ |
D | class.rs | 25 pub fn sys_class_unregister(class_name: &str) -> Result<(), SystemError> { in sys_class_unregister() 62 ) -> Result<(), SystemError> { in class_device_unregister()
|
D | devices.rs | 25 pub fn sys_device_unregister(device_name: &str) -> Result<(), SystemError> { in sys_device_unregister()
|
D | fs.rs | 25 pub fn fs_unregister(fs_name: &str) -> Result<(), SystemError> { in fs_unregister()
|
/DragonOS-0.1.8/kernel/src/driver/net/ |
D | mod.rs | 22 fn poll(&self, sockets: &mut iface::SocketSet) -> Result<(), SystemError>; in poll() 24 fn update_ip_addrs(&self, ip_addrs: &[wire::IpCidr]) -> Result<(), SystemError>; in update_ip_addrs()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | mount.rs | 126 fn open(&self, data: &mut FilePrivateData, mode: &FileMode) -> Result<(), SystemError> { in open() 130 fn close(&self, data: &mut FilePrivateData) -> Result<(), SystemError> { in close() 146 fn truncate(&self, len: usize) -> Result<(), SystemError> { in truncate() 191 fn set_metadata(&self, metadata: &super::Metadata) -> Result<(), SystemError> { in set_metadata() 196 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() 215 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() 221 fn unlink(&self, name: &str) -> Result<(), SystemError> { in unlink() 233 fn rmdir(&self, name: &str) -> Result<(), SystemError> { in rmdir() 252 ) -> Result<(), SystemError> { in move_()
|
D | mod.rs | 93 fn open(&self, _data: &mut FilePrivateData, _mode: &FileMode) -> Result<(), SystemError> { in open() 102 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() 159 fn set_metadata(&self, _metadata: &Metadata) -> Result<(), SystemError> { in set_metadata() 171 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() 221 fn link(&self, _name: &str, _other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() 232 fn unlink(&self, _name: &str) -> Result<(), SystemError> { in unlink() 243 fn rmdir(&self, _name: &str) -> Result<(), SystemError> { in rmdir() 262 ) -> Result<(), SystemError> { in move_() 333 fn truncate(&self, _len: usize) -> Result<(), SystemError> { in truncate() 338 fn sync(&self) -> Result<(), SystemError> { in sync()
|
/DragonOS-0.1.8/kernel/src/filesystem/devfs/ |
D | mod.rs | 102 ) -> Result<(), SystemError> { in register_device() 153 ) -> Result<(), SystemError> { in unregister_device() 248 pub fn add_dir(&self, name: &str) -> Result<(), SystemError> { in add_dir() 265 pub fn add_dev(&self, name: &str, dev: Arc<dyn IndexNode>) -> Result<(), SystemError> { in add_dev() 276 pub fn remove(&self, name: &str) -> Result<(), SystemError> { in remove() 347 ) -> Result<(), SystemError> { in open() 351 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), SystemError> { in close() 447 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata() 523 pub fn devfs_register<T: DeviceINode>(name: &str, device: Arc<T>) -> Result<(), SystemError> { in devfs_register() 529 pub fn devfs_unregister<T: DeviceINode>(name: &str, device: Arc<T>) -> Result<(), SystemError> { in devfs_unregister()
|
D | null_dev.rs | 72 fn open(&self, _data: &mut FilePrivateData, _mode: &FileMode) -> Result<(), SystemError> { in open() 76 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() 92 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
|
D | zero_dev.rs | 72 fn open(&self, _data: &mut FilePrivateData, _mode: &FileMode) -> Result<(), SystemError> { in open() 76 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() 92 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
|
/DragonOS-0.1.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 283 pub fn register_pid(&self, pid: i64) -> Result<(), SystemError> { in register_pid() 305 pub fn unregister_pid(&self, pid: i64) -> Result<(), SystemError> { in unregister_pid() 324 fn open(&self, data: &mut FilePrivateData, _mode: &FileMode) -> Result<(), SystemError> { in open() 347 fn close(&self, data: &mut FilePrivateData) -> Result<(), SystemError> { in close() 449 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata() 461 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() 528 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() 559 fn unlink(&self, name: &str) -> Result<(), SystemError> { in unlink() 584 ) -> Result<(), SystemError> { in move_() 668 pub fn procfs_register_pid(pid: pid_t) -> Result<(), SystemError> { in procfs_register_pid() [all …]
|
/DragonOS-0.1.8/kernel/src/net/ |
D | mod.rs | 92 fn connect(&mut self, endpoint: Endpoint) -> Result<(), SystemError>; in connect() 101 fn bind(&mut self, _endpoint: Endpoint) -> Result<(), SystemError> { in bind() 112 fn shutdown(&self, _type: ShutdownType) -> Result<(), SystemError> { in shutdown() 121 fn listen(&mut self, _backlog: usize) -> Result<(), SystemError> { in listen() 198 ) -> Result<(), SystemError> { in setsockopt() 228 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt()
|
D | net_core.rs | 22 fn run(&mut self) -> Result<(), SystemError> { in run() 137 pub fn poll_ifaces_try_lock(times: u16) -> Result<(), SystemError> { in poll_ifaces_try_lock()
|
/DragonOS-0.1.8/kernel/src/smp/ |
D | mod.rs | 11 pub fn kick_cpu(cpu_id: usize) -> Result<(), SystemError> { in kick_cpu()
|
/DragonOS-0.1.8/kernel/src/driver/base/device/ |
D | bus.rs | 177 pub fn bus_register<T: Bus>(bus: Arc<T>) -> Result<(), DeviceError> { in bus_register() 192 pub fn bus_unregister<T: Bus>(bus: Arc<T>) -> Result<(), DeviceError> { in bus_unregister() 200 pub fn bus_driver_register<T: BusDriver>(bus_driver: Arc<T>) -> Result<(), DriverError> { in bus_driver_register() 209 pub fn bus_driver_unregister<T: BusDriver>(bus_driver: Arc<T>) -> Result<(), DriverError> { in bus_driver_unregister()
|
D | driver.rs | 127 pub fn driver_register<T: Driver>(driver: Arc<T>) -> Result<(), DriverError> { in driver_register() 136 pub fn driver_unregister<T: Driver>(driver: Arc<T>) -> Result<(), DriverError> { in driver_unregister()
|
/DragonOS-0.1.8/kernel/src/driver/base/platform/ |
D | platform_driver.rs | 14 fn probe(&self, device: Arc<dyn PlatformDevice>) -> Result<(), DriverError>; in probe()
|
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/ |
D | mod.rs | 208 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata() 220 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() 282 fn link(&self, name: &str, other: &Arc<dyn IndexNode>) -> Result<(), SystemError> { in link() 313 fn unlink(&self, name: &str) -> Result<(), SystemError> { in unlink() 336 fn rmdir(&self, name: &str) -> Result<(), SystemError> { in rmdir() 359 ) -> Result<(), SystemError> { in move_()
|
/DragonOS-0.1.8/kernel/src/process/ |
D | process.rs | 123 pub fn init_files(&mut self) -> Result<(), SystemError> { in init_files() 145 ) -> Result<(), SystemError> { in copy_files() 170 pub fn exit_files(&mut self) -> Result<(), SystemError> { in exit_files() 260 pub fn drop_fd(&self, fd: i32) -> Result<(), SystemError> { in drop_fd()
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 78 fn open(&self, _data: &mut FilePrivateData, _mode: &FileMode) -> Result<(), SystemError> { in open() 82 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() 98 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | tty_device.rs | 78 pub fn check_rw_param(&self, len: usize, buf: &[u8]) -> Result<(), SystemError> { in check_rw_param() 120 fn open(&self, data: &mut FilePrivateData, mode: &FileMode) -> Result<(), SystemError> { in open() 232 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() 236 fn sync(&self) -> Result<(), SystemError> { in sync()
|
/DragonOS-0.1.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 127 ) -> Result<(), SystemError> { in open() 141 ) -> Result<(), SystemError> { in close() 160 fn set_metadata(&self, metadata: &Metadata) -> Result<(), SystemError> { in set_metadata()
|
/DragonOS-0.1.8/kernel/src/driver/base/char/ |
D | mod.rs | 31 fn open(&self, file: Arc<dyn IndexNode>) -> Result<(), SystemError>; in open() 36 fn close(&self, file: Arc<dyn IndexNode>) -> Result<(), SystemError>; in close() 246 ) -> Result<(), SystemError> { in __unregister_chardev_region()
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 599 pub fn deallocate_cluster_chain(&self, start_cluster: Cluster) -> Result<(), SystemError> { in deallocate_cluster_chain() 610 pub fn deallocate_cluster(&self, cluster: Cluster) -> Result<(), SystemError> { in deallocate_cluster() 819 pub fn set_shut_bit_ok(&mut self) -> Result<(), SystemError> { in set_shut_bit_ok() 842 pub fn set_hard_error_bit_ok(&mut self) -> Result<(), SystemError> { in set_hard_error_bit_ok() 860 pub fn umount(&mut self) -> Result<(), SystemError> { in umount() 1041 pub fn set_entry(&self, cluster: Cluster, fat_entry: FATEntry) -> Result<(), SystemError> { in set_entry() 1171 pub fn zero_cluster(&self, cluster: Cluster) -> Result<(), SystemError> { in zero_cluster() 1301 pub fn flush(&self, partition: &Arc<Partition>) -> Result<(), SystemError> { in flush() 1330 pub fn update(&mut self, partition: Arc<Partition>) -> Result<(), SystemError> { in update() 1467 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize() [all …]
|