Lines Matching full:sector
49 uint8_t *sector0, *sector; in g_label_msdosfs_taste() local
55 sector = NULL; in g_label_msdosfs_taste()
58 /* Check if the sector size of the medium is a valid FAT sector size. */ in g_label_msdosfs_taste()
66 G_LABEL_DEBUG(1, "MSDOSFS: %s: sector size %d not compatible.", in g_label_msdosfs_taste()
71 /* Load 1st sector with boot sector and boot parameter block. */ in g_label_msdosfs_taste()
76 /* Check for the FAT boot sector signature. */ in g_label_msdosfs_taste()
143 * If the volume label "NO NAME " is in the boot sector, the in g_label_msdosfs_taste()
165 sector = (uint8_t *)g_read_data(cp, offset, in g_label_msdosfs_taste()
167 if (sector == NULL) in g_label_msdosfs_taste()
170 pfat_entry = (FAT_DES *)sector; in g_label_msdosfs_taste()
202 (uint8_t *)(sector + fat_BytesPerSector)); in g_label_msdosfs_taste()
203 g_free(sector); in g_label_msdosfs_taste()
216 g_free(sector); in g_label_msdosfs_taste()