Lines Matching defs:magic
65 uint8_t magic[8];
80 uint8_t magic[8];
288 if (memcmp(vs->type.fat32.magic, "MSWIN", 5) == 0)
289 goto magic;
291 if (memcmp(vs->type.fat32.magic, "FAT32 ", 8) == 0)
292 goto magic;
294 if (memcmp(vs->type.fat.magic, "FAT16 ", 8) == 0)
295 goto magic;
297 if (memcmp(vs->type.fat.magic, "MSDOS", 5) == 0)
298 goto magic;
300 if (memcmp(vs->type.fat.magic, "FAT12 ", 8) == 0)
301 goto magic;
303 /* some old floppies don't have a magic, expect the boot jump address to match */
308 magic: