Lines Matching defs:self

46     fn partial_cmp(&self, other: &Self) -> Option<core::cmp::Ordering> {  in partial_cmp()
53 fn eq(&self, other: &Self) -> bool { in eq()
108 pub fn update_metadata(&mut self) { in update_metadata()
124 fn find(&mut self, name: &str) -> Result<Arc<LockedFATInode>, SystemError> { in find()
351 pub fn get_fat_entry(&self, cluster: Cluster) -> Result<FATEntry, SystemError> { in get_fat_entry()
450 pub fn get_fat_entry_raw(&self, cluster: Cluster) -> Result<u64, SystemError> { in get_fat_entry_raw()
533 pub fn cluster_bytes_offset(&self, cluster: Cluster) -> u64 { in cluster_bytes_offset()
551 pub fn allocate_cluster(&self, prev_cluster: Option<Cluster>) -> Result<Cluster, SystemError> { in allocate_cluster()
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()
703 pub fn get_lba_from_offset(&self, in_partition_sec_offset: u64) -> usize { in get_lba_from_offset()
717 pub fn bytes_to_sector(&self, in_partition_bytes_offset: u64) -> u64 { in bytes_to_sector()
723 pub fn get_in_partition_bytes_offset(&self, disk_bytes_offset: u64) -> u64 { in get_in_partition_bytes_offset()
729 pub fn get_in_block_offset(&self, bytes_offset: u64) -> u64 { in get_in_block_offset()
736 pub fn clusters(&self, start_cluster: Cluster) -> Vec<Cluster> { in clusters()
743 pub fn num_clusters_chain(&self, start_cluster: Cluster) -> u64 { in num_clusters_chain()
751 fn cluster_iter(&self, start_cluster: Cluster) -> ClusterIter { in cluster_iter()
760 pub fn get_cluster_by_relative(&self, start_cluster: Cluster, n: usize) -> Option<Cluster> { in get_cluster_by_relative()
766 pub fn get_last_cluster(&self, start_cluster: Cluster) -> Option<Cluster> { in get_last_cluster()
915 &self, in get_free_cluster()
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()
1184 fn drop(&mut self) { in drop()
1252 pub fn count_free_cluster(&self, max_cluster: Cluster) -> Option<u64> { in count_free_cluster()
1270 pub fn update_free_count_abs(&mut self, new_count: u32) { in update_free_count_abs()
1277 pub fn update_free_count_delta(&mut self, delta: i32) { in update_free_count_delta()
1284 pub fn update_next_free(&mut self, next_free: u32) { in update_next_free()
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()
1356 &self, in read_at()
1384 &self, in write_at()
1422 &self, in create()
1467 fn resize(&self, len: usize) -> Result<(), SystemError> { in resize()
1549 fn find(&self, name: &str) -> Result<Arc<dyn IndexNode>, SystemError> { in find()
1555 fn open(&self, _data: &mut FilePrivateData, _mode: &FileMode) -> Result<(), SystemError> { in open()
1559 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close()
1563 fn unlink(&self, name: &str) -> Result<(), SystemError> { in unlink()
1590 fn rmdir(&self, name: &str) -> Result<(), SystemError> { in rmdir()
1627 fn get_entry_name(&self, ino: InodeId) -> Result<String, SystemError> { in get_entry_name()