Lines Matching refs:Result
125 fn find(&mut self, name: &str) -> Result<Arc<LockedFATInode>, i32> { in find()
246 pub fn new(partition: Arc<Partition>) -> Result<Arc<FATFileSystem>, i32> { in new()
345 pub fn get_fat_entry(&self, cluster: Cluster) -> Result<FATEntry, i32> { in get_fat_entry()
440 pub fn get_fat_entry_raw(&self, cluster: Cluster) -> Result<u64, i32> { in get_fat_entry_raw()
541 pub fn allocate_cluster(&self, prev_cluster: Option<Cluster>) -> Result<Cluster, i32> { in allocate_cluster()
589 pub fn deallocate_cluster_chain(&self, start_cluster: Cluster) -> Result<(), i32> { in deallocate_cluster_chain() argument
600 pub fn deallocate_cluster(&self, cluster: Cluster) -> Result<(), i32> { in deallocate_cluster() argument
767 pub fn is_shut_bit_ok(&mut self) -> Result<bool, i32> { in is_shut_bit_ok()
790 pub fn is_hard_error_bit_ok(&mut self) -> Result<bool, i32> { in is_hard_error_bit_ok()
809 pub fn set_shut_bit_ok(&mut self) -> Result<(), i32> { in set_shut_bit_ok() argument
832 pub fn set_hard_error_bit_ok(&mut self) -> Result<(), i32> { in set_hard_error_bit_ok() argument
850 pub fn umount(&mut self) -> Result<(), i32> { in umount() argument
908 ) -> Result<Cluster, i32> { in get_free_cluster()
1031 pub fn set_entry(&self, cluster: Cluster, fat_entry: FATEntry) -> Result<(), i32> { in set_entry() argument
1161 pub fn zero_cluster(&self, cluster: Cluster) -> Result<(), i32> { in zero_cluster() argument
1200 ) -> Result<Self, i32> { in new()
1291 pub fn flush(&self, partition: &Arc<Partition>) -> Result<(), i32> { in flush() argument
1320 pub fn update(&mut self, partition: Arc<Partition>) -> Result<(), i32> { in update() argument
1351 ) -> Result<usize, i32> { in read_at()
1379 ) -> Result<usize, i32> { in write_at()
1399 fn poll(&self) -> Result<PollStatus, i32> { in poll()
1418 ) -> Result<Arc<dyn IndexNode>, i32> { in create()
1456 fn metadata(&self) -> Result<Metadata, i32> { in metadata()
1460 fn list(&self) -> Result<Vec<String>, i32> { in list()
1503 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, i32> { in find()
1509 fn open(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in open() argument
1513 fn close(&self, _data: &mut FilePrivateData) -> Result<(), i32> { in close() argument
1517 fn unlink(&self, name: &str) -> Result<(), i32> { in unlink() argument
1545 fn rmdir(&self, name: &str) -> Result<(), i32> { in rmdir() argument
1567 let r: Result<(), i32> = dir.remove(guard.fs.upgrade().unwrap().clone(), name, true); in rmdir()
1581 fn get_entry_name(&self, ino: InodeId) -> Result<String, i32> { in get_entry_name()