Lines Matching refs:fbs
387 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()
402 fsbi->bootsector_bak_sector_addr_infat = fbs->BPB_BkBootSec; in fat32_read_superblock()
406 fbs->BPB_FSInfo, fbs->BPB_BkBootSec, fbs->BPB_TotSec32); in fat32_read_superblock()
441 finode->first_clus = fbs->BPB_RootClus; in fat32_read_superblock()