Lines Matching defs:boot
50 NTFS_BOOT_SECTOR boot;
229 NTFS_BOOT_SECTOR boot;
233 uint8 *buf = (uint8*)&boot;
235 // read in the boot sector
236 TRACE("fs_identify_partition: read in the boot sector\n");
237 if (read_pos(fd, 0, (void*)&boot, 512) != 512) {
238 ERROR("fs_identify_partition: couldn't read boot sector\n");
242 // check boot signature
244 ERROR("fs_identify_partition: boot signature doesn't match\n");
248 // check boot signature NTFS
250 ERROR("fs_identify_partition: boot signature NTFS doesn't match\n");
262 memcpy(&cookie->boot, &boot, 512);
287 partition->content_size = sle64_to_cpu(cookie->boot.number_of_sectors)
288 * le16_to_cpu(cookie->boot.bpb.bytes_per_sector);
289 partition->block_size = le16_to_cpu(cookie->boot.bpb.bytes_per_sector);