Searched refs:cluster (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 351 pub fn get_fat_entry(&self, cluster: Cluster) -> Result<FATEntry, SystemError> { in get_fat_entry() 352 let current_cluster = cluster.cluster_num; in get_fat_entry() 365 fat_type.get_fat_bytes_offset(cluster, fat_start_sector, bytes_per_sec); in get_fat_entry() 450 pub fn get_fat_entry_raw(&self, cluster: Cluster) -> Result<u64, SystemError> { in get_fat_entry_raw() 451 let current_cluster = cluster.cluster_num; in get_fat_entry_raw() 460 fat_type.get_fat_bytes_offset(cluster, fat_start_sector, bytes_per_sec); in get_fat_entry_raw() 533 pub fn cluster_bytes_offset(&self, cluster: Cluster) -> u64 { in cluster_bytes_offset() 534 if cluster.cluster_num >= 2 { in cluster_bytes_offset() 536 let first_sec_of_cluster = (cluster.cluster_num - 2) in cluster_bytes_offset() 610 pub fn deallocate_cluster(&self, cluster: Cluster) -> Result<(), SystemError> { in deallocate_cluster() [all …]
|
D | bpb.rs | 165 cluster: Cluster, in get_fat_bytes_offset() 169 let current_cluster = cluster.cluster_num; in get_fat_bytes_offset()
|
D | entry.rs | 1338 pub fn set_first_cluster(&mut self, cluster: Cluster) { in set_first_cluster() 1339 self.fst_clus_lo = (cluster.cluster_num & 0x0000ffff) as u16; in set_first_cluster() 1340 self.fst_clus_hi = ((cluster.cluster_num & 0xffff0000) >> 16) as u16; in set_first_cluster() 1568 Ok((cluster, offset, result)) => { in next() 1569 self.current_cluster = cluster; in next()
|