Lines Matching defs:i32
97 pub fn register_device<T: DeviceINode>(&self, name: &str, device: Arc<T>) -> Result<(), i32> { in register_device() argument
138 pub fn unregister_device<T: DeviceINode>(&self, name: &str, device: Arc<T>) -> Result<(), i32> { in unregister_device() argument
233 pub fn add_dir(&self, name: &str) -> Result<(), i32> { in add_dir() argument
250 pub fn add_dev(&self, name: &str, dev: Arc<dyn IndexNode>) -> Result<(), i32> { in add_dev() argument
261 pub fn remove(&self, name: &str) -> Result<(), i32> { in remove() argument
276 _data: usize,) -> Result<Arc<dyn IndexNode>, i32>{ in do_create_with_data() argument
325 fn open(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), i32> { in open() argument
329 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), i32> { in close() argument
339 ) -> Result<Arc<dyn IndexNode>, i32> { in create_with_data() argument
346 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find() argument
371 fn get_entry_name(&self, ino: super::vfs::InodeId) -> Result<String, i32> { in get_entry_name() argument
403 fn ioctl(&self, _cmd: u32, _data: usize) -> Result<usize, i32> { in ioctl() argument
407 fn list(&self) -> Result<Vec<String>, i32> { in list() argument
421 fn metadata(&self) -> Result<Metadata, i32> { in metadata() argument
425 fn set_metadata(&self, metadata: &Metadata) -> Result<(), i32> { in set_metadata() argument
437 fn poll(&self) -> Result<super::vfs::PollStatus, i32> { in poll() argument
458 ) -> Result<usize, i32> { in read_at() argument
469 ) -> Result<usize, i32> { in write_at() argument
502 pub fn devfs_register<T: DeviceINode>(name: &str, device: Arc<T>) -> Result<(), i32> { in devfs_register() argument
508 pub fn devfs_unregister<T: DeviceINode>(name: &str, device: Arc<T>) -> Result<(), i32> { in devfs_unregister() argument