Lines Matching refs:sector
75 … uint64_t sector = __fat32_calculate_LBA(fsbi->first_data_sector, fsbi->sec_per_clus, cluster); in __fat32_search_long_short() local
80 …blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, sector, fsbi->sec_per_clus, (uin… in __fat32_search_long_short()
614 uint64_t sector = fsbi->first_data_sector + (cluster - 2) * fsbi->sec_per_clus; in fat32_read() local
617 …int errno = blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, sector, fsbi->sec_pe… in fat32_read()
699 uint64_t sector; in fat32_write() local
706 sector = fsbi->first_data_sector + (cluster - 2) * fsbi->sec_per_clus; // 计算对应的扇区 in fat32_write()
711 …int errno = blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, sector, fsbi->sec_pe… in fat32_write()
734 …int errno = blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_WRITE_DMA_EXT, sector, fsbi->sec_p… in fat32_write()
1059 uint64_t sector = fsbi->first_data_sector + (new_dir_clus - 2) * fsbi->sec_per_clus; in fat32_mkdir() local
1061 …blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_WRITE_DMA_EXT, sector, fsbi->sec_per_clus, (ui… in fat32_mkdir()
1188 uint64_t sector = fsbi->first_data_sector + (cluster - 2) * fsbi->sec_per_clus; in fat32_readdir() local
1191 … if (AHCI_SUCCESS != blk->bd_disk->fops->transfer(blk->bd_disk, AHCI_CMD_READ_DMA_EXT, sector, in fat32_readdir()