Home
last modified time | relevance | path

Searched refs:fbs (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.2/kernel/src/filesystem/fat32/
Dfat32.c387 struct fat32_BootSector_t *fbs = (struct fat32_BootSector_t *)buf; in fat32_read_superblock() local
393 fsbi->sec_per_clus = fbs->BPB_SecPerClus; in fat32_read_superblock()
394 fsbi->bytes_per_clus = fbs->BPB_SecPerClus * fbs->BPB_BytesPerSec; in fat32_read_superblock()
395 fsbi->bytes_per_sec = fbs->BPB_BytesPerSec; in fat32_read_superblock()
396 …fsbi->first_data_sector = blk->bd_start_LBA + fbs->BPB_RsvdSecCnt + fbs->BPB_FATSz32 * fbs->BPB_Nu… in fat32_read_superblock()
397 fsbi->FAT1_base_sector = blk->bd_start_LBA + fbs->BPB_RsvdSecCnt; in fat32_read_superblock()
398 fsbi->FAT2_base_sector = fsbi->FAT1_base_sector + fbs->BPB_FATSz32; in fat32_read_superblock()
399 fsbi->sec_per_FAT = fbs->BPB_FATSz32; in fat32_read_superblock()
400 fsbi->NumFATs = fbs->BPB_NumFATs; in fat32_read_superblock()
401 fsbi->fsinfo_sector_addr_infat = fbs->BPB_FSInfo; in fat32_read_superblock()
[all …]
/DragonOS-0.1.2/kernel/src/driver/disk/ahci/
Dahci.h227 uint32_t fbs; // 0x40, FIS-based switch control member