Home | History | Annotate | Download | only in fatblock

Lines Matching refs:bs

165 	struct fat_boot_sector *bs;
184 bs = &fs->boot;
186 strpadcpy(bs->name, "FATBLOCK", ' ', sizeof(bs->name));
187 bs->sector_size = htole16(sector_size);
188 bs->sectors_per_cluster = sectors_per_cluster;
189 bs->reserved_sectors = htole16(reserved_sectors);
190 bs->fats = 1;
191 bs->media_desc = FAT_MEDIA_DESC_FIXED;
193 bs->sectors_per_track = htole16(42);
194 bs->heads = htole16(42);
195 bs->sectors32 = htole32(total_sectors);
196 bs->fat_sectors32 = htole32(fat_sectors);
197 /* bs->rootdir_start will be set later. */
198 bs->fs_info_sector = htole16(1);
199 bs->backup_boot_sector = htole16(2);
200 bs->phys_drive = FAT_PHYS_DRIVE_REMOVABLE;
201 bs->ext_boot_sig = FAT_EXT_BOOT_SIG;
202 bs->serial = 0x42424242;
203 strpadcpy(bs->vol_label, "FATBLOCK", ' ', sizeof(bs->vol_label));
204 strpadcpy(bs->type, "FAT32", ' ', sizeof(bs->type));
205 memcpy(bs->boot_sig, FAT_BOOT_SIG, sizeof(bs->boot_sig));